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/13 22:52:08 UTC
svn commit: r1231322 -
/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Author: lahiru
Date: Fri Jan 13 21:52:08 2012
New Revision: 1231322
URL: http://svn.apache.org/viewvc?rev=1231322&view=rev
Log:
fixing NPE in Interpreter service.
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=1231322&r1=1231321&r2=1231322&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 Fri Jan 13 21:52:08 2012
@@ -765,11 +765,21 @@ public class WorkflowInterpreter {
.getID()));
} else {
- invoker = new GenericInvoker(portTypeQName,
+ if(this.mode == GUI_MODE){
+ //if user configure the msgBox url using the UI we have to pick the latest one which
+ //set by the UI
+ invoker = new GenericInvoker(portTypeQName,
WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(wsNode
.getComponent().getWSDL()), node.getID(),
this.engine.getMonitor().getConfiguration().getMessageBoxURL().toASCIIString(),
gfacURLString, this.notifier);
+ }else{
+ invoker = new GenericInvoker(portTypeQName,
+ WSDLUtil.wsdlDefinitions5ToWsdlDefintions3(wsNode
+ .getComponent().getWSDL()), node.getID(),
+ this.configuration.getMessageBoxURL().toASCIIString(),
+ gfacURLString, this.notifier);
+ }
}
} else {