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 60161 - (hints) exception pasting code
Summary: (hints) exception pasting code
Status: RESOLVED DUPLICATE of bug 60183
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-16 16:05 UTC by athompson
Modified: 2005-09-05 10:01 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 athompson 2005-06-16 16:05:27 UTC
jdk-1.5
linux
4.2 daily 15 june 2005

i pasted code into the editor and wound up with this exception repeated about 20
times:

java.lang.NoSuchMethodError:
org.netbeans.modules.editor.java.JMIUtils.getExactClass(Ljava/lang/String;)Lorg/netbeans/jmi/javamodel/JavaClass;
	at
org.netbeans.modules.java.hints.JavaHintsProvider$UnresolvedElemementHintCreator.createHint(JavaHintsProvider.java:723)
	at
org.netbeans.modules.java.hints.JavaHintsProvider.getHints(JavaHintsProvider.java:183)
	at
org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java:233)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:435)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:836)
Comment 1 athompson 2005-06-16 16:07:07 UTC
actually it appears to be an endless loop
Comment 2 Roman Strobl 2005-06-16 16:18:27 UTC
Reassigning to java/hints, please take a look at this. Thanks!
Comment 3 Roman Strobl 2005-06-16 16:19:16 UTC
Not sure if this classifies as a P1 at the moment, it's an experimental module.
Comment 4 Jan Becicka 2005-06-16 16:28:10 UTC
Can you update hints from AU center, please? It looks like you have incorrect
version of java/hints module.
Comment 5 athompson 2005-06-16 21:46:28 UTC
i see no upgrade of hints in the update center. the installed version is
'1.3.0.1.1.3'. is there a later one?
Comment 6 Tomas Hurka 2005-06-17 09:05:03 UTC
Caused by recent merge of new code completion. Simple recompilation of java/hints will help.
Comment 7 Tomas Hurka 2005-06-17 13:33:19 UTC

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