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/24 00:47:54 UTC
svn commit: r1235072 -
/incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Author: lahiru
Date: Mon Jan 23 23:47:54 2012
New Revision: 1235072
URL: http://svn.apache.org/viewvc?rev=1235072&view=rev
Log:
fixing NPE hwen invoking GFac 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=1235072&r1=1235071&r2=1235072&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 Mon Jan 23 23:47:54 2012
@@ -1377,7 +1377,7 @@ public class WorkflowInterpreter {
private void runInThread(final LinkedList<String> listOfValues,
ForEachNode forEachNode, final Node middleNode,
Node[] endForEachNodes,
- Map<Node,Invoker> tempInvoker,
+ Map<Node,Invoker> tempInvoker,
AtomicInteger counter, final Integer[] inputNumber) throws XBayaException {
final LinkedList<Invoker> invokerList = new LinkedList<Invoker>();
@@ -1435,7 +1435,8 @@ public class WorkflowInterpreter {
*/
Node fromNode = port.getFromNode();
// if (fromNode instanceof ForEachNode) {
- inputVal = input;
+ inputVal = ODEClientUtil.parseValue((WSComponentPort) port.getComponentPort(),
+ input);
// }
if (null == inputVal) {