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 - [50cat] NullPointerException when editing Ant script
Summary: [50cat] NullPointerException when editing Ant script
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM
: 66192 68905 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-28 03:58 UTC by rrochat
Modified: 2005-11-17 19:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***