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 - Goto Class dialog throwing ClassCastException
Summary: Goto Class dialog throwing ClassCastException
Status: RESOLVED DUPLICATE of bug 45200
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-06 09:27 UTC by vtec
Modified: 2007-09-26 09:14 UTC (History)
0 users

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 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 ***