[ 
https://issues.apache.org/jira/browse/CAMEL-7680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093135#comment-14093135
 ] 

Sébastien Brousse commented on CAMEL-7680:
------------------------------------------

I propose a (very simple) patch on github (PR #234). I could not imagine any 
unit test to add with the patch. 

> Throw NPE when stopping if transport client is used
> ---------------------------------------------------
>
>                 Key: CAMEL-7680
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7680
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-elasticsearch
>    Affects Versions: 2.13.2
>            Reporter: Sébastien Brousse
>            Priority: Minor
>         Attachments: stacktrace.txt
>
>
> Hi,
> When I stop my route, the component throws a NPE in the log. Considering the 
> source code (ElasticsearchEndpoint class), it seems that the *node* field 
> (Line 96) is not assigned when the *ip* parameter is set.
> StackTrace is attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to