NPE in Job.equals() when doing process-to-process invocations
-------------------------------------------------------------

                 Key: ODE-557
                 URL: https://issues.apache.org/jira/browse/ODE-557
             Project: ODE
          Issue Type: Bug
          Components: BPEL Runtime
    Affects Versions: 1.3, 1.3.1
            Reporter: Alex Boisvert



When executing process-to-process invocation, the following may occur:

09:41:41,873 ERROR [org.apache.ode.scheduler.simple.SimpleScheduler] 
[ODEServer-16] Error while executing transaction
org.apache.ode.bpel.iapi.Scheduler$JobProcessorException: 
java.lang.RuntimeException: java.lang.NullPointerException
at 
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:425)
at 
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:377)
at 
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:390)
at 
org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:384)
at 
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
at 
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:383)
at 
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:380)
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.RuntimeException: java.lang.NullPointerException
at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
at 
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:844)
at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:414)
at 
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:415)
... 11 more
Caused by: java.lang.NullPointerException
at org.apache.ode.scheduler.simple.Job.equals(Job.java:55)
at java.util.PriorityQueue.indexOf(PriorityQueue.java:287)
at java.util.PriorityQueue.remove(PriorityQueue.java:305)
at 
java.util.concurrent.PriorityBlockingQueue.remove(PriorityBlockingQueue.java:313)
at 
org.apache.ode.scheduler.simple.SchedulerThread.dequeue(SchedulerThread.java:123)
at 
org.apache.ode.scheduler.simple.SimpleScheduler.cancelJob(SimpleScheduler.java:175)
at 
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.releasePartnerMex(BpelRuntimeContextImpl.java:1241)
at org.apache.ode.bpel.runtime.INVOKE$2.onResponse(INVOKE.java:168)
at sun.reflect.GeneratedMethodAccessor386.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
... 15 more 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to