Jarek Jarcec Cecho created SQOOP-1040:
-----------------------------------------

             Summary: Sqoop2: NPE in TableDisplayer 
                 Key: SQOOP-1040
                 URL: https://issues.apache.org/jira/browse/SQOOP-1040
             Project: Sqoop
          Issue Type: Bug
    Affects Versions: 1.99.2
            Reporter: Jarek Jarcec Cecho
            Assignee: Jarek Jarcec Cecho
            Priority: Trivial
             Fix For: 1.99.3


I've created connection without name and displayed it with {{TableDisplayer}} 
which lead to following NPE:

{code}
sqoop:000> show connection                       
Exception has occurred during processing command 
Exception: java.lang.NullPointerException Message: null
Stack trace:
         at  org.apache.sqoop.client.utils.TableDisplayer 
(TableDisplayer.java:109)  
         at  org.apache.sqoop.client.utils.TableDisplayer 
(TableDisplayer.java:49)  
         at  org.apache.sqoop.client.shell.ShowConnectionFunction 
(ShowConnectionFunction.java:79)  
         at  org.apache.sqoop.client.shell.ShowConnectionFunction 
(ShowConnectionFunction.java:55)  
         at  org.apache.sqoop.client.shell.SqoopFunction 
(SqoopFunction.java:46)  
         at  org.apache.sqoop.client.shell.ShowCommand (ShowCommand.java:82)  
         at  org.apache.sqoop.client.shell.SqoopCommand (SqoopCommand.java:127) 
 
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to