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.
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)
Created attachment 159835 [details] stacktrace
Do you have a reproducible test case - a simple project together with the exact steps to reproduce? Thanks
Created attachment 161894 [details] IDE log - Changing package declaration of Java classes after coyping them from other project
Created attachment 163899 [details] stacktrace switch source file