airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: fixing NPE
Date Wed, 06 Jul 2016 20:31:28 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 7addfd916 -> 0bc5513ec


fixing NPE


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

Branch: refs/heads/develop
Commit: 0bc5513ecf5fe671b733b56ef6c3344c416ab244
Parents: 7addfd9
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Jul 6 16:31:24 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Wed Jul 6 16:31:24 2016 -0400

----------------------------------------------------------------------
 .../registry/core/app/catalog/resources/AppInterfaceResource.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/0bc5513e/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppInterfaceResource.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppInterfaceResource.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppInterfaceResource.java
index 3287eab..47d4205 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppInterfaceResource.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/AppInterfaceResource.java
@@ -389,7 +389,7 @@ public class AppInterfaceResource extends AppCatAbstractResource {
                 applicationInterface.setCreationTime(AiravataUtils.getCurrentTimestamp());
                 applicationInterface.setGatewayId(gatewayId);
                 applicationInterface.setArchiveWorkingDirectory(archiveWorkingDirectory);
-                existigAppInterface.setHasOptionalFileInputs(hasOptionalFileInputs);
+                applicationInterface.setHasOptionalFileInputs(hasOptionalFileInputs);
                 em.persist(applicationInterface);
             }
             em.getTransaction().commit();


Mime
View raw message