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.
NullPointerException was thrown when switching projects. I had couple of ant scripts added to project tab and opened in editor. Cannot reproduce.
Created attachment 10231 [details] exc stack trace
AntProjectDataObject adds this cookie in its constructor; apparently createNodeDelegate is being called before the constructor finishes (!). Probably a consequence of some datasystems bug, e.g. issue #20022. Workaround might to have createNodeDelegate check to make sure the data object is initialized, and if not, wait for it to be (Object.wait() somehow). Or for AntProjectNode to delay adding a change listener to the AntProjectCookie until the first time one of the relevant methods is called (get*Icon, getShortDescription, getCookie, createSheet).
Hardly reproducible, will try to fix in next release.
Doesn't seem to have happened recently?
Haven't seen recently, verified.