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 268036

Summary: NullPointerException at com.sun.tools.javac.code.Symbol$VarSymbol$2.call
Product: java Reporter: Jiri Skrivanek <jskrivanek>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226245
Attachments: stacktrace

Description Jiri Skrivanek 2016-09-15 08:52:09 UTC
Build: NetBeans IDE Dev (Build 201609130002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Windows 8.1

User Comments:
jskrivanek: While scanning sources.




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Symbol$VarSymbol$2.call(Symbol.java:1381)
   at com.sun.tools.javac.code.Symbol$VarSymbol.getConstValue(Symbol.java:1415)
   at com.sun.tools.javac.comp.Attr.checkInit(Attr.java:4024)
   at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:3638)
   at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2075)
   at com.sun.tools.javac.comp.Attr$ResultInfo.attr(Attr.java:496)
Comment 1 Jiri Skrivanek 2016-09-15 08:52:11 UTC
Created attachment 162056 [details]
stacktrace