You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Guillaume Nodet <gn...@gmail.com> on 2006/09/27 17:28:05 UTC
Re: NullPointerException at jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51) with the 3.0 version
Could you post the full stack trace please ?
On 9/27/06, Hélène JOANIN <he...@bull.net> wrote:
>
> Hi,
>
> When using the service-jms with a "standard" processorName with the last
> ServiceMix version 3.0, I got a
>
> NullPointerException at
> org.apache.servicemix.jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
> when my jms-service-unit is started.
>
> I have a look of the
> -
> org.apache.servicemix.jms.standard.StandardConsumerProcessor
> and
> - org.apache.servicemix.jms.standard.AbstractJmsProcessor
> java sources, and it seems that the InitialContext ctx is null.
> (See
> org.apache.servicemix.jms.standard.AbstractJmsProcessor.start()
> method)
>
> Is it correct ?
> Do I miss something ?
>
> Regards.
> Hélène.
>
>
--
Cheers,
Guillaume Nodet
Re: NullPointerException at jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
with the 3.0 version
Posted by Hélène JOANIN <he...@bull.net>.
Guillaume Nodet wrote:
> It should be easy to fix. Could you please raise a JIRA ?
>
Done. See https://issues.apache.org/activemq/browse/SM-603
Hélène.
Re: NullPointerException at jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51) with the 3.0 version
Posted by Guillaume Nodet <gn...@gmail.com>.
It should be easy to fix. Could you please raise a JIRA ?
On 9/27/06, Hélène JOANIN <he...@bull.net> wrote:
> Guillaume Nodet wrote:
> > Could you post the full stack trace please ?
> Here it 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>
>
> >
> > On 9/27/06, Hélène JOANIN <he...@bull.net> wrote:
> >>
> >> Hi,
> >>
> >> When using the service-jms with a "standard" processorName with the
> >> last
> >> ServiceMix version 3.0, I got a
> >>
> >> NullPointerException at
> >> org.apache.servicemix.jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
> >>
> >> when my jms-service-unit is started.
> >>
> >> I have a look of the
> >> -
> >> org.apache.servicemix.jms.standard.StandardConsumerProcessor
> >> and
> >> - org.apache.servicemix.jms.standard.AbstractJmsProcessor
> >> java sources, and it seems that the InitialContext ctx is null.
> >> (See
> >> org.apache.servicemix.jms.standard.AbstractJmsProcessor.start()
> >> method)
> >>
> >> Is it correct ?
> >> Do I miss something ?
> >>
> >> Regards.
> >> Hélène.
> >>
> >>
> >
> >
>
>
>
--
Cheers,
Guillaume Nodet
Re: NullPointerException at jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
with the 3.0 version
Posted by Hélène JOANIN <he...@bull.net>.
Guillaume Nodet wrote:
> Could you post the full stack trace please ?
Here it 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>
>
> On 9/27/06, Hélène JOANIN <he...@bull.net> wrote:
>>
>> Hi,
>>
>> When using the service-jms with a "standard" processorName with the
>> last
>> ServiceMix version 3.0, I got a
>>
>> NullPointerException at
>> org.apache.servicemix.jms.standard.StandardConsumerProcessor.doStart(StandardConsumerProcessor.java:51)
>>
>> when my jms-service-unit is started.
>>
>> I have a look of the
>> -
>> org.apache.servicemix.jms.standard.StandardConsumerProcessor
>> and
>> - org.apache.servicemix.jms.standard.AbstractJmsProcessor
>> java sources, and it seems that the InitialContext ctx is null.
>> (See
>> org.apache.servicemix.jms.standard.AbstractJmsProcessor.start()
>> method)
>>
>> Is it correct ?
>> Do I miss something ?
>>
>> Regards.
>> Hélène.
>>
>>
>
>