airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [2/8] airavata git commit: Fixed NPE from output data streaming logic
Date Mon, 14 Dec 2015 16:27:14 GMT
Fixed NPE from output data streaming logic


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/a5ae2f29
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/a5ae2f29
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/a5ae2f29

Branch: refs/heads/master
Commit: a5ae2f29a341c988efe74192797f0a478e6c1287
Parents: 7a0c97a
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Wed Nov 11 16:51:59 2015 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Dec 14 11:18:01 2015 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/a5ae2f29/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
index 4920bed..db6b2ab 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
@@ -321,7 +321,6 @@ public class GFacEngineImpl implements GFacEngine {
                                         streamingTaskModel.setCreationTime(AiravataUtils.getCurrentTimestamp().getTime());
                                         streamingTaskModel.setParentProcessId(processContext.getProcessId());
                                         TaskContext streamingTaskContext = getTaskContext(processContext);
-                                        streamingTaskContext.setTaskStatus(new TaskStatus(TaskState.CREATED));
                                         DataStagingTaskModel submodel = new DataStagingTaskModel();
                                         submodel.setType(DataStageType.OUPUT);
                                         submodel.setProcessOutput(output);


Mime
View raw message