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 271844

Summary: NullPointerException at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidates
Product: java Reporter: muellermi <muellermi>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: gbivins, gtzabari, teras
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230602
Attachments: stacktrace
stacktrace

Description muellermi 2017-11-22 22:29:35 UTC
Build: NetBeans IDE Dev (Build 201711170002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.151-b12, Java(TM) SE Runtime Environment, 1.8.0_151-b12
OS: Linux

User Comments:
GUEST: Alt+Shift+I to find an import for Math.

gtzabari: 1. Fix imports.
2. Exception thrown.

muellermi: alt shift i




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidates(ComputeImports.java:254)
   at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:123)
   at org.netbeans.modules.java.editor.imports.FastImportAction$1.run(FastImportAction.java:115)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:523)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
Comment 1 muellermi 2017-11-22 22:29:37 UTC
Created attachment 165490 [details]
stacktrace
Comment 2 Exceptions Reporter 2017-12-22 07:00:17 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=230602
Comment 3 Exceptions Reporter 2018-02-02 02:02:19 UTC
Created attachment 165621 [details]
stacktrace

maven
Comment 4 Exceptions Reporter 2018-05-11 20:33:00 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=230602
Comment 5 Exceptions Reporter 2018-05-11 20:42:00 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=230602
Comment 6 Exceptions Reporter 2018-05-11 20:51:00 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=230602
Comment 7 Exceptions Reporter 2018-05-11 21:00:00 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=230602