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 200806161120) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Windows Vista, 6.0, x86 User Comments: Opening netbeans
Created attachment 63673 [details] stacktrace
Please attach the content of the C:\User\<name>\.netbeans\6.1\config\J2EE\InstalledServers\.nbattrs file.
I erased this bad entry in this file but it used to look like: <fileobject name="instance_2"> ....... <attr name="url" stringvalue="[C:\Program Files\glassfish-v2]deployer:Sun:AppServer::null:null"/> ..... </fileobject> The interesting fact is I added this server using standard wizard, but this wizard wasn't asking me about the hots address (I picked remote domain, then it asked me about username and password only!). When I clicked finish, the server added was not visible, after NB restart no servers were visible in the tree.
Thanks for the additional info. That will give me enough info to try to reproduce the issue.
http://hg.netbeans.org/main/rev/0e59873ff938
Integrated into 'main-golden', will be available in build *200809240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0e59873ff938 User: Vince Kraemer <vkraemer@netbeans.org> Log: #138602: avoid an NPE if password is null....
*** Bug 178187 has been marked as a duplicate of this bug. ***