cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate McCall (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3525) Uncaught exceptions in CLI can produce obtuse "null" error message
Date Tue, 22 Nov 2011 21:58:40 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-3525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nate McCall updated CASSANDRA-3525:
-----------------------------------

    Attachment: 3525.txt

Adds the exception class name if no other meaningful information is available regarding the
error.
                
> Uncaught exceptions in CLI can produce obtuse "null" error message
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-3525
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3525
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.0.3
>            Reporter: Nate McCall
>            Assignee: Nate McCall
>            Priority: Minor
>         Attachments: 3525.txt
>
>
> CliMain#processStatementInteractive method relies on the getMessage method of Exception.
This method can return null per JavaDocs on Exception hierarchy. 
> Checking for null and dumping the exception class would be more useful, particularly
to new users reporting problems.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message