org.jbpm.services.task.exception.CannotAddTaskException: There are no known Business Administrators, task cannot be created according to WS-HT specification

Google Groups | Swapnil Ugare | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    throws execption while start the process

    Google Groups | 1 year ago | Swapnil Ugare
    org.jbpm.services.task.exception.CannotAddTaskException: There are no known Business Administrators, task cannot be created according to WS-HT specification

    Root Cause Analysis

    1. org.jbpm.services.task.exception.CannotAddTaskException

      There are no known Business Administrators, task cannot be created according to WS-HT specification

      at org.jbpm.services.task.commands.UserGroupCallbackTaskCommand.doCallbackOperationForPeopleAssignments()
    2. jBPM :: Human Task Core
      TaskCommandExecutorImpl$SelfExecutionCommandService.execute
      1. org.jbpm.services.task.commands.UserGroupCallbackTaskCommand.doCallbackOperationForPeopleAssignments(UserGroupCallbackTaskCommand.java:241)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final]
      2. org.jbpm.services.task.commands.AddTaskCommand.execute(AddTaskCommand.java:102)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final]
      3. org.jbpm.services.task.commands.AddTaskCommand.execute(AddTaskCommand.java:53)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final]
      4. org.jbpm.services.task.commands.TaskCommandExecutorImpl$SelfExecutionCommandService.execute(TaskCommandExecutorImpl.java:65)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final]
      4 frames
    3. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    4. jBPM :: JPA Human Task Persistence
      TaskTransactionInterceptor.execute
      1. org.jbpm.services.task.persistence.TaskTransactionInterceptor.execute(TaskTransactionInterceptor.java:54)[jbpm-human-task-jpa-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    5. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    6. Drools :: Persistence :: JPA
      TransactionLockInterceptor.execute
      1. org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    7. jBPM :: Human Task Core
      CommandBasedTaskService.addTask
      1. org.jbpm.services.task.commands.TaskCommandExecutorImpl.execute(TaskCommandExecutorImpl.java:40)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final]
      2. org.jbpm.services.task.impl.command.CommandBasedTaskService.addTask(CommandBasedTaskService.java:523)[jbpm-human-task-core-6.2.0.Final.jar:6.2.0.Final]
      2 frames
    8. jBPM :: RuntimeManager
      SynchronizedTaskService.addTask
      1. org.jbpm.runtime.manager.impl.task.SynchronizedTaskService.addTask(SynchronizedTaskService.java:449)[jbpm-runtime-manager-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    9. jBPM :: Human Task WorkItems
      LocalHTWorkItemHandler.executeWorkItem
      1. org.jbpm.services.task.wih.LocalHTWorkItemHandler.executeWorkItem(LocalHTWorkItemHandler.java:61)[jbpm-human-task-workitems-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    10. Drools :: Persistence :: JPA
      JPAWorkItemManager.internalExecuteWorkItem
      1. org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:55)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    11. org.jbpm.workflow
      NodeInstanceImpl.trigger
      1. org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:133)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      2. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:171)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      3. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:364)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      4. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:323)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      5. org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      6. org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      7. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:171)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      7 frames
    12. org.jbpm.ruleflow
      RuleFlowProcessInstance.internalStart
      1. org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    13. org.jbpm.process
      ProcessInstanceImpl.start
      1. org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:236)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    14. org.jbpm.workflow
      WorkflowProcessInstanceImpl.start
      1. org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:389)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    15. org.jbpm.process
      ProcessRuntimeImpl.startProcess
      1. org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:195)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      2. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:177)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      3. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:169)[jbpm-flow-6.2.0.Final.jar:6.2.0.Final]
      3 frames
    16. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1901)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      2. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:122)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      3. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:40)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      4. org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      5. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      5 frames
    17. Drools :: Persistence :: JPA
      SingleSessionCommandService$TransactionInterceptor.execute
      1. org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:548)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    18. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    19. Drools :: Persistence :: JPA
      OptimisticLockRetryInterceptor.execute
      1. org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:73)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    20. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    21. Drools :: Persistence :: JPA
      SingleSessionCommandService.execute
      1. org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:79)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      2. org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:358)[drools-persistence-jpa-6.2.0.Final.jar:6.2.0.Final]
      2 frames
    22. Drools :: Core
      CommandBasedStatefulKnowledgeSession.startProcess
      1. org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:242)[drools-core-6.2.0.Final.jar:6.2.0.Final]
      1 frame
    23. com.servlets
      startProcess.doPost
      1. com.servlets.startProcess.doPost(startProcess.java:146)[classes:]
      1 frame
    24. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
      2 frames
    25. Undertow Servlet
      ServletDispatchingHandler.handleRequest
      1. io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      3. io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      3 frames
    26. WildFly: Undertow
      SecurityContextAssociationHandler.handleRequest
      1. org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
      1 frame
    27. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    28. Undertow Servlet
      ServletAuthenticationCallHandler.handleRequest
      1. io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    29. Undertow Core
      AbstractConfidentialityHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    30. Undertow Servlet
      ServletConfidentialityConstraintHandler.handleRequest
      1. io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    31. Undertow Core
      AuthenticationMechanismsHandler.handleRequest
      1. io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    32. Undertow Servlet
      CachedAuthenticatedSessionHandler.handleRequest
      1. io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      1 frame
    33. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    34. WildFly: Undertow
      JACCContextIdHandler.handleRequest
      1. org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      1 frame
    35. Undertow Core
      PredicateHandler.handleRequest
      1. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    36. Undertow Servlet
      ServletInitialHandler$1.handleRequest
      1. io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      3. io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      4. io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)[undertow-servlet-1.0.15.Final.jar:1.0.15.Final]
      4 frames
    37. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)[undertow-core-1.0.15.Final.jar:1.0.15.Final]
      2 frames
    38. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[rt.jar:1.8.0_66]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[rt.jar:1.8.0_66]
      3. java.lang.Thread.run(Unknown Source)[rt.jar:1.8.0_66]
      3 frames