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 257739

Summary: NullPointerException at com.sun.tools.javac.main.JavaCompiler.attribute
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222284
Attachments: stacktrace

Description Exceptions Reporter 2016-01-28 14:48:57 UTC
This bug was originally marked as duplicate of bug 224944, 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.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Windows 7

User Comments:
GUEST: I was editing Java code




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1312)
   at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1290)
   at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:469)
   at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:448)
   at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:640)
   at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:495)
Comment 1 Exceptions Reporter 2016-01-28 14:48:58 UTC
Created attachment 158270 [details]
stacktrace