ServiceMix
  1. ServiceMix
  2. SM-603

NullPointerException at org.apache.servicemix.jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0.1, 3.1
    • Component/s: servicemix-jms
    • Labels:
      None
    • Environment:

      use of the service-jms with a "standard" processorName with the last ServiceMix version 3.0

      Description

      Got
      NullPointerException at ....jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
      when using the service-jms with a "standard" processorName with the last ServiceMix version 3.0.
      It seems that the InitialContext ctx is not initialize in org.apache.servicemix.jms.standard.AbstractJmsProcessor.start().

      The complete stack-trace is:
      <stack-trace><![CDATA[java.lang.NullPointerException
      at org.apache.servicemix.jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
      at org.apache.servicemix.jms.AbstractJmsProcessor.start(AbstractJmsProcessor.java:77)
      at org.apache.servicemix.soap.SoapEndpoint.activate(SoapEndpoint.java:351)
      at org.apache.servicemix.common.ServiceUnit.start(ServiceUnit.java:50)
      at org.apache.servicemix.common.BaseServiceUnitManager.start(BaseServiceUnitManager.java:149)
      at org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.start(ServiceUnitLifeCycle.java:103)
      at org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(ServiceAssemblyLifeCycle.java:130)
      at org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:374)
      at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:297)
      at org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(AutoDeploymentService.java:592)
      at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:595)
      ]]></stack-trace>

        Activity

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Helene Joanin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development