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.
Summary: | AssertionError at com.sun.tools.javac.comp.Attr.attribClassBody | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Prox <jiriprox> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | rgarske |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=144144 | ||
Issue Type: | DEFECT | Exception Reporter: | 144144 |
Attachments: |
stacktrace
stacktrace |
Description
Jiri Prox
2009-01-13 15:56:52 UTC
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. *** |