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 231040

Summary: NullPointerException at com.sun.tools.javac.jvm.Code.typecode
Product: java Reporter: tnleeuw <tnleeuw>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal CC: tnleeuw
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201292
Attachments: stacktrace

Description tnleeuw 2013-06-10 15:28:45 UTC
Build: NetBeans IDE Dev (Build 201306100004)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows Vista

User Comments:
tnleeuw: This happened after switching project groups, while background scanning of projects was underway. NetBeans was not in the foreground since I was doing something else during the wait.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.jvm.Code.typecode(Code.java:229)
   at com.sun.tools.javac.jvm.Items.makeStackItem(Items.java:110)
   at com.sun.tools.javac.jvm.Gen.visitSelect(Gen.java:2287)
   at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1886)
   at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:935)
   at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:954)
Comment 1 tnleeuw 2013-06-10 15:28:47 UTC
Created attachment 135595 [details]
stacktrace
Comment 2 Martin Balin 2015-09-17 11:22:11 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.