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.
I hade exception when clucene project was reparsed. Exception was once. --------------------- java.lang.ClassCastException: org.netbeans.modules.cnd.modelimpl.csm.ConstructorDDImpl at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.fixFakeRegistrations(FileImpl.java:1086) at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.onParseFinish(ProjectBase.java:1400) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.onFileParsingFinished(ParserQueue.java:648) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:99) at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:82) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Created attachment 59632 [details] full log
P2 because exception is not caught. Progress bar is frozen.
It looks as regression.
We need to fix for NetBeans 6.1.
Fixed in trunk (main): http://hg.netbeans.org/main/rev/a65dc5fe506a Please review the fix.
Even more "just in case" checks. Please review: http://hg.netbeans.org/main/rev/ecc773205ce6 And test: http://hg.netbeans.org/main/rev/a4b93f02754b
I reviewed and agree with changes
The situation is quite hard to reproduce manually (since it is related to some subtle synchronization issues), I created a test (see the above commit) that showed the issue. It failed until I fixed the issue. Now it does not fail. I believe it proofs that the issue is fixed.
Fixed in release61: http://hg.netbeans.org/release61/rev/f7bc3572ecfb http://hg.netbeans.org/release61/rev/d056d6820561
Assuming that the issue was hardly reproducible without this fix I believe that the fix should be just reviewed and needn't verification by QA.
verified in NB6.1RC1 (build 200804082140)