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 262183 - AssertionError at com.sun.tools.javac.util.Assert.error
Summary: AssertionError at com.sun.tools.javac.util.Assert.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: 2016-05-23 11:39 UTC by Ralph Ruijs
Modified: 2018-01-05 15:51 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222812


Attachments
stacktrace (9.01 KB, text/plain)
2016-05-23 11:40 UTC, Ralph Ruijs
Details
IDE log - Changing package declaration of Java classes after coyping them from other project (854.29 KB, text/plain)
2016-09-04 18:56 UTC, zmirc
Details
stacktrace (5.83 KB, text/plain)
2017-03-20 22:10 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2016-05-23 11:39:59 UTC
Build: NetBeans IDE Dev (Build 20160519-be287f4b2fd4)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Linux

User Comments:
ralphbenjamin: Added classes from #262177 to a simple javaapplication opened in NetBeans

GUEST: Hitting Alt+Enter for adding missing import of member variable.




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.Check.validateTypeAnnotation(Check.java:2872)
   at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitAnnotation(Attr.java:4815)
   at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:2518)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
Comment 1 Ralph Ruijs 2016-05-23 11:40:01 UTC
Created attachment 159835 [details]
stacktrace
Comment 2 Dusan Balek 2016-06-03 12:39:15 UTC
Do you have a reproducible test case - a simple project together with the exact steps to reproduce? Thanks
Comment 3 zmirc 2016-09-04 18:56:34 UTC
Created attachment 161894 [details]
IDE log - Changing package declaration of Java classes after coyping them from other project
Comment 4 muellermi 2017-03-20 22:10:06 UTC
Created attachment 163899 [details]
stacktrace

switch source file