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 - java.lang.ClassCastException
Summary: java.lang.ClassCastException
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 11:53 UTC by ratcornel
Modified: 2007-09-26 09:14 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 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