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.
Using a build done in the last week or so... I had just opened the unit test in core/test/unit org.netbeans.beaninfo.editors.FindEditorTest. Then I switched to Mozilla. A few seconds later, the exception dialog popped up with: java.lang.ClassCastException at org.openide.src.nodes.ClassChildren$ElementListener.run(ClassChildren.java:349) [catch] at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2439) at java.lang.Thread.run(Thread.java:536) If it's at all helpful, I did not have the org.netbeans.junit package mounted, so there were some error annotations onscreen.
Possibly useful additional info: I had some logging of property changes running in PropertySheetTab. So looking at it in context, it appears that something had just fired a property change on a property "body" Cache contents: parameters,javadocComment,exceptions,modifiers,name,Property not in cache: javadoc Cache contents: parameters,javadocComment,exceptions,modifiers,name,Property not in cache: javadoc Cache contents: parameters,javadocComment,exceptions,modifiers,name,*********** Exception occurred ************ at Tue Mar 11 12:14:25 CET 2003 java.lang.ClassCastException at org.openide.src.nodes.ClassChildren$ElementListener.run(ClassChildren.java:349) [catch] at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2439) at java.lang.Thread.run(Thread.java:536) Property not in cache: body
The fix is quite easy (and the exception is ugly) -- I will fix it for 3.5, too. /cvs/java/srcmodel/src/org/openide/src/nodes/ClassChildren.java,v <-- ClassChildren.java new revision: 1.6; previous revision: 1.5 Fixed ClassChildren, 1.5.2.1 in release35 branch (was fixed in accessibility merge commit).
VERIFIED