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.

Bug 142426 - [65cat] AssertionError: <error>
Summary: [65cat] AssertionError: <error>
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 15:17 UTC by kawazu428
Modified: 2008-08-07 16:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 81022


Attachments
stacktrace (4.05 KB, text/plain)
2008-08-05 09:56 UTC, Peter Pis
Details
stacktrace (3.91 KB, text/plain)
2008-08-06 06:32 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kawazu428 2008-07-31 15:17:55 UTC
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>
Comment 1 kawazu428 2008-07-31 15:20:14 UTC
run into this while switching between two project groups, having a few .java files formerly opened restored when
switching to the new group.
Comment 2 Jan Lahoda 2008-08-04 09:26:49 UTC
To reproduce:

package javaapplication8;

@SuppressWarnings(value={asdgfasgf})
public class Main {}
Comment 3 Exceptions Reporter 2008-08-04 23:01:36 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=81022
Comment 4 _ gtzabari 2008-08-05 00:06:46 UTC
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
Comment 5 Peter Pis 2008-08-05 09:56:42 UTC
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)
Comment 6 Peter Pis 2008-08-05 09:56:46 UTC
Created attachment 66568 [details]
stacktrace
Comment 7 misterm 2008-08-06 06:32:07 UTC
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)
Comment 8 misterm 2008-08-06 06:32:11 UTC
Created attachment 66640 [details]
stacktrace
Comment 9 misterm 2008-08-06 06:50:15 UTC
First error I got when startup NetBeans.
Comment 10 Dusan Balek 2008-08-06 16:17:49 UTC
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
Comment 11 Quality Engineering 2008-08-07 16:32:19 UTC
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.