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 257060

Summary: AssertionError: <error>
Product: java Reporter: zmirc
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: gtzabari, jskrivanek, misterm, mkhramov, pflaska, phejl, tboudreau, terje7601, zmirc
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221580
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
IDE log - copied a Java class from one project to another
stacktrace
stacktrace
stacktrace
stacktrace
IDE log - renaming a public static final String
stacktrace
stacktrace

Description zmirc 2015-12-08 18:31:32 UTC
This bug was originally marked as duplicate of bug 142426, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201512010002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8

User Comments:
zmirc: CTRL+Click on a java class field that doesn't exist in another class that should use it.

Ex: Links.NON_EXISTING_FIELD
I was about to create "NON_EXISTING_FIELD" in that class.




Stacktrace: 
java.lang.AssertionError: <error>
   at com.sun.tools.javac.jvm.ClassWriter$AttributeWriter.visitError(ClassWriter.java:902)
   at com.sun.tools.javac.code.Attribute$Error.accept(Attribute.java:387)
   at com.sun.tools.javac.jvm.ClassWriter$AttributeWriter.visitArray(ClassWriter.java:908)
   at com.sun.tools.javac.code.Attribute$Array.accept(Attribute.java:327)
   at com.sun.tools.javac.jvm.ClassWriter.writeCompoundAttribute(ClassWriter.java:925)
   at com.sun.tools.javac.jvm.ClassWriter.writeJavaAnnotations(ClassWriter.java:760)
Comment 1 zmirc 2015-12-08 18:31:34 UTC
Created attachment 157724 [details]
stacktrace
Comment 2 _ tboudreau 2015-12-09 12:16:15 UTC
Created attachment 157734 [details]
stacktrace

Changed git branches
Comment 3 Pavel Flaska 2016-03-16 09:20:27 UTC
Created attachment 158886 [details]
stacktrace

No specific steps. Just starting netbeans with several files from dcs opened.
Comment 4 Jiri Skrivanek 2016-03-31 08:52:57 UTC
Created attachment 159057 [details]
stacktrace

Sources updated outside f the IDE.
Comment 5 zmirc 2016-04-14 07:23:48 UTC
Created attachment 159259 [details]
IDE log - copied a Java class from one project to another
Comment 6 Jiri Skrivanek 2016-04-20 14:18:00 UTC
Created attachment 159345 [details]
stacktrace

Removed package in projects view (maven project).
Comment 7 misterm 2016-05-23 13:27:43 UTC
Created attachment 159838 [details]
stacktrace

.
Comment 8 misterm 2016-05-23 13:30:43 UTC
Created attachment 159839 [details]
stacktrace

.
Comment 9 misterm 2016-05-23 13:33:43 UTC
Created attachment 159840 [details]
stacktrace

.
Comment 10 zmirc 2016-06-04 07:46:32 UTC
Created attachment 159957 [details]
IDE log - renaming a public static final String
Comment 11 Maksim Khramov 2016-06-13 21:20:19 UTC
Created attachment 160040 [details]
stacktrace

Edit java annotation class
Comment 12 Petr Hejl 2016-06-20 09:27:22 UTC
Created attachment 160097 [details]
stacktrace

Refactoring test sources.