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 76135 - ISE "Recursive call to getElementInfo()" after fixing imports
Summary: ISE "Recursive call to getElementInfo()" after fixing imports
Status: RESOLVED DUPLICATE of bug 63732
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-10 01:55 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (11.31 KB, application/x-gzip)
2006-05-10 02:02 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-05-10 01:55:49 UTC
Build 060407.  I created a new module project in /tmp.  I also had the project 
core/swing/tabcontrol open.  I created a class in my module
public class NoTabsTabDisplayerUI extends TabDisplayerUI {

As soon as I fixed the imports, the following exception began being thrown 
again and again:

java.lang.IllegalStateException: Recursive call to getElementInfo()
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElemen
tInfo(SemiPersistentElement.java:202)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getIntern
alForm(SemiPersistentElement.java:849)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree
(MetadataElement.java:515)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getParser
(SemiPersistentElement.java:844)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getFeaturePosition
(ResourceImpl.java:460)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getPosition
(FeatureImpl.java:270)
	at org.netbeans.modules.javacore.JMManager.getElementPosition
(JMManager.java:771)
	at org.netbeans.modules.javacore.JMManager.getElementPosition
(JMManager.java:757)
	at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.findElement
(JavaEditor.java:1342)
	at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.createNode
(JavaEditor.java:1290)
	at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.access$900
(JavaEditor.java:1210)
	at org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1$1.run
(JavaEditor.java:1262)
	at org.openide.util.Mutex.readAccess(Mutex.java:215)
	at org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1.run
(JavaEditor.java:1260)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:514)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:947)
Comment 1 _ tboudreau 2006-05-10 02:01:25 UTC
After restart, the exception is no longer thrown, but code completion of JDK 
classes fails - for example, Fix Imports cannot find java.awt.Rectangle.
Comment 2 _ tboudreau 2006-05-10 02:02:55 UTC
Created attachment 30315 [details]
Log file
Comment 3 Jan Becicka 2006-05-10 09:13:11 UTC

*** This issue has been marked as a duplicate of 63732 ***
Comment 4 Quality Engineering 2007-09-20 12:02:07 UTC
Reorganization of java component