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 - NullPointerException at com.sun.tools.javac.main.JavaCompiler.unrecoverableError
Summary: NullPointerException at com.sun.tools.javac.main.JavaCompiler.unrecoverableError
Status: RESOLVED DUPLICATE of bug 250919
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-04 07:10 UTC by jherkel
Modified: 2017-09-01 15:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228658


Attachments
stacktrace (2.22 KB, text/plain)
2017-04-04 07:10 UTC, jherkel
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***