[jboss-user] [JBoss jBPM] - Re: NullPointerException executing timer

smigniot do-not-reply at jboss.com
Fri Feb 9 03:34:48 EST 2007


We have the same issue using the simplest workflow here :

   <state name="validateIn20seconds">
  |       <transition name="" to="validated" />
  |       <transition name="missed" to="notvalidated" />
  |       <timer duedate="20 seconds" transition="missed">
  | 	      <action class="action.DoNothing" />
  |       </timer>
  |    </state>
  |    <state name="validated">
  |       <transition name="" to="end"></transition>
  |    </state>
  |    <state name="notvalidated">
  |       <transition name="" to="end"></transition>
  |    </state>
  | 

We're using the SchedulerServlet to execute timers
so the error is not due to your mechanism. We obtain
the same error : 

INFO: runtime exception while executing timers
  | java.lang.NullPointerException
  |         at org.jbpm.graph.def.GraphElement.getRuntimeActionsForEvent(GraphElement.java:259)
  |         at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:186)
  |         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:597)
  |         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:147)
  |         at org.jbpm.graph.node.State$$EnhancerByCGLIB$$d55a4606.fireAndPropagateEvent(<generated>)
  |         at org.jbpm.scheduler.exe.Timer.execute(Timer.java:77)
  |         at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:118)
  |         at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:70)

No idea what the solution is ...
We're using Jbpm as recommended by the docs.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013496#4013496

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013496



More information about the jboss-user mailing list