You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by az...@apache.org on 2007/06/15 14:10:29 UTC
svn commit: r547643 -
/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/commands/UpdateServiceGroupContextCommand.java
Author: azeez
Date: Fri Jun 15 05:10:27 2007
New Revision: 547643
URL: http://svn.apache.org/viewvc?view=rev&rev=547643
Log:
Null check for service group
Modified:
webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/commands/UpdateServiceGroupContextCommand.java
Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/commands/UpdateServiceGroupContextCommand.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/commands/UpdateServiceGroupContextCommand.java?view=diff&rev=547643&r1=547642&r2=547643
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/commands/UpdateServiceGroupContextCommand.java (original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/commands/UpdateServiceGroupContextCommand.java Fri Jun 15 05:10:27 2007
@@ -55,8 +55,10 @@
// If the ServiceGroupContext is not found, create it
if (sgCtx == null) {
AxisServiceGroup axisServiceGroup =
- configContext.getAxisConfiguration()
- .getServiceGroup(serviceGroupName);
+ configContext.getAxisConfiguration().getServiceGroup(serviceGroupName);
+ if(axisServiceGroup == null){
+ return;
+ }
sgCtx = new ServiceGroupContext(configContext, axisServiceGroup);
sgCtx.setId(serviceGroupContextId);
configContext.addServiceGroupContextIntoSoapSessionTable(sgCtx); // TODO: Check this
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org