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 268353 - NullPointerException at java.util.Collections$UnmodifiableCollection.<init>
Summary: NullPointerException at java.util.Collections$UnmodifiableCollection.<init>
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-05 13:04 UTC by dgbarber
Modified: 2016-10-05 13:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226595


Attachments
stacktrace (5.62 KB, text/plain)
2016-10-05 13:04 UTC, dgbarber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dgbarber 2016-10-05 13:04:37 UTC
Build: NetBeans IDE Dev JDK9 Branch (Build 201610050611)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows 7

User Comments:
dgbarber: Edit class created during new project setup. Any action produces NPE




Stacktrace: 
java.lang.NullPointerException
   at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1026)
   at java.util.Collections$UnmodifiableList.<init>(Collections.java:1302)
   at java.util.Collections.unmodifiableList(Collections.java:1287)
   at com.sun.tools.javac.code.Symbol$ModuleSymbol.getDirectives(Symbol.java:946)
   at org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.dependsOnUnnamed(ModuleClassPaths.java:1016)
   at org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.dependsOnUnnamed(ModuleClassPaths.java:1004)
Comment 1 dgbarber 2016-10-05 13:04:39 UTC
Created attachment 162348 [details]
stacktrace