You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2009/03/19 01:33:50 UTC
[jira] Created: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
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.
[jira] Commented: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683258#action_12683258 ]
Alexis Midon commented on ODE-557:
----------------------------------
do we know why the Job id is null?
> 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.
[jira] Commented: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Mark Ford (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683510#action_12683510 ]
Mark Ford commented on ODE-557:
-------------------------------
Does this also fix https://issues.apache.org/jira/browse/ODE-422 ?
> 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.
[jira] Resolved: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert resolved ODE-557.
-------------------------------
Resolution: Fixed
Fixed in 1.x branch,
boisvert@sixtine:~/svn/ode/1.1$ svn commit -m "ODE-557: NPE in Job.equals() when doing process-to-process invocations" bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java
Sending bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelRuntimeContextImpl.java
Transmitting file data .
Committed revision 755800.
> 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.
[jira] Commented: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683256#action_12683256 ]
Alex Boisvert commented on ODE-557:
-----------------------------------
Also fixed in trunk,
boisvert@sixtine:~/svn/ode/trunk/engine$ svn commit -m "ODE-557: NPE in Job.equals() when doing process-to-process invocations" .
Sending engine/src/main/java/org/apache/ode/bpel/engine/ODEProcess.java
Transmitting file data .
Committed revision 755801.
> 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.
[jira] Commented: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Ciaran Jessup (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683523#action_12683523 ]
Ciaran Jessup commented on ODE-557:
-----------------------------------
We raised ODE-422, our concern was that the Job contructor let you construct an instance of the object without an Id but the equals + hashCode methods depended on it ? (plus it kept crashing our processes ;) )
> 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.
[jira] Closed: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexis Midon closed ODE-557.
----------------------------
> 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
> Reporter: Alex Boisvert
> Fix For: 1.3.1
>
>
> 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.
[jira] Commented: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683323#action_12683323 ]
Alex Boisvert commented on ODE-557:
-----------------------------------
Yes, because there is no InvokeCheck job created for process-to-process communication; it is assumed to be reliable. I'm not sure why we didn't catch this earlier, but I suspect we didn't test the specific combination of process-to-process, request-response mex, and persistent processes.
> 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.
[jira] Commented: (ODE-557) NPE in Job.equals() when doing
process-to-process invocations
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683512#action_12683512 ]
Alex Boisvert commented on ODE-557:
-----------------------------------
There's a good chance the issues are related but the fixes are different. (I didn't notice ODE-422 before... but my preference would be to prevent the creation of Jobs with a null id to catch errors early (fail-fast) instead of silently ignoring an invalid state.
> 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.