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.

Bug 159010 - NullPointerException at org.netbeans.modules.j2ee.websphere6.ui.wizard.ServerLocationPanel.isValid
Summary: NullPointerException at org.netbeans.modules.j2ee.websphere6.ui.wizard.Server...
Status: RESOLVED DUPLICATE of bug 154408
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-23 20:24 UTC by zadebb
Modified: 2009-04-19 21:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 121348


Attachments
stacktrace (6.83 KB, text/plain)
2009-02-23 20:24 UTC, zadebb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zadebb 2009-02-23 20:24:23 UTC
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)
Comment 1 zadebb 2009-02-23 20:24:30 UTC
Created attachment 77262 [details]
stacktrace
Comment 2 Vince Kraemer 2009-02-23 20:39:49 UTC

*** This issue has been marked as a duplicate of 154408 ***