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.
The exception was during switching java documents in editor. Annotation: member: class com.sun.unittest.TestIssue Annotation: name: com.sun.unittest.TestIssue Annotation: class org.netbeans.jmi.javamodel.JavaClass$Impl java.lang.IllegalStateException: cannot map class member to source hierarchy element at org.netbeans.modules.java.ui.nodes.BridgeUtils.throwIllegalState(BridgeUtils.java:195) at org.netbeans.modules.java.ui.nodes.BridgeUtils.chooseElement(BridgeUtils.java:184) at org.netbeans.modules.java.ui.nodes.BridgeUtils.getElement(BridgeUtils.java:121) at org.netbeans.modules.java.ui.nodes.BridgeUtils.getClassElement(BridgeUtils.java:52) at org.netbeans.modules.java.ui.nodes.BridgeUtils.getElement(BridgeUtils.java:156) at org.netbeans.modules.java.ui.nodes.BridgeElement2Source.createMethodNode(BridgeElement2Source.java:37) at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.createNode(JavaEditor.java:1316) at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.access$900(JavaEditor.java:1216) at org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1$1.run(JavaEditor.java:1268) at org.openide.util.Mutex.readAccess(Mutex.java:221) at org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1.run(JavaEditor.java:1266) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Created attachment 29975 [details] exception
I had to restart IDE because the exception was thrown many times during editing code in editor.
*** This issue has been marked as a duplicate of 73956 ***
v