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 46958

Summary: Goto Class dialog throwing ClassCastException
Product: java Reporter: vtec <vtec>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description vtec 2004-08-06 09:27:30 UTC
Build 200408021800, I can just select from menu
"Edit->Goto Class", the dialog appears and I start  
to enter data with 'S' or 's' and get exception. 
It may be something dependend on my current
project contents because entering e.g. 'f' or
any other letter works just fine.

Annotation: Exception occurred in Request Processor
java.lang.ClassCastException:
org.netbeans.jmi.javamodel.Method$Impl
	at
org.netbeans.modules.javacore.ClassIndex.getClassesBySNPrefix(ClassIndex.java:546)
	at
org.netbeans.modules.editor.java.NbJavaJMIFastOpen.findAllClasses(NbJavaJMIFastOpen.java:101)
	at
org.netbeans.modules.editor.java.NbJavaJMIFastOpen.findClasses(NbJavaJMIFastOpen.java:47)
	at
org.netbeans.editor.ext.java.JavaFastOpen.evaluate(JavaFastOpen.java:205)
	at
org.netbeans.editor.ext.java.JavaFastOpen$Evaluator.run(JavaFastOpen.java:359)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 1 Martin Matula 2004-08-06 11:22:55 UTC
This was fixed yesterday.

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