You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Sathwik Bantwal Premakumar (JIRA)" <ji...@apache.org> on 2017/08/29 10:17:00 UTC
[jira] [Resolved] (ODE-665) Publish / Subscribe unit test throws
error
[ https://issues.apache.org/jira/browse/ODE-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sathwik Bantwal Premakumar resolved ODE-665.
--------------------------------------------
Resolution: Won't Fix
Closing old issues.
> Publish / Subscribe unit test throws error
> ------------------------------------------
>
> Key: ODE-665
> URL: https://issues.apache.org/jira/browse/ODE-665
> Project: ODE
> Issue Type: Bug
> Affects Versions: 1.3.3
> Environment: ODE unit tests
> Reporter: Rafal Rusin
> Assignee: Karthick Sankarachary
>
> buildr _1.2.10_ test:PubSubTest
> gives sometimes NPE and sometimes a following exception. Sometimes there's no sign of test error, but those exceptions show up in logs.
> [junit] <message><TestPart>Hello World</TestPart></message>
> [junit] ERROR - JacobVPU$JacobThreadImpl.run(463) | Method "run" in class "org.apache.ode.bpel.runtime.REPLY" threw an unexpected exception.
> [junit] java.lang.IllegalStateException: Not in REQUEST state!
> [junit] at org.apache.ode.bpel.engine.MessageExchangeImpl.setResponse(MessageExchangeImpl.java:166)
> [junit] at org.apache.ode.bpel.engine.PartnerRoleMessageExchangeImpl.reply(PartnerRoleMessageExchangeImpl.java:83)
> [junit] at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.reply(BpelRuntimeContextImpl.java:551)
> [junit] at org.apache.ode.bpel.runtime.REPLY.run(REPLY.java:64)
> [junit] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:585)
> [junit] at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
> [junit] at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
> [junit] at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:849)
> [junit] at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:203)
> [junit] at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:202)
> [junit] at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:370)
> [junit] at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:419)
> [junit] at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> [junit] at org.apache.ode.il.MockScheduler.doExecute(MockScheduler.java:261)
> [junit] at org.apache.ode.il.MockScheduler.access$000(MockScheduler.java:46)
> [junit] at org.apache.ode.il.MockScheduler$3$1.call(MockScheduler.java:110)
> [junit] at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:134)
> [junit] at org.apache.ode.il.MockScheduler$4.call(MockScheduler.java:147)
> [junit] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> [junit] at java.lang.Thread.run(Thread.java:595)
> [junit] ERROR - BpelEngineImpl.onScheduledJob(428) | Scheduled job failed; jobDetail={type=INVOKE_INTERNAL, inmem=true, mexid=4611686018427387905, pid={http://ode/bpel/unit-test}HelloWorld1-1}
> [junit] java.lang.RuntimeException: java.lang.IllegalStateException: Not in REQUEST state!
> [junit] at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
> [junit] at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
> [junit] at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:849)
> [junit] at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:203)
> [junit] at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:202)
> [junit] at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:370)
> [junit] at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:419)
> [junit] at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
> [junit] at org.apache.ode.il.MockScheduler.doExecute(MockScheduler.java:261)
> [junit] at org.apache.ode.il.MockScheduler.access$000(MockScheduler.java:46)
> [junit] at org.apache.ode.il.MockScheduler$3$1.call(MockScheduler.java:110)
> [junit] at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:134)
> [junit] at org.apache.ode.il.MockScheduler$4.call(MockScheduler.java:147)
> [junit] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
> [junit] at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
> [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
> [junit] at java.lang.Thread.run(Thread.java:595)
> [junit] Caused by: java.lang.IllegalStateException: Not in REQUEST state!
> [junit] at org.apache.ode.bpel.engine.MessageExchangeImpl.setResponse(MessageExchangeImpl.java:166)
> [junit] at org.apache.ode.bpel.engine.PartnerRoleMessageExchangeImpl.reply(PartnerRoleMessageExchangeImpl.java:83)
> [junit] at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.reply(BpelRuntimeContextImpl.java:551)
> [junit] at org.apache.ode.bpel.runtime.REPLY.run(REPLY.java:64)
> [junit] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
> [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:585)
> [junit] at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
> [junit] ... 17 more
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)