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 20090113073351) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Linux, 2.6.24-23-generic, i386 User Comments: jiriprox: AE when editing code GUEST: Debugging. Writing an assignment from an ArrayList. jiriprox: AE when editing code Stacktrace: java.lang.AssertionError at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2780) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2719) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2650) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1076) at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:450) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:598)
Created attachment 75767 [details] stacktrace
Steps (unfortunately not reproducible) 1) have a code: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication59; import com.google.common.collect.HashBiMap; /** * * @author jp159440 */ public class Main { static com.google.common.collect.HashBiMap biMap = new HashBiMap(); /** * @param args the command line arguments */ public static void main(String[] args) { biMap. Test t; } } 2) use CC to complete method get from biMap class 3) delete code inserted by CC to get to original state
Fixed. changeset c958ac2f6935 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=c958ac2f6935 changeset 2a6f27ff1bed in main details: http://hg.netbeans.org/main?cmd=changeset;node=2a6f27ff1bed
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2a6f27ff1bed User: Dusan Balek <dbalek@netbeans.org> Log: Issues #118035 and #156695 fixed.
Build: NetBeans IDE Dev (Build 200901140201) VM: Java HotSpot(TM) Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows XP, 5.1, x86 User Comments: exception occoured while I was typing in the Editor. Stacktrace: java.lang.AssertionError at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2780) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2719) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2650) at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1076) at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:450) at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:598)
Created attachment 76227 [details] stacktrace
*** Issue 155559 has been marked as a duplicate of this issue. ***