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 65235

Summary: [50cat] NullPointerException when editing Ant script
Product: projects Reporter: rrochat <rrochat>
Component: AntAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description rrochat 2005-09-28 03:58:22 UTC
[ BUILD # : 200509251800 ]
[ JDK VERSION : 1.5.0_05 ]

I haven't been able to reproduce it, but here's the stacktrace: 

[org.apache.tools.ant.module] *********** Exception occurred ************ at 4:28 PM on Sep 27, 2005
java.lang.NullPointerException
	at org.openide.nodes.Children$Keys.setKeys(Children.java:1971)
	at org.apache.tools.ant.module.nodes.AntProjectChildren.refreshKeys(AntProjectChildren.java:78)
	at org.apache.tools.ant.module.nodes.AntProjectChildren.stateChanged(AntProjectChildren.java:92)
[catch] at org.apache.tools.ant.module.xml.AntProjectSupport$ChangeFirer.run(AntProjectSupport.java:384)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 Jesse Glick 2005-09-30 02:11:20 UTC
Probably a race condition. Assuming rare; code has not been changed in a long
time and this is the first report I know of.
Comment 2 Jesse Glick 2005-10-01 00:28:43 UTC
Hope this fixes it:

committed     Up-To-Date  1.9        
ant/src/org/apache/tools/ant/module/nodes/AntProjectChildren.java
Comment 3 Jesse Glick 2005-10-07 21:51:50 UTC
*** Issue 66192 has been marked as a duplicate of this issue. ***
Comment 4 Jesse Glick 2005-11-17 19:22:59 UTC
*** Issue 68905 has been marked as a duplicate of this issue. ***