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 138602 - NullPointerException at org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentManager.getPassword
Summary: NullPointerException at org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentMan...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL: http://statistics.netbeans.org/except...
Keywords:
: 178187 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-30 11:15 UTC by pkaczyns
Modified: 2010-03-01 16:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 70760


Attachments
stacktrace (1.92 KB, text/plain)
2008-06-30 11:16 UTC, pkaczyns
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pkaczyns 2008-06-30 11:15:23 UTC
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
Comment 1 pkaczyns 2008-06-30 11:16:31 UTC
Created attachment 63673 [details]
stacktrace
Comment 2 Vince Kraemer 2008-07-01 00:23:55 UTC
Please attach the content of the C:\User\<name>\.netbeans\6.1\config\J2EE\InstalledServers\.nbattrs file.
Comment 3 pkaczyns 2008-07-01 08:42:21 UTC
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.
Comment 4 Vince Kraemer 2008-07-01 14:56:41 UTC
Thanks for the additional info.  That will give me enough info to try to reproduce the issue.
Comment 5 Vince Kraemer 2008-09-23 21:01:20 UTC
http://hg.netbeans.org/main/rev/0e59873ff938
Comment 6 Quality Engineering 2008-09-24 05:46:52 UTC
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....
Comment 7 Vince Kraemer 2010-03-01 16:36:27 UTC
*** Bug 178187 has been marked as a duplicate of this bug. ***