1 Reply Latest reply on Nov 14, 2012 4:07 AM by Maciej Swiderski

    Cannot Add Task

    tmmaluleke Newbie

      Hello,

       

      I'm trying to run my project and I ecounted this problem what may be the course of this Error: please help?

       

      org.jbpm.task.service.CannotAddTaskException: Server-side Exception: There are no known Business Administrators, task cannot be created according to WS-HT specification

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

          at java.lang.reflect.Constructor.newInstance(Unknown Source)

          at org.jbpm.task.service.responsehandlers.AbstractBaseResponseHandler.createSideException(AbstractBaseResponseHandler.java:73)

          at org.jbpm.task.service.responsehandlers.AbstractBlockingResponseHandler.waitTillDone(AbstractBlockingResponseHandler.java:48)

          at org.jbpm.process.workitem.wsht.BlockingAddTaskResponseHandler.getTaskId(BlockingAddTaskResponseHandler.java:38)

          at register.ProcessTest.main(ProcessTest.java:74)

       

      cheers

        • 1. Re: Cannot Add Task
          Maciej Swiderski Master

          it means that you have user group callback configured that verifies if users given as part of the task (people assignments) are valid users and if not, it removes it. WS-HT specification enforces to have at least one business administrator available when creating a task. So make sure your user group callback has business administrator user as known entity.

           

          HTH