ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Maletta" <simonemale...@alice.it>
Subject Async Error
Date Mon, 03 Mar 2008 11:35:19 GMT
Hi guys,
    I'm writing a sample to try to understand the way I have to deploy my master thesis, and
I wrote this two partnerLinkTypes int my examplle wsdl:

<partnerLinkType name="in">
    <role name="receive" portType="inPT"/>
</partnerLinkType>

<partnerLinkType name="out">
    <role name="read" portType="outPT"/>
</partnerLinkType>

and in the bpel:
<partnerLink name="inPL" partnerLinkType="in" myRole="receive"/>

<partnerLink name="outPL" partnerLinkType="out" partnerRole="read"/>

and I invoke async operation on them, respectivly a receive and an invoke.
Trying to invoke my process I get the following error:

ERROR - BpelEngineImpl                 - Scheduled job failed; jobDetail={ckey=-1~hqejbhcnphr334wev5cdp2,
correlatorId=16.echoResp, inmem=false, iid=3287, type=MATCHER}
java.lang.NullPointerException
        at org.apache.ode.dao.jpa.MessageExchangeDAOImpl.getCorrelationKeys(MessageExchangeDAOImpl.java:320)
        at org.apache.ode.dao.jpa.CorrelatorDAOImpl.dequeueMessage(CorrelatorDAOImpl.java:74)
        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.matcherEvent(BpelRuntimeContextImpl.java:1316)
        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:342)
        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
ERROR - SimpleScheduler                - Error while executing transaction
org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: java.lang.NullPointerException
        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:364)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:335)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:334)
        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:173)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:333)
        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:330)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at org.apache.ode.dao.jpa.MessageExchangeDAOImpl.getCorrelationKeys(MessageExchangeDAOImpl.java:320)
        at org.apache.ode.dao.jpa.CorrelatorDAOImpl.dequeueMessage(CorrelatorDAOImpl.java:74)
        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.matcherEvent(BpelRuntimeContextImpl.java:1316)
        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:342)
        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:318)
        ... 11 more


Where this error come from?
Is there a way, using Dynamic Partner Link in my background, to solve this problem?
Or I have to use message correlation?

How I may extract sender address from a message incoming into inPT portType using inPL partnerLink?

Please help me!!!
Thank you all,
Simone
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message