Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-244

Potential NPE in MessageExchangeDAOImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.1
    • 1.2
    • BPEL Runtime
    • None

    Description

      As reported on the mailing list,
      http://www.nabble.com/Async-Error-tc15802255.html

      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

      Attachments

        Activity

          People

            boisvert Alex Boisvert
            boisvert Alex Boisvert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: