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 152334 - [70cat] AssertionError at com.sun.tools.javac.util.Bits.incl
Summary: [70cat] AssertionError at com.sun.tools.javac.util.Bits.incl
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
: 186055 193354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-04 18:36 UTC by Martin Krauskopf
Modified: 2011-01-12 08:09 UTC (History)
17 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 24109


Attachments
stacktrace (4.08 KB, text/plain)
2008-11-04 18:36 UTC, Martin Krauskopf
Details
RubyDebugger.dump I was told to attach (23.30 KB, text/plain)
2008-11-04 18:39 UTC, Martin Krauskopf
Details
stacktrace (4.72 KB, text/plain)
2008-11-05 03:47 UTC, _ gtzabari
Details
stacktrace (3.38 KB, text/plain)
2010-12-17 08:32 UTC, esmithbss
Details
stacktrace (3.98 KB, text/plain)
2010-12-17 18:41 UTC, misterm
Details
stacktrace (5.42 KB, text/plain)
2010-12-17 18:50 UTC, misterm
Details
stacktrace (3.28 KB, text/plain)
2010-12-21 10:33 UTC, rohitbrai
Details
stacktrace (3.28 KB, text/plain)
2010-12-21 11:54 UTC, rohitbrai
Details
stacktrace (4.71 KB, text/plain)
2010-12-23 11:00 UTC, michbarsinai
Details
stacktrace (7.62 KB, text/plain)
2010-12-30 00:01 UTC, esmithbss
Details
stacktrace (3.84 KB, text/plain)
2010-12-30 00:04 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2008-11-04 18:36:30 UTC
Build: NetBeans IDE Dev (Build 081104)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Linux, 2.6.27-7-generic, i386

User Comments:
mkrauskopf: Immediately after uncommenting uncompilable RubyDebugger#attachDebugger method, which was commented before.

jglick: Was editing Java sources in nbbuild.
Just deleted a clause from an if statement.
Source had (unsaved) compilation errors but no syntax errors.

mkrauskopf: Immediately after uncommenting uncompilable RubyDebugger#attachDebugger method, which was commented before.



Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.util.Bits.incl(Bits.java:88)
        at com.sun.tools.javac.comp.Flow.checkInit(Flow.java:402)
        at com.sun.tools.javac.comp.Flow.visitIdent(Flow.java:1236)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1683)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
        at com.sun.tools.javac.comp.Flow.scan(Flow.java:557)
Comment 1 Martin Krauskopf 2008-11-04 18:36:35 UTC
Created attachment 73223 [details]
stacktrace
Comment 2 Martin Krauskopf 2008-11-04 18:39:23 UTC
Created attachment 73224 [details]
RubyDebugger.dump I was told to attach
Comment 3 Jan Lahoda 2008-11-04 19:23:13 UTC
I have added a test case:
http://hg.netbeans.org/main/nb-javac/rev/738a50e5473c

Seems to be caused by fix for issue #152088.
Comment 4 Martin Krauskopf 2008-11-04 22:00:18 UTC
(-> P2) The build is unusable when working with that class/code.
Comment 5 _ gtzabari 2008-11-05 03:47:39 UTC
Build: NetBeans IDE Dev (Build 200811041401)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows Vista, 6.0, amd64

User Comments: 
Saved a Java file

Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.util.Bits.incl(Bits.java:88)
        at com.sun.tools.javac.comp.Flow.checkInit(Flow.java:402)
        at com.sun.tools.javac.comp.Flow.visitIdent(Flow.java:1236)
        at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1683)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
        at com.sun.tools.javac.comp.Flow.scan(Flow.java:557)
Comment 6 _ gtzabari 2008-11-05 03:47:43 UTC
Created attachment 73262 [details]
stacktrace
Comment 7 Dusan Balek 2008-11-05 09:56:32 UTC
Fixed.

changeset ea6972f90376 in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=ea6972f90376
changeset f4fbcb707b49 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=f4fbcb707b49
Comment 8 Quality Engineering 2008-11-05 17:02:13 UTC
Integrated into 'main-golden', will be available in build *200811051401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f4fbcb707b49
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #152334: AssertionError at com.sun.tools.javac.util.Bits.incl - fixed.
Comment 9 Egor Ushakov 2010-12-15 14:24:40 UTC
exception appeared again in 7.0 dev build, please investigate
Comment 10 esmithbss 2010-12-17 08:32:17 UTC
Created attachment 104187 [details]
stacktrace

Editing a file.
Comment 11 misterm 2010-12-17 18:41:49 UTC
Created attachment 104226 [details]
stacktrace
Comment 12 misterm 2010-12-17 18:50:48 UTC
Created attachment 104228 [details]
stacktrace
Comment 13 rohitbrai 2010-12-21 10:33:18 UTC
Created attachment 104343 [details]
stacktrace
Comment 14 rohitbrai 2010-12-21 11:54:18 UTC
Created attachment 104348 [details]
stacktrace
Comment 15 Dusan Balek 2010-12-22 13:44:25 UTC
Do you have a reproducible test case? Could you please attach some of the generated dump files? Thanks.
Comment 16 michbarsinai 2010-12-23 11:00:27 UTC
Created attachment 104442 [details]
stacktrace
Comment 17 esmithbss 2010-12-30 00:01:01 UTC
Created attachment 104608 [details]
stacktrace

Selecting an equalsIgnoreCase option from the code hints dialog.
Comment 18 esmithbss 2010-12-30 00:04:01 UTC
Created attachment 104609 [details]
stacktrace

Adding parenthesis to the end of an equalsIgnoreCase call.
Comment 19 Dusan Balek 2011-01-05 15:04:41 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/217db2c7535d

changeset d4fe63e25cda in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=d4fe63e25cda
Comment 20 Quality Engineering 2011-01-06 09:16:04 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/217db2c7535d
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #193648 and #152334 fixed.
Comment 21 Dusan Balek 2011-01-07 09:07:25 UTC
*** Bug 186055 has been marked as a duplicate of this bug. ***
Comment 22 Dusan Balek 2011-01-12 08:09:00 UTC
*** Bug 193354 has been marked as a duplicate of this bug. ***