Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20401

camel-kudu: Potential NullPointerException on endpoint stop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.22.1, 4.0.4
    • 3.22.2, 4.4.0
    • camel-kudu
    • None
    • Unknown

    Description

      Something I just stumbled into by accident when testing.

      If instantiation and setup of the KuduClient fails for some reason, its class field will be left null, which causes the client shutdown logic in KuduEndoint.doStop to throw an NPE since it has no null check.

      Attachments

        Activity

          People

            jamesnetherton James Netherton
            jamesnetherton James Netherton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: