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.
Summary: | NullPointerException at org.netbeans.modules.java.api.common.classpath.ClassPathProviderImpl.getBootClassPath | ||
---|---|---|---|
Product: | java | Reporter: | danilopiazza |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mbalin |
Priority: | P1 | ||
Version: | Dev | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 228043 |
Attachments: |
stacktrace
stacktrace |
Description
danilopiazza
2017-02-16 14:45:39 UTC
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 |