Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3525

Uncaught exceptions in CLI can produce obtuse "null" error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Duplicate
    • None
    • Legacy/Tools
    • None
    • Low

    Description

      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.

      Attachments

        1. 3525.txt
          0.8 kB
          Nate McCall

        Activity

          People

            zznate Nate McCall
            zznate Nate McCall
            Nate McCall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: