You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by az...@apache.org on 2008/09/30 09:00:49 UTC
svn commit: r700362 -
/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/ContextClusteringCommandFactory.java
Author: azeez
Date: Tue Sep 30 00:00:49 2008
New Revision: 700362
URL: http://svn.apache.org/viewvc?rev=700362&view=rev
Log:
Null check
Modified:
webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/ContextClusteringCommandFactory.java
Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/ContextClusteringCommandFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/ContextClusteringCommandFactory.java?rev=700362&r1=700361&r2=700362&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/ContextClusteringCommandFactory.java (original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/context/ContextClusteringCommandFactory.java Tue Sep 30 00:00:49 2008
@@ -205,8 +205,10 @@
log.debug("sending property =" + key + "-" + prop);
}
PropertyDifference diff = (PropertyDifference) diffs.get(key);
- diff.setValue(prop);
- updateCmd.addProperty(diff);
+ if (diff != null) {
+ diff.setValue(prop);
+ updateCmd.addProperty(diff);
+ }
} else {
String msg =
"Trying to replicate non-serializable property " + key +