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.
*********** Exception occurred ************ at 1:48 PM on Nov 28, 2005 java.lang.ClassCastException: org.netbeans.jmi.javamodel.VariableAccess$Impl at org.netbeans.modules.javacore.jmiimpl.javamodel.LocalVarDeclarationImpl.initChildren(LocalVarDeclarationImpl.java:108) at org.netbeans.modules.javacore.jmiimpl.javamodel.LocalVarDeclarationImpl.getAnnotations(LocalVarDeclarationImpl.java:90) at org.netbeans.modules.javacore.jmiimpl.javamodel.LocalVarDeclarationImpl.getChildren(LocalVarDeclarationImpl.java:97) at org.netbeans.modules.javacore.jmiimpl.javamodel.ElementFinder.getElementByOffset(ElementFinder.java:40) at org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getElementByOffset(ResourceImpl.java:1640) at org.netbeans.modules.j2ee.ejbcore.hints.EjbHintsProvider.getHints(EjbHintsProvider.java:82) at org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run(HintsOperator.java:233) 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)
Can you, please, provide steps to reproduce the issue?
This exception occured just as I started netbeans, after it finished loading a project into it. The project was swing based and was developed through the graphical editor. It had database access as well. Still, I don't know exactly why it occures because it does not appear on a regular basis.
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component