AnsweredAssumed Answered

Problem Realising Task to the pool

Question asked by mduduzi on Nov 19, 2014
Latest reply on Jan 16, 2015 by mduduzi
I get the following error when realizing a claim task to the the pool, it just hangs:
1. I have installed alvex enterprise

{
    "status" :
  {
    "code" : 401,
    "name" : "Unauthorized",
    "description" : "The request requires HTTP authentication."
  }, 
 
  "message" : "10190020 Failed to update workflow task with id: activiti$91217", 
  "exception" : "org.springframework.extensions.webscripts.WebScriptException - 10190020 Failed to update workflow task with id: activiti$91217",
 
  "callstack" :
  [
       ""      ,"java.lang.NullPointerException"
      ,"com.alvexcore.repo.activiti.OrgchartDelegationsManager.notify(OrgchartDelegationsManager.java:245)"
      ,"com.alvexcore.repo.workflow.activiti.AssignTaskListener.notify(AlvexPostBpmnParseHandler.java:76)"
      ,"org.activiti.engine.impl.delegate.TaskListenerInvocation.invoke(TaskListenerInvocation.java:34)"
      ,"org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)"
      ,"org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)"
      ,"org.activiti.engine.impl.persistence.entity.TaskEntity.fireEvent(TaskEntity.java:533)"
      ,"org.activiti.engine.impl.persistence.entity.TaskEntity.setAssignee(TaskEntity.java:438)"
      ,"org.activiti.engine.impl.cmd.AddIdentityLinkCmd.execute(AddIdentityLinkCmd.java:69)"
      ,"org.activiti.engine.impl.cmd.AddIdentityLinkCmd.execute(AddIdentityLinkCmd.java:24)"
      ,"org.activiti.engine.impl.cmd.NeedsActiveTaskCmd.execute(NeedsActiveTaskCmd.java:61)"
      ,"org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)"
      ,"org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)"
      ,"org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)"
      ,"org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)"
      ,"org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)"
      ,"org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31)"
      ,"org.activiti.engine.impl.TaskServiceImpl.setAssignee(TaskServiceImpl.java:114)"
      ,"org.alfresco.repo.workflow.activiti.properties.ActivitiPropertyConverter.setTaskOwner(ActivitiPropertyConverter.java:822)"
      ,"org.alfresco.repo.workflow.activiti.properties.ActivitiPropertyConverter.setTaskProperties(ActivitiPropertyConverter.java:799)"
      ,"org.alfresco.repo.workflow.activiti.properties.ActivitiPropertyConverter.updateTask(ActivitiPropertyConverter.java:1050)"
      ,"org.alfresco.repo.workflow.activiti.ActivitiWorkflowEngine.updateTask(ActivitiWorkflowEngine.java:2207)"
      ,"org.alfresco.repo.workflow.WorkflowServiceImpl.updateTask(WorkflowServiceImpl.java:984)"
      ,"sun.reflect.GeneratedMethodAccessor1296.invoke(Unknown Source)"
      ,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
      ,"java.lang.reflect.Method.invoke(Method.java:606)"
      ,"org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)"
      ,"org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:164)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)"
      ,"com.sun.proxy.$Proxy62.updateTask(Unknown Source)"
      ,"org.alfresco.repo.web.scripts.workflow.TaskInstancePut.buildModel(TaskInstancePut.java:72)"
      ,"org.alfresco.repo.web.scripts.workflow.AbstractWorkflowWebscript.executeImpl(AbstractWorkflowWebscript.java:81)"
      ,"org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:433)"
      ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:553)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)"
      ,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)"
      ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:727)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
      ,"org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
      ,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)"
      ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)"
      ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)"
      ,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)"
      ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)"
      ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)"
      ,"org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)"
      ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)"
      ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)"
      ,"org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)"
      ,"org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)"
      ,"org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)"
      ,"org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)"
      ,"java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)"
      ,"java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)"
      ,"java.lang.Thread.run(Thread.java:724)"
      ,"org.activiti.engine.ActivitiException: Exception while invoking TaskListener: null"
      ,"org.activiti.engine.impl.persistence.entity.TaskEntity.fireEvent(TaskEntity.java:537)"
      ,"org.alfresco.service.cmr.workflow.WorkflowException: 10190038 Failed to update workflow task activiti$91217."
      ,"org.alfresco.repo.workflow.activiti.ActivitiWorkflowEngine.updateTask(ActivitiWorkflowEngine.java:2219)"
      ,"org.springframework.extensions.webscripts.WebScriptException: 10190020 Failed to update workflow task with id: activiti$91217"
      ,"org.alfresco.repo.web.scripts.workflow.TaskInstancePut.buildModel(TaskInstancePut.java:100)"

  ],
 
  "server" : "Enterprise v4.2.2 (r70245-b51) schema 6,056",
  "time" : "Nov 19, 2014 3:54:57 PM"
}

Outcomes