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 44387 - Unexpected ClassCastException from clazz module
Summary: Unexpected ClassCastException from clazz module
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-06 22:02 UTC by _ ttran
Modified: 2004-08-13 12:10 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 _ ttran 2004-06-06 22:02:08 UTC
IDE built from CVS 2004-06-05

In the middle of editing, a while after "Clean &
Build" a freeform project, nothing big, I got this
exception

Annotation: Exception occurred in Request Processor
java.lang.ClassCastException
	at
org.netbeans.modules.clazz.SourceElementImpl.setClassObject(SourceElementImpl.java:80)
	at
org.netbeans.modules.clazz.ClassDataObject.forceReload(ClassDataObject.java:229)
	at
org.netbeans.modules.clazz.ClassDataObject$PropL.run(ClassDataObject.java:142)
	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)

Happened to me several times within 30 minutes of
working with the IDE => P2, should be fixed before
release
Comment 1 Jan Becicka 2004-07-13 11:09:09 UTC
Cannot reproduce in latest builds. SourceElementImpl was slightly
refactored. It does not have setClassObject method any more.
If you are still able to reproduce this (or similar) bug, please
reopen this issue and attach fresh stack trace.