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 75752 - NPE possible on calculate local server or not
Summary: NPE possible on calculate local server or not
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-01 22:58 UTC by _ ludo
Modified: 2006-05-01 23:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ ludo 2006-05-01 22:58:05 UTC
From Sridatta:
on an ide resinstall, when using a combination of stop/start from runtime tab
and deploy, there is a NPE...

Regression introduced recently via an otpimization for calculating if the server
is local or not.
Demoblocker :-(

library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
do-dist:
dist:
java.lang.NullPointerException
       at
org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentManager.calculateIsLocal(SunDeploymentManager.java:706)
       at
org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentManager.<init>(SunDeploymentManager.java:154)
       at
org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentFactory.getDisconnectedDeploymentManager(SunDeploymentFactory.java:91)
       at
org.netbeans.modules.j2ee.deployment.impl.Server.getDisconnectedDeploymentManager(Server.java:138)
Comment 1 _ ludo 2006-05-01 22:58:29 UTC
Easy fix...
Comment 2 _ ludo 2006-05-01 23:01:16 UTC
regression introduced by fixes for 72693 and 71247.
Comment 3 _ ludo 2006-05-01 23:15:09 UTC
fixed.