This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235568 - NullPointerException at org.netbeans.modules.web.project.WebActionProvider.areIncludesModified
Summary: NullPointerException at org.netbeans.modules.web.project.WebActionProvider.ar...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2013-09-05 15:22 UTC by Vladimir Riha
Modified: 2013-09-08 20:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203614


Attachments
stacktrace (3.64 KB, text/plain)
2013-09-05 15:22 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-09-05 15:22:57 UTC
Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: Java HotSpot(TM) Client VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Linux

User Comments:
vriha: compiling invalid JSP file (see issue 235566)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.project.WebActionProvider.areIncludesModified(WebActionProvider.java:676)
   at org.netbeans.modules.web.project.WebActionProvider.getTargetNames(WebActionProvider.java:403)
   at org.netbeans.modules.java.api.common.project.BaseActionProvider$1Action.doRun(BaseActionProvider.java:484)
   at org.netbeans.modules.java.api.common.project.BaseActionProvider$1Action.run(BaseActionProvider.java:465)
   at org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:672)
   at org.netbeans.spi.project.support.LookupProviderSupport$MergedActionProvider.invokeAction(LookupProviderSupport.java:271)
Comment 1 Vladimir Riha 2013-09-05 15:22:59 UTC
Created attachment 139713 [details]
stacktrace
Comment 2 Vladimir Riha 2013-09-05 15:51:57 UTC
Happens only with JDK7u40 and 7.3.1, just like issue 235566, only this one happens when some one tries to compile broken JSP file. I'm not sure if this should be > P3 as it could be related to/consequence of 235566.
Comment 3 David Konecny 2013-09-05 21:55:28 UTC
Could you try to reproduce it on 7.4 FCS? I cannot match stacktrace to code properly because code changed a lot since then and looking into history of file does not help much either. Thx.
Comment 4 Vladimir Riha 2013-09-06 07:32:03 UTC
No, it works in 7.4 RC1. I've found it when testing NB731&JDK7u40 bundle so considering it is JDK related not bundle related (the same happens with non-bundled JDK7u40), I guess it could be closed. I'm sorry for false alarm.



Product Version: NetBeans IDE 7.4 RC1 (Build 201309040918)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 5 David Konecny 2013-09-08 20:56:14 UTC
Like resolve by now.