You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2013/05/11 17:49:15 UTC

[jira] [Created] (SQOOP-1040) Sqoop2: NPE in TableDisplayer

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