[ 
https://issues.apache.org/jira/browse/CASSANDRA-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969348#action_12969348
 ] 

Pavel Yaskevich commented on CASSANDRA-1836:
--------------------------------------------

No problem at all, Paul. Switched to latest trunk (commit 
27d32956cc9252cfb47bab24f4a9d079f22044ff) can't reproduce too. I think we can 
resolve this issue.

> cassandra-cli NullPointerException on EOF
> -----------------------------------------
>
>                 Key: CASSANDRA-1836
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1836
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.0 rc 1
>         Environment: Debian Squeeze amd64, Linux 2.6.32 x86_64
>            Reporter: paul cannon
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> When using ctrl-D to exit cassandra-cli (a common sort of thing for a 
> prompt-based command-line tool), cassandra-cli does exit, but throws an NPE 
> as well, which does not inspire confidence in its stability:
> {noformat}
> % cassandra-cli --host localhost
> Connected to: "Test Cluster" on localhost/9160
> Welcome to cassandra CLI.
> Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.
> [defa...@unknown] (*) Exception in thread "main" 
> java.lang.NullPointerException
>       at org.apache.cassandra.cli.CliMain.main(CliMain.java:328)
> {noformat}
> (the ctrl-D was sent at the position marked by (*).)  The error shows up 
> whether or not one has connected to a keyspace or done work in the cli.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to