Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-603

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0.1, 3.1
    • servicemix-jms
    • None
    • 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>

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            joaninh Helene Joanin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: