camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xilai Dai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8510) NPE will be thrown from doAppend() of PaxLoggingConsumer during load testing
Date Thu, 19 Mar 2015 03:49:39 GMT
Xilai Dai created CAMEL-8510:
--------------------------------

             Summary: 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


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