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.
java.lang.ClassCastException: org.netbeans.jmi.javamodel.JavaPackage$Impl at org.netbeans.modules.editor.java.JMIUtils.getImportedClass (JMIUtils.java:493) at org.netbeans.modules.editor.java.NbJavaJMISyntaxSupport.getTypeFromName (NbJavaJMISyntaxSupport.java:373) at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.resolveItem (NbJavaJMICompletionQuery.java:499) at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery$Context.resolveExp (NbJavaJMICompletionQuery.java:258) at org.netbeans.modules.editor.java.NbJavaJMICompletionQuery.getResult (NbJavaJMICompletionQuery.java:57) at org.netbeans.editor.ext.java.JavaCompletionQuery.query (JavaCompletionQuery.java:139) at org.netbeans.editor.ext.java.JavaCompletionQuery.query (JavaCompletionQuery.java:74) at org.netbeans.modules.editor.java.JavaCompletionProvider$Query.query (JavaCompletionProvider.java:89) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run (AsyncCompletionTask.java:181) at org.openide.util.Task.run(Task.java:207) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469) [catch] at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:870)
Downgrading to P2 as this is from completion query and it does not qualify as P1 issue. If possible could you please attach the source to this issue? Thanks.
I've meant the java source file that you've been editing. Is this random or does it happen consistently on that particular file?
*** Issue 64865 has been marked as a duplicate of this issue. ***
This does not look like P2. This happens on specific source code. It would be great if you can attach this source code where it happened.
*** This issue has been marked as a duplicate of 68695 ***
Reorganization of java component