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 30886

Summary: Suggestion Directory Scan
Product: editor Reporter: Sven Reimers <rerouter>
Component: Hints & AnnotationsAssignee: Torbjorn Norbye <tor>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description Sven Reimers 2003-02-10 07:10:41 UTC
This works only one time for me. Second time I try
to activate it it only shows:

Annotation: Exception occurred in Request Processor
java.lang.NoSuchMethodError:
org.netbeans.api.tasklist.SuggestionManager.createSuggestion(Ljava/lang/String;Ljava/lang/String;Lorg/netbeans/api/tasklist/SuggestionPerformer;)Lorg/netbeans/api/tasklist/Suggestion;
	at
org.netbeans.modules.tasklist.javaparser.ErrorSuggester.scan(ErrorSuggester.java:181)
	at
org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.scan(SuggestionManagerImpl.java:1168)
	at
org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.scan(SuggestionManagerImpl.java:1155)
	at
org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.scan(SuggestionManagerImpl.java:1102)
	at
org.netbeans.modules.tasklist.suggestions.ScanSuggestionsAction$1.run(ScanSuggestionsAction.java:101)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:313)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:650)
Comment 1 Torbjorn Norbye 2003-02-10 07:19:12 UTC
Can you tell me the following:
* What is the version of the following modules (check your
  ide.log in your userdirectory's system/ directory):
    org.netbeans.api.tasklist/1
    org.netbeans.modules.tasklist.suggestions/1
    org.netbeans.modules.tasklist.core/1
* Where did you get the modules (built from source,
  downloaded from http://tasklist.netbeans.org,
  or downloaded via the update center.)
* Is this running in NetBeans 3.4/3.4.1, or the
  dev-build/q-build.

It looks like a mismatch where the tasklist-api.jar file is an older
version than it should be.
Comment 2 Torbjorn Norbye 2003-02-17 21:59:48 UTC
Have you tried updating your modules? Are you still seeing this?
Comment 3 Torbjorn Norbye 2003-02-21 05:58:52 UTC
I'm assuming this was an out of date / inconsistent module configuration.