camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8510) NPE will be thrown from doAppend() of PaxLoggingConsumer during load testing
Date Thu, 19 Mar 2015 06:29:38 GMT

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

Claus Ibsen commented on CAMEL-8510:
------------------------------------

I pushed a fix where the order is flipped.

> 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
>            Assignee: Willem Jiang
>         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)

Mime
View raw message