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.
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
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.