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.
In build 200407201800 when invoking code completion in this context: ... for(int i=0; i < masks.length; i++) { parsedSamples.add(new |<--- CTRL-SPACE } .. Annotation: Exception occurred in Request Processor java.lang.ClassCastException at org.netbeans.modules.javacore.ClassIndex.getClassesBySNPrefix(ClassIndex.java:573) at org.netbeans.modules.editor.java.JMIUtils.findClasses(JMIUtils.java:282) at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.resolveExp(NbJavaJMICompletionQuery.java:261) at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery.getResult(NbJavaJMICompletionQuery.java:52) at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:146) at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:79) at org.netbeans.editor.ext.Completion.performQuery(Completion.java:594) at org.netbeans.editor.ext.Completion.access$700(Completion.java:47) at org.netbeans.editor.ext.Completion$1QueryTask.run(Completion.java:524) 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)
*** This issue has been marked as a duplicate of 45200 ***
Reorganization of java component