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 103699 - java.lang.ClassCastException: org.netbeans.jmi.javamodel.Method$Impl
Summary: java.lang.ClassCastException: org.netbeans.jmi.javamodel.Method$Impl
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-10 23:10 UTC by minniger
Modified: 2008-02-25 16:08 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 minniger 2007-05-10 23:10:27 UTC
While just trying to get a code completion list to popup in  a project.  Got:

java.lang.ClassCastException: org.netbeans.jmi.javamodel.Method$Impl
	at org.netbeans.modules.javacore.ClassIndex$ClassesByPrefixIterator.getClassesByPrefix
(ClassIndex.java:437)
	at org.netbeans.modules.javacore.ClassIndex$ClassesByPrefixIterator.findNext(ClassIndex.java:
421)
	at org.netbeans.modules.javacore.ClassIndex$ClassesByPrefixIterator.hasNext(ClassIndex.java:
389)
	at org.netbeans.modules.javacore.LazyImmutableList.nextItem(LazyImmutableList.java:58)
	at org.netbeans.modules.javacore.LazyImmutableList.access$200(LazyImmutableList.java:30)
	at org.netbeans.modules.javacore.LazyImmutableList$LazyImmutableIterator.hasNext
(LazyImmutableList.java:75)
	at org.netbeans.modules.editor.java.JMIUtils.findClasses(JMIUtils.java:329)
	at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.resolveItem
(NbJavaJMICompletionQuery.java:503)
	at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.resolveExp
(NbJavaJMICompletionQuery.java:397)
	at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery.getResult
(NbJavaJMICompletionQuery.java:65)
	at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:145)
	at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:80)
	at org.netbeans.modules.editor.java.JavaCompletionProvider$Query.query
(JavaCompletionProvider.java:114)
	at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run
(AsyncCompletionTask.java:195)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Quality Engineering 2007-09-20 10:33:14 UTC
Reorganization of java component
Comment 2 Jan Becicka 2008-02-25 16:08:34 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.