ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sume...@apache.org
Subject svn commit: r575042 - /webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
Date Wed, 12 Sep 2007 19:01:12 GMT
Author: sumedha
Date: Wed Sep 12 12:01:08 2007
New Revision: 575042

URL: http://svn.apache.org/viewvc?rev=575042&view=rev
Log:
Added a null check for RMSBean

Modified:
    webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java

Modified: webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java?rev=575042&r1=575041&r2=575042&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
(original)
+++ webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/handlers/SequenceIDDispatcher.java
Wed Sep 12 12:01:08 2007
@@ -91,10 +91,12 @@
 					//If this is the RMS of the sequence 
 					RMSBean rmsBean = SandeshaUtil.getRMSBeanFromSequenceId(storageManager, sequenceID);
 
-					String serviceName = rmsBean.getServiceName();
-					if (serviceName != null) {
-						service = configurationContext.getAxisConfiguration()
-								.getService(serviceName);
+					if(rmsBean != null){
+						String serviceName = rmsBean.getServiceName();
+						if (serviceName != null) {
+							service = configurationContext.getAxisConfiguration()
+									.getService(serviceName);
+						}
 					}
 				}
 



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message