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 268267 - 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-09-29 13:13 UTC by wolfgangweigend
Modified: 2016-09-29 13:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 226345


Attachments
stacktrace (6.40 KB, text/plain)
2016-09-29 13:13 UTC, wolfgangweigend
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wolfgangweigend 2016-09-29 13:13:28 UTC
Build: NetBeans IDE Dev JDK9 Branch (Build 201609270404)
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:
wolfgangweigend: nb 8.1 JDK 9 branch dit not show projects in palette

GUEST: Using netbeans jigsaw build running on jdk8 and using a java SE project with jdk9-jigsaw build 136 as java platform

GUEST: Just trying to reopen netbeans with jdk 9 - 136 jigsaw

GUEST: Added JDK 136 jigsaw as a platform on my desktop for the location.




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:1012)
   at org.netbeans.modules.java.api.common.classpath.ModuleClassPaths$ModuleInfoClassPathImplementation.dependsOnUnnamed(ModuleClassPaths.java:1000)
Comment 1 wolfgangweigend 2016-09-29 13:13:30 UTC
Created attachment 162267 [details]
stacktrace
Comment 2 Tomas Zezula 2016-09-29 13:57:06 UTC
By jdk9-jigsaw you mean JDK9 build from the jigsaw branch or a JDK9 build?
Thanks a lot.