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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.14.2
    • Fix Version/s: 2.14.3, 2.15.1, 2.16.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      JDK 1.7

    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: