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 8.0 (Build 201403101706) VM: OpenJDK 64-Bit Server VM, 24.45-b08, OpenJDK Runtime Environment, 1.7.0_51-b00 OS: Linux User Comments: nvamelichev: Java code editing Stacktrace: java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126) at com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:61) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1171) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1120) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:479) at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:448)
Created attachment 146652 [details] stacktrace
Created attachment 153758 [details] stacktrace modify code during scanning progress
Created attachment 153802 [details] stacktrace Switched editor tabs
Created attachment 153887 [details] stacktrace Pasting into an annotation
Created attachment 154071 [details] stacktrace I was editing debugger.jpda.ui/test/qa-functional/src/org/netbeans/modules/debugger/jpda/ui/AntSanityTest.java. With Ctrl key pressed I clicked Utilities.variablesViewTitle to quickly navigate to the variable. I just selected its assigned value i.e. Bundle.getStringTrimmed("org.netbeans.modules.debugger.ui.views.Bundle", "CTL_Variables_view") and this AssertionError was thrown.
Created attachment 154097 [details] stacktrace create constructor
Created attachment 154179 [details] stacktrace copy pasting code in Java editor
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=209023
Created attachment 154378 [details] stacktrace ctrl click on some Class
Created attachment 154419 [details] stacktrace Starting netbeans
Created attachment 154616 [details] stacktrace set breakpoint
Created attachment 155024 [details] stacktrace Just editing some test classes
Created attachment 155301 [details] stacktrace Trying to implement abstract methods.
Created attachment 155372 [details] stacktrace Trying code inspection on project. applied refactor.
Created attachment 155448 [details] stacktrace open file
Created attachment 155461 [details] stacktrace updated files from command line, then switched to the IDE
Created attachment 155714 [details] stacktrace edit code
40 reports => P2
Created attachment 155765 [details] stacktrace unbuilded MVN project
Created attachment 155858 [details] stacktrace copy paste the same code into few classes, exception is thrown after paster into 2nd, 3rd etc class and press 'ok' in 'Import classes' dialog
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/64c05ad29ebb http://hg.netbeans.org/main/nb-javac/rev/81a0a1a3ce60
Integrated into 'main-silver', will be available in build *201509100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/64c05ad29ebb User: Dusan Balek <dbalek@netbeans.org> Log: Issues #243699 and #254646 fixed.