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:40:17 UTC

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

Author: lahiru
Date: Fri Jan 13 21:40:17 2012
New Revision: 1231317

URL: http://svn.apache.org/viewvc?rev=1231317&view=rev
Log:
fixing NPE in WorkflowInterpreter 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=1231317&r1=1231316&r2=1231317&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:40:17 2012
@@ -167,6 +167,7 @@ public class WorkflowInterpreter {
 		this.mode = SERVER_MODE;
 		this.retryFailed = false;
 		this.runWithCrossProduct = this.configuration.isRunWithCrossProduct();
+        provenanceWriter = new PredicatedTaskRunner(1);
 	}
 
 
@@ -195,7 +196,7 @@ public class WorkflowInterpreter {
                 }
                 this.mode = SERVER_MODE;
                 this.retryFailed = false;
-            provenanceWriter = new PredicatedTaskRunner(1);
+                provenanceWriter = new PredicatedTaskRunner(1);
 
         }