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 6.1 (Build 200805300101) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Windows XP, 5.1, x86 User Comments: GUEST: Right clicked on a project and selected the "Resolve Missing Server Problem". In the "Resolve Missing Server Problem" windows I clicked the button "Add Server...". GUEST: Attempted to create a new Web project. The error appeared when I tried to register a web server. GUEST: Trying to create new Enterprise Application. Exception occurs when trying to click "Add..." button on "Server and Settings" page. GUEST: I am trying to register a server for the petstore sample application. The exception occured when I clicked on the [Add Server...] button. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ui.wizard.ServerChooserVisual.isServerValid(ServerChooserVisual.java:133) at org.netbeans.modules.j2ee.deployment.impl.ui.wizard.ServerChooserVisual.isValid(ServerChooserVisual.java:125) at java.awt.Component.invalidateIfValid(Component.java:2740) at java.awt.Component.setLocale(Component.java:1810) at javax.swing.JComponent.<init>(JComponent.java:595) at javax.swing.JPanel.<init>(JPanel.java:65)
Created attachment 76583 [details] stacktrace
I think this is the bug that phejl spoke of in http://www.netbeans.org/issues/show_bug.cgi?id=150223#desc23 Petr: please confirm and close as you see fit.
Build: NetBeans IDE Dev (Build 200902121452) VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Linux, 2.6.27-11-generic, amd64 User Comments: Resolve Missing Server Problem - pushed "Add Server" button Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.deployment.impl.ui.wizard.ServerChooserVisual.isServerValid(ServerChooserVisual.java:133) at org.netbeans.modules.j2ee.deployment.impl.ui.wizard.ServerChooserVisual.isValid(ServerChooserVisual.java:125) at java.awt.Component.invalidateIfValid(Component.java:2740) at java.awt.Component.setLocale(Component.java:1810) at javax.swing.JComponent.<init>(JComponent.java:595) at javax.swing.JPanel.<init>(JPanel.java:65)
Created attachment 76954 [details] stacktrace
This has been fixed in main 3caf7410e83f. Mentioned in issue 157948.
verified in NB6.5.1 with Win Vista and JDK1.6.0_13
*** Issue 162893 has been marked as a duplicate of this issue. ***
*** Issue 168784 has been marked as a duplicate of this issue. ***