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

Summary: NullPointerException at java.util.Collections$UnmodifiableCollection.<init>
Product: java Reporter: dgbarber <dgbarber>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226595
Attachments: stacktrace

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