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.
Build: NetBeans IDE Dev (Build 200807310201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28 OS: Linux, 2.6.24-20-generic, i386 User Comments: Stacktrace: java.lang.AssertionError: <error>
run into this while switching between two project groups, having a few .java files formerly opened restored when switching to the new group.
To reproduce: package javaapplication8; @SuppressWarnings(value={asdgfasgf}) public class Main {}
This issue has already 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=81022
This issue makes Netbeans 6.5 unusable for me because the Netbeans class database ends up corrupt after this exception is thrown. It occurs 100% of the time when I launch Netbeans so I moved back to version 6.1
Build: NetBeans IDE Dev (Build 200808050125) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Windows XP, 5.1, x86 User Comments: Safe delete on junit test class file thrown exception Stacktrace: java.lang.AssertionError: <error> at com.sun.tools.javac.jvm.ClassWriter$AttributeWriter.visitError(ClassWriter.java:903) at com.sun.tools.javac.code.Attribute$Error.accept(Attribute.java:263) at com.sun.tools.javac.jvm.ClassWriter$AttributeWriter.visitArray(ClassWriter.java:909) at com.sun.tools.javac.code.Attribute$Array.accept(Attribute.java:216) at com.sun.tools.javac.jvm.ClassWriter.writeCompoundAttribute(ClassWriter.java:921) at com.sun.tools.javac.jvm.ClassWriter.writeJavaAnnotations(ClassWriter.java:802)
Created attachment 66568 [details] stacktrace
Build: NetBeans IDE Dev (Build 200808051401) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.AssertionError: <error> at com.sun.tools.javac.jvm.ClassWriter$AttributeWriter.visitError(ClassWriter.java:903) at com.sun.tools.javac.code.Attribute$Error.accept(Attribute.java:263) at com.sun.tools.javac.jvm.ClassWriter$AttributeWriter.visitArray(ClassWriter.java:909) at com.sun.tools.javac.code.Attribute$Array.accept(Attribute.java:216) at com.sun.tools.javac.jvm.ClassWriter.writeCompoundAttribute(ClassWriter.java:921) at com.sun.tools.javac.jvm.ClassWriter.writeJavaAnnotations(ClassWriter.java:802)
Created attachment 66640 [details] stacktrace
First error I got when startup NetBeans.
Fixed. changeset d554f77bf173 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=d554f77bf173 changeset 251ccd78a149 in main details: http://hg.netbeans.org/main?cmd=changeset;node=251ccd78a149
Integrated into 'main-golden', available in build *200808071401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/251ccd78a149 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #142426: AssertionError: <error> from ClassWriter.AttributeWriter - fixed.