Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3055

jbpm.persistence.JbpmPersistenceException: couldn't assign id to org.jbpm.graph.exe.ProcessInstance

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Optional Optional
    • jBPM 3.2.x
    • jBPM 3.2.2
    • None
    • None

      I've been got this exception

      org.jbpm.persistence.JbpmPersistenceException: couldn't assign id to org.jbpm.graph.exe.ProcessInstance@1db8d2b
      	at org.jbpm.persistence.db.DbPersistenceService.assignId(DbPersistenceService.java:226)
      	at org.jbpm.svc.Services.assignId(Services.java:235)
      	at org.jbpm.graph.exe.ProcessInstance.<init>(ProcessInstance.java:95)
      	at com.forgon.workflow.util.WorkflowUtil.initProcessInstance(WorkflowUtil.java:207)
      	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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      	at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      	at $Proxy58.initProcessInstance(Unknown Source)
      	at com.forgon.csair.training.traininginstance.controller.TrainingInstanceFormController.onBind(TrainingInstanceFormController.java:73)
      	at org.springframework.web.servlet.mvc.BaseCommandController.bindAndValidate(BaseCommandController.java:392)
      	at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:263)
      	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      

      It doesn't happen everytime when I submit the form,sometimes there's no exceptions,sometimes there is.
      is there anyone can help me with this question?

              marco.rietveld Marco Rietveld (Inactive)
              jiangsiyu_jira 威 宋 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: