Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3781

Errors.exceptionName() can throw NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.0.1, 0.10.1.0
    • Component/s: None
    • Labels:

      Description

      When calling Errors.exceptionName() on the NONE error an NPE is thrown.

      public String exceptionName() {
         return exception.getClass().getName();
       }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ijuma Ismael Juma
                Reporter:
                granthenke Grant Henke
                Reviewer:
                Ewen Cheslack-Postava
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: