You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2015/03/19 07:20:39 UTC
[jira] [Comment Edited] (CAMEL-8510) NPE will be thrown from
doAppend() of PaxLoggingConsumer during load testing
[ https://issues.apache.org/jira/browse/CAMEL-8510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368577#comment-14368577 ]
Willem Jiang edited comment on CAMEL-8510 at 3/19/15 6:20 AM:
--------------------------------------------------------------
I don't think it's a bug, the executor is set when the PaxloggingConsumer is started, please make the you start the PaxLoggingConsumer rightly.
was (Author: njiang):
I don't think it's a bug, the executor is set when the PaxloggingConsumer started, please make the you start the PaxLoggingConsumer rightly.
> NPE will be thrown from doAppend() of PaxLoggingConsumer during load testing
> ----------------------------------------------------------------------------
>
> Key: CAMEL-8510
> URL: https://issues.apache.org/jira/browse/CAMEL-8510
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.14.2
> Environment: JDK 1.7
> Reporter: Xilai Dai
> Attachments: patch
>
>
> this NPE is thrown sometimes using camel-paxlogging feature and paxlogging bundles.
> {code}
> java.lang.NullPointerException
> at org.apache.camel.component.paxlogging.PaxLoggingConsumer.doAppend(PaxLoggingConsumer.java:58)[59:org.apache.camel.camel-paxlogging:2.14.0]
> at org.ops4j.pax.logging.service.internal.PaxAppenderProxy.doAppend(PaxAppenderProxy.java:63)[4:org.ops4j.pax.logging.pax-logging-service:1.8.1]
> at org.ops4j.pax.logging.service.internal.AppenderBridgeImpl.append(AppenderBridgeImpl.java:67)[4:org.ops4j.pax.logging.pax-logging-service:1.8.1]
> at org.ops4j.pax.logging.service.internal.AppenderBridgeImpl.doAppend(AppenderBridgeImpl.java:61)[4:org.ops4j.pax.logging.pax-logging-service:1.8.1]
> {code}
> the executor should be validated if it's null before use it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)