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 189633

Summary: NullPointerException at org.netbeans.modules.web.project.WebActionProvider.areIncludesModified
Product: javaee Reporter: Martin Schovanek <mschovanek>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED FIXED    
Severity: normal CC: pjiricka, rnovak
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171483
Attachments: stacktrace

Description Martin Schovanek 2010-08-18 12:32:20 UTC
Build: NetBeans IDE Dev (Build 201008180001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-10M3065
OS: Mac OS X

User Comments:
mschovanek: Just invoked 'Compile File' action on a .jsp




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.project.WebActionProvider.areIncludesModified(WebActionProvider.java:653)
   at org.netbeans.modules.web.project.WebActionProvider.getTargetNames(WebActionProvider.java:359)
   at org.netbeans.modules.java.api.common.project.BaseActionProvider$1Action.run(BaseActionProvider.java:414)
   at org.netbeans.modules.java.api.common.project.BaseActionProvider.invokeAction(BaseActionProvider.java:555)
   at org.netbeans.modules.project.ui.actions.FileCommandAction.actionPerformed(FileCommandAction.java:108)
   at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:170)
Comment 1 Martin Schovanek 2010-08-18 12:32:26 UTC
Created attachment 101485 [details]
stacktrace
Comment 3 Martin Schovanek 2010-08-18 15:16:32 UTC
Reproducible manually as well by invoking 'Compile File' action on a .jsp
Comment 4 David Konecny 2010-08-18 23:19:48 UTC
868eab640245
I wonder if this is a side effect of TSlota's 791374ea9edc and whether there is a deeper problem which is just manifested by this null value.
Comment 5 sunburned 2010-08-19 14:09:32 UTC
This bug is definitely NOT FIXED.  I just downloaded and installed netbeans-trunk-nightly-201008190001-linux.sh, tried compiling an existing valid jsp and immediately received the NullPointerException.

I have reported this bug via netbeans.
Comment 6 Petr Jiricka 2010-08-19 14:23:24 UTC
This fix is not a part of build 20100819, it was not propagated to this build. Please try the next daily build or the latest continuous build from the web-main repository: http://bertram.netbeans.org/hudson/job/web-main/ and reopen if you can still reproduce using these builds. Thanks.
Comment 7 Sergey Petrov 2010-08-19 14:26:22 UTC
as http://hg.netbeans.org/web-main/rev/868eab640245 have proper commit message,
there should be automatic comment regarding propagation to nightly build, it may take 1-2 days usually.