You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Guillaume Nodet <gn...@gmail.com> on 2007/01/22 16:40:52 UTC

NPE

I have the following NPE, why I have a hard time trying to understand
where the problem comes from:

java.lang.NullPointerException
        at org.apache.ode.bpel.engine.BpelProcess$PartnerLinkMyRoleImpl.invokeMyRole(BpelProcess.java:429)
        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:201)
        at org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.invoke(MyRoleMessageExchangeImpl.java:114)
        at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:228)
        at org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:140)
        at org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:47)
        at org.apache.ode.jbi.Receiver$1.run(Receiver.java:190)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)


It seems the BpelProcess.getProcessDAO() always return null, because
the processes collection in org.apache.ode.dao.jpa.BPELDAOConnectionImpl
is always empty ...  If someone has some hints ...

-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/

Re: NPE

Posted by Guillaume Nodet <gn...@gmail.com>.
I'm to investigate this problem, but i 'm a bit lost ...
It seems the jpa BPELDAOConnectionImpl is not a
managed entity anymore, so that everything fails now.
It is my understanding that the problems comes from this
change: http://fisheye3.cenqua.com/changelog/ode?cs=496474

Thoughts ?


On 1/22/07, Guillaume Nodet <gn...@gmail.com> wrote:
> I have the following NPE, why I have a hard time trying to understand
> where the problem comes from:
>
> java.lang.NullPointerException
>         at org.apache.ode.bpel.engine.BpelProcess$PartnerLinkMyRoleImpl.invokeMyRole(BpelProcess.java:429)
>         at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:201)
>         at org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.invoke(MyRoleMessageExchangeImpl.java:114)
>         at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:228)
>         at org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:140)
>         at org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:47)
>         at org.apache.ode.jbi.Receiver$1.run(Receiver.java:190)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
>
> It seems the BpelProcess.getProcessDAO() always return null, because
> the processes collection in org.apache.ode.dao.jpa.BPELDAOConnectionImpl
> is always empty ...  If someone has some hints ...
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>


-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/