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 - AssertionError: <error>
Summary: AssertionError: <error>
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-08 18:31 UTC by zmirc
Modified: 2016-06-20 09:27 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221580


Attachments
stacktrace (4.86 KB, text/plain)
2015-12-08 18:31 UTC, zmirc
Details
stacktrace (4.86 KB, text/plain)
2015-12-09 12:16 UTC, _ tboudreau
Details
stacktrace (5.25 KB, text/plain)
2016-03-16 09:20 UTC, Pavel Flaska
Details
stacktrace (5.09 KB, text/plain)
2016-03-31 08:52 UTC, Jiri Skrivanek
Details
IDE log - copied a Java class from one project to another (98.62 KB, text/plain)
2016-04-14 07:23 UTC, zmirc
Details
stacktrace (4.86 KB, text/plain)
2016-04-20 14:18 UTC, Jiri Skrivanek
Details
stacktrace (4.86 KB, text/plain)
2016-05-23 13:27 UTC, misterm
Details
stacktrace (4.86 KB, text/plain)
2016-05-23 13:30 UTC, misterm
Details
stacktrace (5.09 KB, text/plain)
2016-05-23 13:33 UTC, misterm
Details
IDE log - renaming a public static final String (205.69 KB, text/plain)
2016-06-04 07:46 UTC, zmirc
Details
stacktrace (4.86 KB, text/plain)
2016-06-13 21:20 UTC, Maksim Khramov
Details
stacktrace (4.86 KB, text/plain)
2016-06-20 09:27 UTC, Petr Hejl
Details

Note You need to log in before you can comment on or make changes to this bug.
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.