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.
NB trunk build 200406151800, JDK1.5.0-beta3-b55. I was doing some editing, and the attached ClassCastException started to occur. It seems to occur during reparse (when I leave editor untouched for a while or when I save the file).
Created attachment 15731 [details] ClassCastException
*** Issue 44917 has been marked as a duplicate of this issue. ***
Increasing priority because it is really annoying and IDE gets unusable.
Fixed in trunk. Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/ SemiPersistentElement.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ SemiPersistentElement.java,v <-- SemiPersistentElement.java new revision: 1.12; previous revision: 1.11 done
*** Issue 44934 has been marked as a duplicate of this issue. ***
Build 200406161800, j2sdk1.4.2 Sorry, I have to open this issue again, because an attached exception was thrown, when I typed ' ... implements J ...' in the editor. <snip> java.lang.ClassCastException at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getInfos(S emiPersistentElement.java:308) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.processMem bers(SemiPersistentElement.java:336) ..... </snip>
Created attachment 15798 [details] Exception
Fixed. The original fix was accidentally removed by one of the other commits yesterday.
I have not seen this problem for a quite long time, so I suppose it is really fixed. Current build is 200406271800.