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
            Priority: Minor


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