cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Yaskevich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1836) cassandra-cli NullPointerException on EOF
Date Wed, 08 Dec 2010 15:20:03 GMT

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

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

This was fixed by one of the the previous CLI tasks. I can't reproduce this in mac/linux (branch:
cassandra-0.7, latest commit 55d8d53876486344ac425428e42ee570cc86bf4e)

> 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.
> [default@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.


Mime
View raw message