You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2012/01/11 23:35:44 UTC

svn commit: r1230297 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Author: lahiru
Date: Wed Jan 11 22:35:44 2012
New Revision: 1230297

URL: http://svn.apache.org/viewvc?rev=1230297&view=rev
Log:
fixing NPE during invocation of interpreterservice.

Modified:
    incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java

Modified: incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java?rev=1230297&r1=1230296&r2=1230297&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java (original)
+++ incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java Wed Jan 11 22:35:44 2012
@@ -751,8 +751,8 @@ public class WorkflowInterpreter {
 				}
 
 				invoker = new WorkflowInvokerWrapperForGFacInvoker(
-						portTypeQName, gfacURLString, this.configuration
-								.getMessageBoxURL().toString(), leadCtxHeader,
+						portTypeQName, gfacURLString,
+                        this.engine.getMonitor().getConfiguration().getMessageBoxURL().toString(), leadCtxHeader,
 						this.notifier.createServiceNotificationSender(node
 								.getID()));
 
@@ -760,7 +760,7 @@ public class WorkflowInterpreter {
 				invoker = new GenericInvoker(portTypeQName,
 						WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(wsNode
 								.getComponent().getWSDL()), node.getID(),
-						this.configuration.getMessageBoxURL().toString(),
+						this.engine.getMonitor().getConfiguration().getMessageBoxURL().toASCIIString(),
 						gfacURLString, this.notifier);
 			}
 
@@ -1326,7 +1326,7 @@ public class WorkflowInterpreter {
 			for (Iterator<String> iterator = listOfValues.iterator(); iterator
 					.hasNext();) {
 				String input = iterator.next();
-				final String gfacURLString = this.engine.getConfiguration()
+				final String gfacURLString = this.configuration
 						.getGFacURL().toString();
 
 				if (middleNode instanceof WSNode) {