Abhitocode opened a new issue, #1922:
URL: https://github.com/apache/incubator-kie-issues/issues/1922

   But When using a Start Timer Event with bpmn2:timeDuration, the process 
fails to start and throws the following exception:
    
   ```
   Caused by: java.lang.IllegalArgumentException: The repeatLimit must be 
greater or equal han zero, but is: -1
        at 
org.kie.kogito.jobs.api.JobCallbackResourceDef.translateLimit(JobCallbackResourceDef.java:111)
        at 
org.kie.kogito.jobs.api.JobCallbackResourceDef.buildSchedule(JobCallbackResourceDef.java:100)
        at 
org.kie.kogito.jobs.embedded.EmbeddedJobsService.scheduleJob(EmbeddedJobsService.java:62)
        at 
org.kie.kogito.jobs.embedded.EmbeddedJobsService_ClientProxy.scheduleJob(Unknown
 Source)
        at 
org.jbpm.process.instance.AbstractProcessRuntime.initStartTimers(AbstractProcessRuntime.java:103)
        at 
org.jbpm.process.instance.LightProcessRuntime.initStartTimers(LightProcessRuntime.java:93)
        at 
org.jbpm.process.instance.LightProcessRuntime.<init>(LightProcessRuntime.java:87)
        at 
org.jbpm.process.instance.LightProcessRuntime.of(LightProcessRuntime.java:68)
        at 
org.kie.kogito.process.impl.AbstractProcess.createProcessRuntime(AbstractProcess.java:292)
        at 
org.kie.kogito.process.impl.AbstractProcess.activate(AbstractProcess.java:223)
        at com.example.Start_timerProcess.<init>(Start_timerProcess.java:17)
        at com.example.Start_timerProcess_Bean.doCreate(Unknown Source)
        at com.example.Start_timerProcess_Bean.create(Unknown Source)
        at com.example.Start_timerProcess_Bean.create(Unknown Source)
    
   ```
   This happens even when the timeDuration value is valid (e.g., PT10S).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to