java.lang.RuntimeException: This task with id: 7661 cannot be released:

GitHub | gsteimer | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.RuntimeException

    This task with id: 7661 cannot be released:

    at com.tsgrp.opencontent.activiti.workflow.ActivitiWorkflowImpl.releaseTask()
  2. com.tsgrp.opencontent
    ActivitiWorkflowImpl.releaseTask
    1. com.tsgrp.opencontent.activiti.workflow.ActivitiWorkflowImpl.releaseTask(ActivitiWorkflowImpl.java:608)
    1 frame
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  4. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    3 frames
  5. com.tsgrp.opencontent
    EmbeddedAlfrescoAdvice$1.execute
    1. com.tsgrp.opencontent.alfresco.core.EmbeddedAlfrescoAdvice$1.execute(EmbeddedAlfrescoAdvice.java:70)
    1 frame
  6. org.alfresco.repo
    RetryingTransactionHelper.doInTransaction
    1. org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
    1 frame
  7. com.tsgrp.opencontent
    EmbeddedAlfrescoAdvice.invoke
    1. com.tsgrp.opencontent.alfresco.core.EmbeddedAlfrescoAdvice.invoke(EmbeddedAlfrescoAdvice.java:83)
    1 frame
  8. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    2 frames
  9. com.sun.proxy
    $Proxy354.releaseTask
    1. com.sun.proxy.$Proxy354.releaseTask(Unknown Source)
    1 frame
  10. com.tsgrp.opencontent
    RESTAction.executeActionPost
    1. com.tsgrp.opencontent.core.action.executer.workflow.UnacquireWorkflowTaskActionExecuter.executeImpl(UnacquireWorkflowTaskActionExecuter.java:51)
    2. com.tsgrp.opencontent.core.action.executer.AbstractActionExecuter.execute(AbstractActionExecuter.java:198)
    3. com.tsgrp.opencontent.core.action.executer.AbstractActionExecuter.evaluateAndExecute(AbstractActionExecuter.java:137)
    4. com.tsgrp.opencontent.core.action.service.CoreActionService.execute(CoreActionService.java:427)
    5. com.tsgrp.opencontent.core.action.service.RESTAction.executeActionPost(RESTAction.java:191)
    5 frames