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 8.2 (Build 201609230201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b04, Java(TM) SE Runtime Environment, 1.8.0_112-ea-b04 OS: Windows 10 User Comments: ytn01: I installed FCS build. Started it,.. and upon prompt, imported settings from an existing NB 8.1 installation. (IDE started indexing Maven repostiories in the background) Then, manually registered a Tomcat 8.0.36 installation I have. Then, updated the Java DB configuration to point to a custom installation that I have. Then switched to the projects window from Services window,.. and Exception got thrown. GUEST: NPE clicking Properties in context menu on a Web Project. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$PlatformComboBoxModel.getPlatformNames(PlatformUiSupport.java:793) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$PlatformComboBoxModel.getSelectedItem(PlatformUiSupport.java:754) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport$SourceLevelComboBoxModel.<init>(PlatformUiSupport.java:917) at org.netbeans.modules.java.api.common.ui.PlatformUiSupport.createSourceLevelComboBoxModel(PlatformUiSupport.java:492) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.init(WebProjectProperties.java:410) at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.<init>(WebProjectProperties.java:360)
Created attachment 162217 [details] stacktrace
Created attachment 162218 [details] stacktrace I installed FCS build. Started it,.. and upon prompt, imported settings from an existing NB 8.1 installation. (IDE started indexing Maven repostiories in the background) Then, manually registered a Tomcat 8.0.36 installation I have. Then, updated the Java DB configuration to point to a custom installation that I have. Then switched to the projects window from Services window,.. and RIGHT CLICKED on a Java Web Project that was opened from last session. and Exception got thrown. The RIGHT CLICK seems to be the triggering cause.
(In reply to ytn01 from comment #2) > Created attachment 162218 [details] > stacktrace > > I installed FCS build. > Started it,.. and upon prompt, imported settings from an existing NB 8.1 > installation. (IDE started indexing Maven repostiories in the background) > Then, manually registered a Tomcat 8.0.36 installation I have. > Then, updated the Java DB configuration to point to a custom installation > that I have. > Then switched to the projects window from Services window,.. and RIGHT > CLICKED on a Java Web Project that was opened from last session. > > and Exception got thrown. The RIGHT CLICK seems to be the triggering cause. I meant to say,.. RIGHT CLICK and Click on Properties.
I've got the same NPE after created new Java Web Application project via wizard, not from existing sources. After project is created, attempt to open Project Properties throws the same NPE. Looks like FCS stopper
Created attachment 162231 [details] EJB Jar project stacktrace NPE when Properties of EJB Jar project should be opened.
Happens for several project types.
Duplicate of P1 issue #268222. *** This bug has been marked as a duplicate of bug 268222 ***
Verified to No longer occurs on FCS 09/27
Thanks for verification.