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 69425

Summary: java.lang.ClassCastException
Product: java Reporter: ratcornel <ratcornel>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description ratcornel 2005-11-28 11:53:05 UTC
*********** 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)
Comment 1 _ lcincura 2005-12-07 10:06:01 UTC
Can you, please, provide steps to reproduce the issue?
Comment 2 ratcornel 2006-01-08 20:44:04 UTC
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.
Comment 3 Jan Becicka 2006-10-26 16:27:50 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 4 Quality Engineering 2007-09-20 10:50:15 UTC
Reorganization of java component