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 252336 - NullPointerException at com.sun.tools.javac.jvm.Code.emitop1w
Summary: NullPointerException at com.sun.tools.javac.jvm.Code.emitop1w
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 256070 270562 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-11 13:10 UTC by J Bachorik
Modified: 2017-05-12 08:30 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217228


Attachments
stacktrace (6.16 KB, text/plain)
2015-05-11 13:10 UTC, J Bachorik
Details
stacktrace (6.16 KB, text/plain)
2015-05-25 07:30 UTC, J Bachorik
Details
stacktrace (7.45 KB, text/plain)
2015-06-23 09:53 UTC, J Bachorik
Details
stacktrace (7.33 KB, text/plain)
2015-07-18 05:46 UTC, alied
Details
stacktrace (7.17 KB, text/plain)
2015-07-24 03:35 UTC, alied
Details
stacktrace (7.40 KB, text/plain)
2015-07-24 10:41 UTC, Alexandr Scherbatiy
Details
stacktrace (7.17 KB, text/plain)
2015-07-24 11:44 UTC, Alexandr Scherbatiy
Details
stacktrace (7.17 KB, text/plain)
2015-07-30 10:56 UTC, Alexandr Scherbatiy
Details
The project I work with. jdk_trunk is a sibling directory of a project directory. (174 bytes, application/zip)
2015-10-22 08:12 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J Bachorik 2015-05-11 13:10:48 UTC
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)
Comment 1 J Bachorik 2015-05-11 13:10:52 UTC
Created attachment 153596 [details]
stacktrace
Comment 2 J Bachorik 2015-05-25 07:30:55 UTC
Created attachment 153840 [details]
stacktrace

opening an openjdk project
Comment 3 J Bachorik 2015-06-23 09:53:11 UTC
Created attachment 154343 [details]
stacktrace

opening jdk9 project source code
Comment 4 alied 2015-07-18 05:46:20 UTC
Created attachment 154706 [details]
stacktrace

opening jdk/src/java.base/
Comment 5 Exceptions Reporter 2015-07-18 05:46:24 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217228
Comment 6 alied 2015-07-24 03:35:10 UTC
Created attachment 154832 [details]
stacktrace

Just compiled latest source code and ran Netbeans
Comment 7 Alexandr Scherbatiy 2015-07-24 10:41:18 UTC
Created attachment 154844 [details]
stacktrace

edit code
Comment 8 Alexandr Scherbatiy 2015-07-24 11:44:20 UTC
Created attachment 154852 [details]
stacktrace

edit code
Comment 9 Alexandr Scherbatiy 2015-07-30 10:56:59 UTC
Created attachment 155047 [details]
stacktrace

edit code
Comment 10 Exceptions Reporter 2015-07-30 10:57:04 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217228
Comment 11 Vladimir Kvashin 2015-10-22 08:11:28 UTC
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.
Comment 12 Vladimir Kvashin 2015-10-22 08:12:38 UTC
Created attachment 156896 [details]
The project I work with. jdk_trunk is a sibling directory of a project directory.
Comment 13 Dusan Balek 2017-05-12 08:29:35 UTC
*** Bug 256070 has been marked as a duplicate of this bug. ***
Comment 14 Dusan Balek 2017-05-12 08:30:03 UTC
*** Bug 270562 has been marked as a duplicate of this bug. ***