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 62728 - Exception fetching code completion
Summary: Exception fetching code completion
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: 2005-08-20 22:34 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 _ tboudreau 2005-08-20 22:34:19 UTC
I have a JPanel created in the form editor.  I have just added a dependency on another project to this 
project, and I have changed the class signature to extend otherproject.SomePanel instead of JPanel.

I try to get completion to override a method, by typing "val[CTRL-ENTER]" in between methods.  The 
following exception is thrown:

java.lang.IllegalStateException: Recursive call to getElementInfo()
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersisten
tElement.java:201)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getInternalForm(SemiPersiste
ntElement.java:829)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:
509)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getParser(SemiPersistentElem
ent.java:824)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.initCheck(ResourceImpl.java:
1415)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl$ErrorList.size(ResourceImpl.java:1435)
	at java.util.AbstractList$Itr.hasNext(AbstractList.java:415)
	at org.netbeans.modules.java.hints.JavaHintsProvider.getHints(JavaHintsProvider.java:94)
	at org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java:
221)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 Martin Roskanin 2005-08-22 16:44:55 UTC
reassigning to java module
Comment 2 Martin Matula 2005-08-22 16:52:46 UTC
There should be additional debug info preceeding this exception (in the
messages.log). Possibly starting with something like "Info is null for ...".
Could you please attach the whole messages log?
Comment 3 Milan Kubec 2005-11-01 13:23:03 UTC
Tim, do you still have requested information? Could you provide it?
Comment 4 _ tboudreau 2005-11-01 14:13:18 UTC
Sorry, too long ago, I don't have any log for it now.
Comment 5 Jan Becicka 2005-11-28 13:31:28 UTC

*** This issue has been marked as a duplicate of 63732 ***
Comment 6 Quality Engineering 2007-09-20 10:47:54 UTC
Reorganization of java component