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 258357 - NullPointerException at com.sun.tools.javac.code.Scope$NamedImportScope.importType
Summary: NullPointerException at com.sun.tools.javac.code.Scope$NamedImportScope.impor...
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 13:41 UTC by Ralph Ruijs
Modified: 2016-03-14 13:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222999


Attachments
stacktrace (2.76 KB, text/plain)
2016-03-14 13:41 UTC, Ralph Ruijs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2016-03-14 13:41:41 UTC
Build: NetBeans IDE Dev (Build 20160304-a50df38b7692)
VM: OpenJDK 64-Bit Server VM, 25.74-b02, OpenJDK Runtime Environment, 1.8.0_74-b02
OS: Linux

User Comments:
ralphbenjamin: Tried to add a module dependency for a missing import




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Scope$NamedImportScope.importType(Scope.java:763)
   at org.netbeans.api.java.source.SourceUtils.resolveImport(SourceUtils.java:441)
   at org.netbeans.modules.apisupport.project.java.hints.errors.SearchModuleDependency$OpenDependencyDialogFix$1$1.run(SearchModuleDependency.java:434)
   at org.netbeans.modules.apisupport.project.java.hints.errors.SearchModuleDependency$OpenDependencyDialogFix$1$1.run(SearchModuleDependency.java:430)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:486)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
Comment 1 Ralph Ruijs 2016-03-14 13:41:43 UTC
Created attachment 158847 [details]
stacktrace