You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Thilina Gunarathne (JIRA)" <ji...@apache.org> on 2008/04/04 19:53:24 UTC

[jira] Created: (ODE-261) Server error handling

Server error handling
---------------------

                 Key: ODE-261
                 URL: https://issues.apache.org/jira/browse/ODE-261
             Project: ODE
          Issue Type: Improvement
    Affects Versions: 1.1.1
            Reporter: Thilina Gunarathne


I did a mistake in the event handler I wrote, resulted in a null
pointer exception, which happened immediately after the first receive.
This made the process instance to abort (not sure whether the engine
crashed too), but my client program never got an error back and kept
on waiting... IMHO it's nice to send an error back to the client..

13:01:41,556 ERROR [BpelEngineImpl] Scheduled job failed;
jobDetail={type=INVOKE_INTERNAL,
pid={http://www.extreme.indiana.edu/xwf/bpel/Echo_Workflow_20080321_161030_946/}echo-3,
mexid=hqejbhcnphr3656bmodatr}
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:812)
       at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
       at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
       at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
       at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
       at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
       at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
       at java.util.concurrent.FutureTask.run(FutureTask.java:123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
       at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
       at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
       at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
       at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
       ... 17 more
DEBUG - GeronimoLog.debug(66) | BPEL SERVER STOPPING
13:01:42,164 DEBUG [BpelServerImpl] BPEL SERVER STOPPING
ERROR - GeronimoLog.error(108) | 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:338)
       at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
       at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
       at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
       at java.util.concurrent.FutureTask.run(FutureTask.java:123)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
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:812)
       at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
       at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
       at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
       at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
       ... 11 more
Caused by: java.lang.NullPointerException
       at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
       at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
       at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
       at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
       ... 17 more


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


[jira] Updated: (ODE-261) Handle event linstener failures

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou updated ODE-261:
------------------------------

    Fix Version/s:     (was: 1.3)
                   2.0

> Handle event linstener failures
> -------------------------------
>
>                 Key: ODE-261
>                 URL: https://issues.apache.org/jira/browse/ODE-261
>             Project: ODE
>          Issue Type: Improvement
>    Affects Versions: 1.1.1
>            Reporter: Thilina Gunarathne
>             Fix For: 2.0
>
>
> I did a mistake in the event handler I wrote, resulted in a null
> pointer exception, which happened immediately after the first receive.
> This made the process instance to abort (not sure whether the engine
> crashed too), but my client program never got an error back and kept
> on waiting... IMHO it's nice to send an error back to the client..
> 13:01:41,556 ERROR [BpelEngineImpl] Scheduled job failed;
> jobDetail={type=INVOKE_INTERNAL,
> pid={http://www.extreme.indiana.edu/xwf/bpel/Echo_Workflow_20080321_161030_946/}echo-3,
> mexid=hqejbhcnphr3656bmodatr}
> 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:812)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
>        at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
>        at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        ... 17 more
> DEBUG - GeronimoLog.debug(66) | BPEL SERVER STOPPING
> 13:01:42,164 DEBUG [BpelServerImpl] BPEL SERVER STOPPING
> ERROR - GeronimoLog.error(108) | 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:338)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> 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:812)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        ... 11 more
> Caused by: java.lang.NullPointerException
>        at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
>        at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        ... 17 more

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


[jira] Updated: (ODE-261) Handle event linstener failures

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Riou updated ODE-261:
------------------------------

    Fix Version/s: 1.3
          Summary: Handle event linstener failures  (was: Server error handling)

> Handle event linstener failures
> -------------------------------
>
>                 Key: ODE-261
>                 URL: https://issues.apache.org/jira/browse/ODE-261
>             Project: ODE
>          Issue Type: Improvement
>    Affects Versions: 1.1.1
>            Reporter: Thilina Gunarathne
>             Fix For: 1.3
>
>
> I did a mistake in the event handler I wrote, resulted in a null
> pointer exception, which happened immediately after the first receive.
> This made the process instance to abort (not sure whether the engine
> crashed too), but my client program never got an error back and kept
> on waiting... IMHO it's nice to send an error back to the client..
> 13:01:41,556 ERROR [BpelEngineImpl] Scheduled job failed;
> jobDetail={type=INVOKE_INTERNAL,
> pid={http://www.extreme.indiana.edu/xwf/bpel/Echo_Workflow_20080321_161030_946/}echo-3,
> mexid=hqejbhcnphr3656bmodatr}
> 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:812)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
>        at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
>        at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        ... 17 more
> DEBUG - GeronimoLog.debug(66) | BPEL SERVER STOPPING
> 13:01:42,164 DEBUG [BpelServerImpl] BPEL SERVER STOPPING
> ERROR - GeronimoLog.error(108) | 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:338)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> 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:812)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        ... 11 more
> Caused by: java.lang.NullPointerException
>        at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
>        at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        ... 17 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-261) Server error handling

Posted by "Matthieu Riou (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585717#action_12585717 ] 

Matthieu Riou commented on ODE-261:
-----------------------------------

This should be caught by the engine. We should also add a method on the BpelEventListener interface to tell whether an error is considered a failure or not. Something like:

boolean failOnException();

> Server error handling
> ---------------------
>
>                 Key: ODE-261
>                 URL: https://issues.apache.org/jira/browse/ODE-261
>             Project: ODE
>          Issue Type: Improvement
>    Affects Versions: 1.1.1
>            Reporter: Thilina Gunarathne
>
> I did a mistake in the event handler I wrote, resulted in a null
> pointer exception, which happened immediately after the first receive.
> This made the process instance to abort (not sure whether the engine
> crashed too), but my client program never got an error back and kept
> on waiting... IMHO it's nice to send an error back to the client..
> 13:01:41,556 ERROR [BpelEngineImpl] Scheduled job failed;
> jobDetail={type=INVOKE_INTERNAL,
> pid={http://www.extreme.indiana.edu/xwf/bpel/Echo_Workflow_20080321_161030_946/}echo-3,
> mexid=hqejbhcnphr3656bmodatr}
> 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:812)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
>        at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
>        at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        ... 17 more
> DEBUG - GeronimoLog.debug(66) | BPEL SERVER STOPPING
> 13:01:42,164 DEBUG [BpelServerImpl] BPEL SERVER STOPPING
> ERROR - GeronimoLog.error(108) | 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:338)
>        at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:373)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:341)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4$1.call(SimpleScheduler.java:340)
>        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:179)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:339)
>        at org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:336)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>        at java.lang.Thread.run(Thread.java:595)
> 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:812)
>        at org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeNewInstance(PartnerLinkMyRoleImpl.java:197)
>        at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:194)
>        at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:362)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:328)
>        ... 11 more
> Caused by: java.lang.NullPointerException
>        at edu.indiana.extreme.ode.events.LeadEventListener.onEvent(LeadEventListener.java:24)
>        at org.apache.ode.bpel.engine.BpelEngineImpl.fireEvent(BpelEngineImpl.java:422)
>        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.sendEvent(BpelRuntimeContextImpl.java:1000)
>        at org.apache.ode.bpel.runtime.PROCESS.run(PROCESS.java:49)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
>        ... 17 more

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