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 178299, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25 OS: Linux User Comments: yardus: Opening a JTREG test Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.jvm.Code.emitop1w(Code.java:969) at com.sun.tools.javac.jvm.Items$LocalItem.load(Items.java:399) at com.sun.tools.javac.jvm.Gen.visitBinary(Gen.java:2217) at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1791) at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:950) at com.sun.tools.javac.jvm.Gen.genCond(Gen.java:873)
Created attachment 153596 [details] stacktrace
Created attachment 153840 [details] stacktrace opening an openjdk project
Created attachment 154343 [details] stacktrace opening jdk9 project source code
Created attachment 154706 [details] stacktrace opening jdk/src/java.base/
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=217228
Created attachment 154832 [details] stacktrace Just compiled latest source code and ran Netbeans
Created attachment 154844 [details] stacktrace edit code
Created attachment 154852 [details] stacktrace edit code
Created attachment 155047 [details] stacktrace edit code
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=217228
I face this many times a day, I just don't press "report" each time - I pressed it twice or so. I created a project from existing sources. Sorces were jdk java sources from openjdk. I have several source roots, all from java.base subdirectory (windows/classes, mac/classes, share/classes, unix/classes, etc). I'll attach the project metadata shortly.
Created attachment 156896 [details] The project I work with. jdk_trunk is a sibling directory of a project directory.
*** Bug 256070 has been marked as a duplicate of this bug. ***
*** Bug 270562 has been marked as a duplicate of this bug. ***