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 268939

Summary: NullPointerException at org.netbeans.modules.java.source.ui.AsyncJavaSymbolDescriptor$RootChange.isSupportedOption
Product: java Reporter: akobberup
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: petrk
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226800
Attachments: stacktrace
stacktrace
stacktrace

Description akobberup 2016-11-11 12:10:49 UTC
Build: NetBeans IDE Dev (Build 201610170002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Windows 10

User Comments:
akobberup: Tried to search in the searchfield in the ide

GUEST: Immediately after NB startup, 2 JavaSE projects opened, one of them set as main.

GUEST: Immediately after IDE startup, no sources open.

GUEST: Search (CTRL+I)
typed: session




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.source.ui.AsyncJavaSymbolDescriptor$RootChange.isSupportedOption(AsyncJavaSymbolDescriptor.java:431)
   at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:182)
   at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:113)
   at org.netbeans.modules.java.source.ui.AsyncJavaSymbolDescriptor.getJavac(AsyncJavaSymbolDescriptor.java:325)
   at org.netbeans.modules.java.source.ui.AsyncJavaSymbolDescriptor.resolve(AsyncJavaSymbolDescriptor.java:221)
   at org.netbeans.modules.java.source.ui.AsyncJavaSymbolDescriptor.access$000(AsyncJavaSymbolDescriptor.java:100)
Comment 1 akobberup 2016-11-11 12:10:51 UTC
Created attachment 162873 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-11-29 18:18:06 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=226800
Comment 3 petrk 2016-12-02 17:54:08 UTC
Created attachment 163133 [details]
stacktrace

Used Go to Symbol
Comment 4 petrk 2016-12-06 15:39:09 UTC
Created attachment 163169 [details]
stacktrace

Go to symbol