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.
Build: NetBeans IDE Dev (Build 201702140002) VM: OpenJDK 64-Bit Server VM, 25.121-b13, OpenJDK Runtime Environment, 1.8.0_121-8u121-b13-0ubuntu1.16.10.2-b13 OS: Linux User Comments: danilopiazza: An error occurred while switching Project Groups GUEST: Opening java project Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.api.common.classpath.ClassPathProviderImpl.getBootClassPath(ClassPathProviderImpl.java:838) at org.netbeans.modules.java.api.common.classpath.ClassPathProviderImpl.findClassPath(ClassPathProviderImpl.java:1147) at org.netbeans.modules.web.project.classpath.ClassPathProviderImpl.findClassPath(ClassPathProviderImpl.java:231) at org.netbeans.spi.java.project.support.ClassPathProviderMerger$ProxyClassPathImplementation.checkProviders(ClassPathProviderMerger.java:176) at org.netbeans.spi.java.project.support.ClassPathProviderMerger$ProxyClassPathImplementation.<init>(ClassPathProviderMerger.java:162) at org.netbeans.spi.java.project.support.ClassPathProviderMerger$CPProvider.findClassPath(ClassPathProviderMerger.java:112)
Created attachment 163650 [details] stacktrace
Seems a project in CPPImpl is null. The web project probably does not provide it. The project should be inferred from the AntProjectHelper not passed by the Builder. I will fix the API to prevent such misuse. Thanks for report!
Created attachment 163651 [details] stacktrace NetBeans build from sources on 2/16/2017. Started on top of JDK9 EA b155 . Create new Java Web > "Web Application" project based on GF - JDK9 EA b155 is default Java platform for this web project. After project has been created following exception occurs.
Fixed jet-main 863e357f7081
Integrated into 'main-silver', will be available in build *201702190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/863e357f7081 User: Tomas Zezula <tzezula@netbeans.org> Log: #269849:NullPointerException at org.netbeans.modules.java.api.common.classpath.ClassPathProviderImpl.getBootClassPath