[
https://issues.apache.org/jira/browse/CAMEL-7680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093131#comment-14093131
]
ASF GitHub Bot commented on CAMEL-7680:
---------------------------------------
GitHub user sebbrousse opened a pull request:
https://github.com/apache/camel/pull/234
Fix CAMEL-7680 : Throw NPE when stopping if transport client is used
Protecting an unassigned field when component is stopped
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sebbrousse/camel CAMEL-7680
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/234.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #234
----
commit fe35d1be5d7f8afc4b0c64b40a557931fcc6c802
Author: sebbrousse <[email protected]>
Date: 2014-08-11T18:39:11Z
Fix CAMEL-7680 : Throw NPE when stopping if transport client is used
----
> 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)