sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject [5/10] git commit: SQOOP-784: Creating job for connection with id > 1 will results in NullPointerException
Date Tue, 18 Dec 2012 02:46:11 GMT
SQOOP-784: Creating job for connection with id > 1 will results
in NullPointerException

(Jarek Jarcec Cecho via Cheolsoo Park)


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

Branch: refs/heads/branch-1.99.1
Commit: b9b5bf92c89ce8150765ae8440413e273b645eeb
Parents: 08c1451
Author: Cheolsoo Park <cheolsoo@apache.org>
Authored: Mon Dec 17 13:29:53 2012 -0800
Committer: Jarek Jarcec Cecho <jarcec@apache.org>
Committed: Mon Dec 17 17:37:47 2012 -0800

----------------------------------------------------------------------
 .../sqoop/client/shell/CreateJobFunction.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/b9b5bf92/client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java b/client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java
index 2b55adc..1f01cc7 100644
--- a/client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java
+++ b/client/src/main/java/org/apache/sqoop/client/shell/CreateJobFunction.java
@@ -105,7 +105,7 @@ public class CreateJobFunction extends  SqoopFunction {
 
     connectorBean = readConnector(String.valueOf(connection.getConnectorId()));
     MConnector connector = connectorBean.getConnectors().get(0);
-    ResourceBundle connectorBundle = connectorBean.getResourceBundles().get(connection.getPersistenceId());
+    ResourceBundle connectorBundle = connectorBean.getResourceBundles().get(connector.getPersistenceId());
 
     MJob.Type jobType = MJob.Type.valueOf(type.toUpperCase());
 


Mime
View raw message