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 - NullPointerException at org.netbeans.modules.java.editor.imports.ComputeImports.computeCandidates
Summary: NullPointerException at org.netbeans.modules.java.editor.imports.ComputeImpor...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-22 22:29 UTC by muellermi
Modified: 2018-05-11 21:00 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 230602


Attachments
stacktrace (5.49 KB, text/plain)
2017-11-22 22:29 UTC, muellermi
Details
stacktrace (5.49 KB, text/plain)
2018-02-02 02:02 UTC, Exceptions Reporter
Details

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