Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8510

NPE will be thrown from doAppend() of PaxLoggingConsumer during load testing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.14.2
    • 2.14.3, 2.15.1, 2.16.0
    • None
    • None
    • JDK 1.7

    • Unknown

    Description

      this NPE is thrown sometimes using camel-paxlogging feature and paxlogging bundles.

      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]
      

      the executor should be validated if it's null before use it.

      Attachments

        1. patch
          1 kB
          Xilai Dai

        Activity

          People

            davsclaus Claus Ibsen
            xldai Xilai Dai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: