You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2024/02/09 09:16:00 UTC

[jira] [Resolved] (CAMEL-20401) camel-kudu: Potential NullPointerException on endpoint stop

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

James Netherton resolved CAMEL-20401.
-------------------------------------
    Resolution: Fixed

> 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: 3.22.1, 4.0.4
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Minor
>             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)