AnsweredAssumed Answered

error in delegate java service task when using timer

Question asked by idr_mdi on Nov 1, 2015
Latest reply on Nov 2, 2015 by vasile.dirla
i'm developing a spring java project, i have integrated activiti in the app using jpa and hibernate for the data access.
i'm testing a simple process wich uses a service task using a java delegate to insert data using jpa manager.
the code is :

public class TEST implements JavaDelegate {   
   public void execute(DelegateExecution execution) throws Exception {
      // TODO Auto-generated method stub      
      ITicketManager tm=(ITicketManager) execution.getVariable("ticketManager");
      Ticket ticket=ne ticket();

whene executing this code is this process:
start event –> service task –> end event
i have no probleme, the code execute perfectly
but when i introduce a timer in my process (just to call the service task after 10 secondes):
start event –> timer intermediate catch event –> service tasl –> end event
i have a exeption thrown in the :;

the exeption is

ERROR: org.activiti.engine.impl.asyncexecutor.ExecuteAsyncRunnable - Job 97517 failed
org.springframework.aop.framework.adapter.UnknownAdviceTypeException: Advice object [null] is neither a supported subinterface of [org.aopalliance.aop.Advice] nor an [org.springframework.aop.Advisor]
   at org.springframework.aop.framework.adapter.DefaultAdvisorAdapterRegistry.getInterceptors(
   at org.springframework.aop.framework.DefaultAdvisorChainFactory.getInterceptorsAndDynamicInterceptionAdvice(
   at org.springframework.aop.framework.AdvisedSupport.getInterceptorsAndDynamicInterceptionAdvice(
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
   at com.sun.proxy.$Proxy63.doIt(Unknown Source)
   at com.casaprestations.burs.acp.process.scripts.test.TEST.execute(

i have the job executore enabled.
the activiti version is 5.18.0
thakns for the help