[jboss-cvs] JBossAS SVN: r78980 - trunk/webservices/src/main/org/jboss/wsf/container/jboss50.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 1 04:33:44 EDT 2008
Author: richard.opalka at jboss.com
Date: 2008-10-01 04:33:43 -0400 (Wed, 01 Oct 2008)
New Revision: 78980
Modified:
trunk/webservices/src/main/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
Log:
[JBWS-2264] preventing NPE, but still working on proper solution
Modified: trunk/webservices/src/main/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
===================================================================
--- trunk/webservices/src/main/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-10-01 06:29:00 UTC (rev 78979)
+++ trunk/webservices/src/main/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-10-01 08:33:43 UTC (rev 78980)
@@ -58,22 +58,30 @@
public void create(Deployment deployment)
{
- deploymentManager.create(deployment, this);
+ // TODO: [JBWS-2264] just a NPE prevention, proper fix is still needed
+ if (deploymentManager != null)
+ deploymentManager.create(deployment, this);
}
public void start(Deployment deployment)
{
- deploymentManager.start(deployment, this);
+ // TODO: [JBWS-2264] just a NPE prevention, proper fix is still needed
+ if (deploymentManager != null)
+ deploymentManager.start(deployment, this);
}
public void stop(Deployment deployment)
{
- deploymentManager.stop(deployment, this);
+ // TODO: [JBWS-2264] just a NPE prevention, proper fix is still needed
+ if (deploymentManager != null)
+ deploymentManager.stop(deployment, this);
}
public void destroy(Deployment deployment)
{
- deploymentManager.destroy(deployment, this);
+ // TODO: [JBWS-2264] just a NPE prevention, proper fix is still needed
+ if (deploymentManager != null)
+ deploymentManager.destroy(deployment, this);
}
// ---------------------------------------------------------------------------------
More information about the jboss-cvs-commits
mailing list