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.
I hope this is the right module, I'm not really sure where to put it, but it happend during normal editor use. *********** Exception occurred ************ at 8:47 PM on Sep 22, 2004 java.lang.NullPointerException at org.openide.src.nodes.SourceChildren.addKeysOfType(SourceChildren.java:315) at org.openide.src.nodes.SourceChildren.refreshAllKeys(SourceChildren.java:292) at org.openide.src.nodes.SourceChildren.refreshKeys(SourceChildren.java:278) at org.openide.src.nodes.SourceChildren.access$200(SourceChildren.java:47) at org.openide.src.nodes.SourceChildren$1.run(SourceChildren.java:341) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Full log will be attached..
Created attachment 17811 [details] ide log
Looks like a problem in nodes. Honzo, please evaluate.
*** Issue 49437 has been marked as a duplicate of this issue. ***
Not in nodes but in the src bridge. Dane how is it possible that SourceElement.getAllClasses() or SourceElement.getClasses() return null as element of the array? It breaks the api contract.
It does not seem that it can occur in the src bridge, but, inspecting the code of SourceElement implementation in the clazz module, I have found that null in array can possibly be returned by getClasses and getAllClasses there - it is fixed now. Since I am not sure whether the fix covers your case (it is not related to "normal editor use" so much), feel free to reopen the issue if you encounter the exception again. Also, if it is reliably reproducible, describe steps how to do it. fixed by: /cvs/clazz/src/org/netbeans/modules/clazz/SourceElementImpl.java,v <-- SourceElementImpl.java new revision: 1.32; previous revision: 1.31
*** Issue 50036 has been marked as a duplicate of this issue. ***
*** Issue 50721 has been marked as a duplicate of this issue. ***
*** Issue 51407 has been marked as a duplicate of this issue. ***
*** Issue 52352 has been marked as a duplicate of this issue. ***
*** Issue 52746 has been marked as a duplicate of this issue. ***
Reorganization of java component