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.5 (Build 200811100001) 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: Adding a server GUEST: This nullpointer exception occured when trying to add an server to netbeans. Exactly after clicking on the "Add Server" button. Tools - Servers - Add Server This problem occured after installing jdk 6 update 12, with jdk 6 update 11 there wasn't any problem. GUEST: i want to add tomcat server externally to netbeans, but this message keep on showing GUEST: Server -> Add Server GUEST: Adding a new server on a fresh install (no servers selected on custom set up) GUEST: this error was found when nb doesn't contain any server in Tools > Server GUEST: Add Server GUEST: I was trying to create a webservice client in my application -> that gave me a incompatibility problem with JDK 6.0 and JAX 2.1 and glassfish. I installed JDK 6.0 build 12 which seems to have fixed this problem but could not change the default JDK Changed default jdk by changing the netbeans.conf file Accidently removed glassfish server from server list. Now clicking add server button gives me this exception Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.websphere6.ui.wizard.ServerLocationPanel.isValid(ServerLocationPanel.java:156) 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) at javax.swing.JPanel.<init>(JPanel.java:92)
Created attachment 77262 [details] stacktrace
*** This issue has been marked as a duplicate of 154408 ***