You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/05/13 04:07:16 UTC

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

    [ https://issues.apache.org/jira/browse/SQOOP-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655711#comment-13655711 ] 

Hudson commented on SQOOP-1040:
-------------------------------

Integrated in Sqoop2-hadoop200 #279 (See [https://builds.apache.org/job/Sqoop2-hadoop200/279/])
    SQOOP-1040: Sqoop2: NPE in TableDisplayer (Revision c452ffcaacb17d50a558925eb408417894844195)

     Result = FAILURE
kathleen : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=c452ffcaacb17d50a558925eb408417894844195
Files : 
* client/src/main/java/org/apache/sqoop/client/utils/TableDisplayer.java

                
> 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
>
>         Attachments: bugSQOOP-1040.patch
>
>
> 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