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 257533

Summary: AssertionError at com.sun.tools.javac.util.Assert.error
Product: java Reporter: zmirc
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: abien, ahmed_mohammed, aldobrucale, alexx7676, alied, Alniks, athompson, chintan4fun, danilopiazza, everflux, ExIngus, flynnk, gilbertoca, gtzabari, HMartinW, jskrivanek, mgoe, muellermi, nleck, pkevin, RampantBadger, scanti, stefan79, terje7601, vriha
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222076
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
IDE log - happened when triggering autocomplete in a Java class
IDE log - Writing inside an annotation declaration
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
IDE log - editing Java TestNG file - NB Dev 201609010002
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description zmirc 2016-01-12 09:24:54 UTC
This bug was originally marked as duplicate of bug 256921, 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 201601100002)
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: Working in a Java test class

zmirc: Writing in a java TestNG class

GUEST: editing file

stefan79: Typed Code between to Methods (java-source-file).

abien: In a workshop :-)




Stacktrace: 
java.lang.AssertionError
   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
   at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62)
   at com.sun.tools.javac.comp.Annotate.fromAnnotations(Annotate.java:149)
   at com.sun.tools.javac.comp.Annotate$6.run(Annotate.java:1020)
   at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:176)
   at com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:130)
Comment 1 zmirc 2016-01-12 09:24:56 UTC
Created attachment 158095 [details]
stacktrace
Comment 2 muellermi 2016-01-22 07:57:40 UTC
Created attachment 158217 [details]
stacktrace

edit Java code
Comment 3 Exceptions Reporter 2016-01-22 07:57:44 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222076
Comment 4 abien 2016-02-23 11:02:19 UTC
Created attachment 158610 [details]
stacktrace

Happened during code completion of JUnit rule
Comment 5 Vladimir Riha 2016-04-29 13:27:06 UTC
Created attachment 159477 [details]
stacktrace

invoking cc in java class for static variable declaration in

public static final String DEFAULT_PROFILE_DIR = Sys^
Comment 6 athompson 2016-05-05 19:27:14 UTC
Created attachment 159559 [details]
stacktrace

invoked CC
Comment 7 zmirc 2016-06-03 13:33:40 UTC
Created attachment 159956 [details]
IDE log - happened when triggering autocomplete in a Java class
Comment 8 zmirc 2016-06-29 07:29:12 UTC
Created attachment 160189 [details]
IDE log - Writing inside an annotation declaration
Comment 9 muellermi 2016-08-01 11:34:19 UTC
Created attachment 161512 [details]
stacktrace

Java editor:
private final UUID = n
and then press ctrl+space
Comment 10 muellermi 2016-08-01 11:37:20 UTC
Created attachment 161513 [details]
stacktrace

reproducible
Comment 11 nleck 2016-09-01 01:21:34 UTC
Created attachment 161856 [details]
stacktrace

typing code.
Comment 12 nleck 2016-09-01 01:24:33 UTC
Created attachment 161857 [details]
stacktrace

typing code.
Comment 13 nleck 2016-09-01 01:27:33 UTC
Created attachment 161858 [details]
stacktrace

typing
Comment 14 zmirc 2016-09-04 09:06:05 UTC
Created attachment 161892 [details]
IDE log - editing Java TestNG file - NB Dev 201609010002
Comment 15 Jiri Skrivanek 2016-09-21 07:57:55 UTC
Created attachment 162148 [details]
stacktrace

Editing java class.
Comment 16 Jiri Skrivanek 2016-09-21 08:00:56 UTC
Created attachment 162149 [details]
stacktrace

Editing java class.
Comment 17 alied 2016-10-05 20:55:20 UTC
Created attachment 162358 [details]
stacktrace

invoked code completion in a Java file with errors
Comment 18 everflux 2017-06-30 12:37:33 UTC
Created attachment 164664 [details]
stacktrace

invoced code completion in new class
Comment 19 aldobrucale 2017-10-23 15:38:57 UTC
Created attachment 165341 [details]
stacktrace

?