Hi,

I am using jbpm 3.0.2 with jboss 4.0.3 with mysql database. 
I am getting the following error when the timer is fired:
 
16:34:32,794 WARN  [Timer] timer action threw exception
  | java.lang.NullPointerException
  |         at org.jbpm.mennen.DoNothing.execute(DoNothing.java:25)
  |         at org.jbpm.graph.def.Action.execute(Action.java:79)
  |         at org.jbpm.scheduler.exe.Timer.execute(Timer.java:61)
  |         at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
  | .java:81)
  |         at 
org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:34)
  | 16:34:32,904 INFO  [STDOUT] Hibernate: select exceptionh0_.NODE_ as 
NODE7_1_, ex
  | ceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, 
excep
  | tionh0_.ID_ as ID1_233_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as 
EXCEPTIO2_233_0_,
  |  exceptionh0_.TYPE_ as TYPE3_233_0_, exceptionh0_.GRAPHELEMENT_ as 
GRAPHELE4_233
  | _0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.NODE_=?
  | 16:34:32,974 INFO  [STDOUT] Hibernate: select 
exceptionh0_.PROCESSDEFINITION_ as
  |  PROCESSD5_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ 
as GR
  | APHELE6_1_, exceptionh0_.ID_ as ID1_233_0_, 
exceptionh0_.EXCEPTIONCLASSNAME_ as
  | EXCEPTIO2_233_0_, exceptionh0_.TYPE_ as TYPE3_233_0_, 
exceptionh0_.GRAPHELEMENT_
  |  as GRAPHELE4_233_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where 
exceptionh0_.
  | PROCESSDEFINITION_=?
  | 16:34:32,985 ERROR [Timer] unhandled timer exception
  | org.jbpm.graph.def.DelegationException
  |         at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:299)
  | 
  |         at 
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:293)
  | 
  |         at org.jbpm.scheduler.exe.Timer.execute(Timer.java:71)
  |         at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
  | .java:81)
  |         at 
org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:34)
  | Caused by: java.lang.NullPointerException
  |         at org.jbpm.mennen.DoNothing.execute(DoNothing.java:25)
  |         at org.jbpm.graph.def.Action.execute(Action.java:79)
  |         at org.jbpm.scheduler.exe.Timer.execute(Timer.java:61)
  |         ... 2 more


Here is the code of the process definition:

  | <process-definition name="TestingTimers">
  |   
  |    <swimlane name="tester">
  |       <assignment expression="user(mennen)"></assignment>
  |    </swimlane>
  |    
  |    
  |    <start-state name="tester Timer 2">
  |     <task swimlane="tester">
  |             <controller>
  |             <variable name="Comments"/>
  |             </controller>
  |        </task>
  |       <transition name="" to="state1"></transition>
  |    </start-state>
  |    
  |    <state name="state1">
  |     <timer name='reminder' 
  |            duedate='60 business seconds' 
  |            repeat='10 business seconds'
  |            transition='end2'>
  |            <action class='org.jbpm.mennen.DoNothing' />
  |    </timer>
  |     <transition name="" to="end1"></transition>
  |    </state>
  |    
  |    <end-state name="end1"></end-state>
  |    <end-state name="end2"></end-state>
  |    
  | </process-definition>
  | 

Thanks in advance

Mennen

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to