sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheol...@apache.org
Subject git commit: SQOOP-784: Creating job for connection with id > 1 will results in NullPointerException
Date Mon, 17 Dec 2012 21:30:26 GMT
Updated Branches:
  refs/heads/sqoop2 75d43e6ea -> 5c90d407f


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/5c90d407
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/5c90d407
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/5c90d407

Branch: refs/heads/sqoop2
Commit: 5c90d407fb9526b0fc7b41b67b0a966537c59189
Parents: 75d43e6
Author: Cheolsoo Park <cheolsoo@apache.org>
Authored: Mon Dec 17 13:29:53 2012 -0800
Committer: Cheolsoo Park <cheolsoo@apache.org>
Committed: Mon Dec 17 13:29:53 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/5c90d407/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