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 85946 - java.lang.IllegalStateException: cannot map class member to source hierarchy element
Summary: java.lang.IllegalStateException: cannot map class member to source hierarchy ...
Status: RESOLVED DUPLICATE of bug 73956
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 18:48 UTC by dpawson
Modified: 2007-09-26 09:14 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 dpawson 2006-09-27 18:48:41 UTC
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)
Comment 1 nivek98 2006-11-09 04:06:08 UTC
I get this too, but with a class that I wrote.
Comment 2 Marian Petras 2007-01-15 14:51:39 UTC
Reassigned to java/editor.
Comment 3 Jan Lahoda 2007-01-15 18:55:18 UTC
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.
Comment 4 Jan Pokorsky 2007-01-15 19:24:03 UTC
Yes, it will not occur in nb 6.0.

*** This issue has been marked as a duplicate of 73956 ***