James Netherton created CAMEL-20401:
---------------------------------------

             Summary: camel-kudu: Potential NullPointerException on endpoint 
stop
                 Key: CAMEL-20401
                 URL: https://issues.apache.org/jira/browse/CAMEL-20401
             Project: Camel
          Issue Type: Bug
          Components: camel-kudu
    Affects Versions: 4.0.4, 3.22.1
            Reporter: James Netherton
            Assignee: James Netherton
             Fix For: 3.22.2, 4.4.0


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to