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.
This bug was originally marked as duplicate of bug 210651, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 Beta (Build 201307092200) VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: SunOS User Comments: mromashova: Just compiled netbeans module Stacktrace: java.lang.AssertionError at com.sun.tools.javac.comp.Lower.classOfType(Lower.java:2125) at com.sun.tools.javac.comp.Lower.assertFlagTest(Lower.java:2162) at com.sun.tools.javac.comp.Lower.visitAssert(Lower.java:2916) at com.sun.tools.javac.tree.JCTree$JCAssert.accept(JCTree.java:1430) at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58) at com.sun.tools.javac.comp.Lower.translate(Lower.java:2296)
Created attachment 140761 [details] stacktrace
Created attachment 156312 [details] stacktrace Navigated in Java-Source-File.
Created attachment 161568 [details] stacktrace working with clank_ast branch
Created attachment 162183 [details] stacktrace reopened IDE with clean cachedir and some broken files in clank.ast
Created attachment 162429 [details] stacktrace browsing sources of java library?
All clank modules are red...
Product Version: NetBeans IDE Dev (Build 20170404-1a8b3f27d2c0) Java: 1.8.0_121; Java HotSpot(TM) 64-Bit Server VM 25.121-b13 Runtime: Java(TM) SE Runtime Environment 1.8.0_121-b13 System: Linux version 3.16.0-38-generic running on amd64; UTF-8; en_US (nb)
helped downgrading NB to Product Version: NetBeans IDE Dev (Build 20170330-4b52b90c78e2) Java: 1.8.0_121; Java HotSpot(TM) 64-Bit Server VM 25.121-b13 Runtime: Java(TM) SE Runtime Environment 1.8.0_121-b13 System: Linux version 3.16.0-38-generic running on amd64; UTF-8; en_US (nb) Hope it helps to find regression cause
Fixed in jet-main. Thanks Vladimir for reproducible test case. http://hg.netbeans.org/jet-main/rev/31c9ffc72e86 http://hg.netbeans.org/main/nb-javac/rev/e496bd931b8e
Thanks Dusan for fixing this stopper!
Integrated into 'main-silver', will be available in build *201704120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/31c9ffc72e86 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #236701 - AssertionError at com.sun.tools.javac.comp.Lower.classOfType - fixed.