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 270286

Summary: NullPointerException at com.sun.tools.javac.main.JavaCompiler.unrecoverableError
Product: java Reporter: jherkel
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: vv159170, wilmar
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228658
Attachments: stacktrace

Description jherkel 2017-04-04 07:10:35 UTC
This bug was originally marked as duplicate of bug 241006, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201704030002)
VM: OpenJDK 64-Bit Server VM, 25.121-b14, OpenJDK Runtime Environment, 1.8.0_121-b14
OS: Linux

User Comments:
vv159170: editing java file

jherkel: change a package name from a incorrect to the correct one via editor hint

wilmar: Bugs bugs everywhere




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.main.JavaCompiler.unrecoverableError(JavaCompiler.java:1345)
   at com.sun.tools.javac.main.JavaCompiler.shouldStop(JavaCompiler.java:580)
   at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1410)
   at org.netbeans.modules.java.hints.spiimpl.Utilities.constructScope(Utilities.java:778)
   at org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:61)
   at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:558)
Comment 1 jherkel 2017-04-04 07:10:37 UTC
Created attachment 164016 [details]
stacktrace
Comment 2 Dusan Balek 2017-09-01 15:27:04 UTC

*** This bug has been marked as a duplicate of bug 250919 ***