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 271064

Summary: NullPointerException at java.util.Collections$UnmodifiableCollection.<init>
Product: java Reporter: jnk <jnk>
Component: NavigationAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal CC: Alrazihi, java1cprog
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229672
Attachments: stacktrace
stacktrace

Description jnk 2017-07-09 18:34:54 UTC
Build: NetBeans IDE Dev (Build 20170602-f7a5425ed684)
VM: OpenJDK 64-Bit Server VM, 9-internal+0-adhoc.MyMacBook.jdk9, OpenJDK Runtime Environment, 9-internal+0-adhoc.MyMacBook.jdk9
OS: Mac OS X

User Comments:
jnk: Testing Java Modular project.




Stacktrace: 
java.lang.NullPointerException
   at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1027)
   at java.util.Collections$UnmodifiableList.<init>(Collections.java:1303)
   at java.util.Collections.unmodifiableList(Collections.java:1290)
   at com.sun.tools.javac.code.Symbol$ModuleSymbol.getDirectives(Symbol.java:987)
   at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:300)
   at org.netbeans.modules.java.navigation.ElementScanningTask$PositionVisitor.visitModule(ElementScanningTask.java:239)
Comment 1 jnk 2017-07-09 18:34:57 UTC
Created attachment 164729 [details]
stacktrace
Comment 2 Exceptions Reporter 2017-09-22 15:02:34 UTC
Created attachment 165160 [details]
stacktrace

tried to create a module
Comment 3 Exceptions Reporter 2017-10-03 15:47:41 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=229672