airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramin...@apache.org
Subject [1/2] git commit: Added a check to fix AIRAVATA-1439.
Date Wed, 17 Sep 2014 13:30:02 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 8abc4d3ca -> 014c12384


Added a check to fix AIRAVATA-1439.

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

Branch: refs/heads/master
Commit: 1e79c244d30a2c157566cd57a022271a3397f357
Parents: 05b9be7
Author: raminder <raminder@apache.org>
Authored: Wed Sep 17 09:29:30 2014 -0400
Committer: raminder <raminder@apache.org>
Committed: Wed Sep 17 09:29:30 2014 -0400

----------------------------------------------------------------------
 .../apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/1e79c244/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
b/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
index 116d769..b575157 100644
--- a/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
+++ b/modules/gfac/gfac-ssh/src/main/java/org/apache/airavata/gfac/ssh/handler/AdvancedSCPOutputHandler.java
@@ -119,7 +119,7 @@ public class AdvancedSCPOutputHandler extends AbstractHandler {
                         this.passPhrase);
             }
             // Server info
-            if(jobExecutionContext.getTaskData().getAdvancedOutputDataHandling().getOutputDataDir()
!= null){
+            if(jobExecutionContext.getTaskData().getAdvancedOutputDataHandling() != null
&& jobExecutionContext.getTaskData().getAdvancedOutputDataHandling().getOutputDataDir()
!= null){
             	try{
             	URL outputPathURL = new URL(jobExecutionContext.getTaskData().getAdvancedOutputDataHandling().getOutputDataDir());
             	this.userName = outputPathURL.getUserInfo();


Mime
View raw message