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 75332 - IlegallStateException :cannot map class member to source hierarchy element
Summary: IlegallStateException :cannot map class member to source hierarchy element
Status: VERIFIED DUPLICATE of bug 73956
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 11:52 UTC by pzajac
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (1.42 KB, text/plain)
2006-04-21 11:53 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2006-04-21 11:52:06 UTC
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)
Comment 1 pzajac 2006-04-21 11:53:33 UTC
Created attachment 29975 [details]
exception
Comment 2 pzajac 2006-04-21 11:57:53 UTC
I had to restart IDE because the exception  was thrown many times during editing
code in editor.   
Comment 3 Jan Pokorsky 2006-11-18 14:08:18 UTC

*** This issue has been marked as a duplicate of 73956 ***
Comment 4 pzajac 2007-01-10 13:40:00 UTC
v