airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject svn commit: r1235072 - /incubator/airavata/trunk/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/interpretor/WorkflowInterpreter.java
Date Mon, 23 Jan 2012 23:47:54 GMT
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) {



Mime
View raw message