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 129529 - NullPointerException at org.netbeans.modules.web.struts.StrutsConfigUtilities.getConfigFilesFO
Summary: NullPointerException at org.netbeans.modules.web.struts.StrutsConfigUtilities...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Struts (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ potingwu
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-07 11:26 UTC by _ alexlamsl
Modified: 2008-03-11 18:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 20431


Attachments
stacktrace (1.15 KB, text/plain)
2008-03-07 11:26 UTC, _ alexlamsl
Details
stacktrace (1.15 KB, text/plain)
2008-03-11 12:57 UTC, _ alexlamsl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ alexlamsl 2008-03-07 11:26:41 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows 2000, 5.0, x86

User Comments: 
expanding "Configuration Files" node in a Web Project with struts-config.xml
Comment 1 _ alexlamsl 2008-03-07 11:26:46 UTC
Created attachment 57967 [details]
stacktrace
Comment 2 _ potingwu 2008-03-10 18:30:17 UTC
Looks like a race-condition here that the WebModule is still not available when you did the UI action. Hence got the NPE.
Comment 3 _ alexlamsl 2008-03-10 20:15:12 UTC
That is indeed possible - I have been bumping into quite a few (somewhat minor) issues already with race conditions 
since I'm using a network drive for my .netbeans and TEMP directories...
Comment 4 _ alexlamsl 2008-03-11 12:57:29 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803050202)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows 2000, 5.0, x86

User Comments: 
opening tiles-definitions.xml after opening struts-config.xml
Comment 5 _ alexlamsl 2008-03-11 12:57:33 UTC
Created attachment 58144 [details]
stacktrace
Comment 6 _ potingwu 2008-03-11 18:17:50 UTC
Fix in the 6.1 trunk.

changeset 20bed4a62a6a in main
details: http://hg.netbeans.org/main?cmd=changeset;node=20bed4a62a6a