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.
This bug was originally marked as duplicate of bug 164541, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-9M3125 OS: Mac OS X, 10.5.8, x86_64 User Comments: fabriziogiudici: Switching from a project group to another. Stacktrace: java.lang.AssertionError at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2750) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2732) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2685) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2663) at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:587) at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:587)
Created attachment 93369 [details] stacktrace
Created attachment 101781 [details] stacktrace with https://netbeans.org/bugzilla/show_bug.cgi?id=188817 investigation, have first entity->some class->mapped superclass. now change "some class" to mapped superclass and save. have assertion.
*** Bug 164541 has been marked as a duplicate of this bug. ***
Created attachment 106418 [details] stacktrace
Created attachment 106420 [details] stacktrace
*** Bug 197752 has been marked as a duplicate of this bug. ***
Created attachment 108198 [details] stacktrace
I am getting this constantly whenever I try to work on apisupport.project. I presume something is broken in my cache directory. I will try to delete that part of the cache, making a backup first for analysis.
Created attachment 109234 [details] Contents of $userdir/var/cache/index/s883/
143 dups ... reported also against NB 7.0.1
Do you have a reproducible test case?
This bug already has 150 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=164380
From the exception reports it seems that two different elements are created for the same class under some circumstances. Hard to fix without a reproducible test case.
Created attachment 110904 [details] stacktrace removed a file outside the ide
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/7a9f5e3b0ade http://hg.netbeans.org/main/nb-javac/rev/a6ed0b1657ee
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/7a9f5e3b0ade User: Dusan Balek <dbalek@netbeans.org> Log: Issues #179621, #193492, and #203871 fixed.