[ 
https://issues.apache.org/activemq/browse/SM-603?page=comments#action_37064 ] 
            
Helene Joanin commented on SM-603:
----------------------------------

Guillaume, Thanks for your commit. It fix this problem and my example works 
fine now with this fix.


> NullPointerException at 
> org.apache.servicemix.jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-603
>                 URL: https://issues.apache.org/activemq/browse/SM-603
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jms
>    Affects Versions: 3.0
>         Environment: use of the service-jms with a "standard" processorName 
> with the last ServiceMix version 3.0
>            Reporter: Helene Joanin
>         Assigned To: Guillaume Nodet
>             Fix For: 3.0.1, 3.1
>
>
> 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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to