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.
Annotation: member: class generics.i18n Annotation: name: generics.i18n 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:1310) at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.access$900(JavaEditor.java:1210) at org.netbeans.modules.java.JavaEditor$12.run(JavaEditor.java:1262) at org.openide.util.Mutex.readAccess(Mutex.java:221) at org.netbeans.modules.java.JavaEditor$11.run(JavaEditor.java:1260) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
I get this too, but with a class that I wrote.
Reassigned to java/editor.
This problem seems to be more related to the Java "loader" module than to the java/editor module. Please note that this module has been rewritten from scratch for NB6.0, so this should not (IMO) happen in NB6.0 anymore.
Yes, it will not occur in nb 6.0. *** This issue has been marked as a duplicate of 73956 ***