8 Replies Latest reply on Aug 23, 2006 10:53 AM by auré manga

    swimlane user assigment seems to doesn't work

    auré manga Novice

      Hi all,

      I created a process where I have two differents swimlane role:

      <swimlane name='Swimlane1' >
       <assignment expression='user(ernie)'/>
      </swimlane>
      
      <swimlane name='Swimlane2' >
       <assignment expression='user(bert)'/>
      </swimlane>
      


      I affect for each role a task in order to see if the swimlane works:

       <task-node name='DeclarationSinistre'>
       <task swimlane='FONCIA'>
       </task>
       <transition name='' to='EnregistrementSinistre'>"+"</transition>
      </task-node>
      
      <task-node name='EnregistrementSinistre'>
       <task swimlane='Assurimo'>
       </task>
       <transition name='' to='ControlePrime'></transition>
      </task-node>


      In my java file I initialise the context and declare my swimlane:

      ProcessInstance processInstance = new ProcessInstance(processDefinition);
      JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
      
      try {
       jbpmContext.deployProcessDefinition(processDefinition);
       ///////////////////////////////////////////////////////////////
       Swimlane s = new Swimlane("Swimlane1");
       processInstance.getProcessDefinition().getTaskMgmtDefinition().addSwimlane(s);
       System.out.println(s);
       s.addTask(processInstance.getProcessDefinition().getTaskMgmtDefinition().getTask("DeclarationSinistre"));
      


      For see if my swimlane works I put in the JbpmContext the user of the second swimlane, and execute my process:

       jbpmContext.setActorId("bert");Token token = processInstance.getRootToken();
       nameProcess=processInstance.getProcessDefinition().getName();
       System.out.println("nom de l'utilisateur est:"+ jbpmContext.getActorId());
       this.setNameProcess(nameProcess);
       token.signal();
       currentNode=token.getNode().getName();
       this.setCurrentNode(currentNode);
       System.out.println("noeud courant:"+currentNode);
       jbpmContext.save(token);
       jbpmContext.save(processInstance);
       Map session = (Map) ActionContext.getContext().get("session");
       session.put("process",processInstance); session.put("processName",nameProcess);
      }
      finally {
       System.out.println("dans finally");
       jbpmContext.close();
       System.out.println("fermeture du context");
       }
      


      When I execute my process, my task is execute while the user is a user of swimlane2, and in the anothers tasks where the swimlane role is different (alternance of swimlane1 and swimlane2) the process continue to be executed like there isn't any swimlane role.

      Somebody can help me to put in the context the user in order to be seen by the swimlane, please.

      I hope, I explain well because it's difficult to explain exactly my problem. I will try to summary now:

      I have two swimlane role I declare in my processdefinition the both and when I execute my process the changement of role in ignored. And the assigment by setActorId too.

      can you help me to resolve my problem please

      antitrust1982

        • 1. Re: swimlane user assigment seems to doesn't work
          auré manga Novice

          Hello,
          what I must do, in order to assign in my portlet execution the assignment of my portlet? Do I use the good class in order to assign my task? What I must do to assign it to my specific person?

          help me please.


          antitrsut1982

          • 2. Re: swimlane user assigment seems to doesn't work
            auré manga Novice

            Hello all,

            As Nobody can help me I try anything. I use a code find in an another post, in order to execute my swimlane:

            package com.opensymphony.webwork.portlet.tutorial;
            
            import java.util.*;
            import java.util.ArrayList;
            
            
            import org.jbpm.graph.def.ProcessDefinition;
            import org.jbpm.graph.exe.ProcessInstance;
            import org.jbpm.db.*;
            import org.jbpm.graph.exe.Token;
            import org.jbpm.taskmgmt.exe.*;
            import org.jbpm.taskmgmt.log.TaskCreateLog;
            import org.jbpm.graph.exe.*;
            
            import com.opensymphony.xwork.ActionContext;
            import com.opensymphony.xwork.ActionSupport;
            import org.jbpm.*;
            
            import org.jbpm.taskmgmt.def.*;
            
            public class CreateProcessInstanceAction extends ActionSupport{
            
             private String nameProcess;
             private String currentNode;
            
             static JbpmConfiguration jbpmConfiguration = null;
             static ProcessDefinition processDefinition= null;
            
             public void setNameProcess(String nameProcess) {
             System.out.println("set NameProcess");
             this.nameProcess = nameProcess;
             }
            
             public String getNameProcess() {
             System.out.println("get NameProcess");
             return nameProcess;
             }
            
             public void setCurrentNode(String currentNode) {
             System.out.println("set currentNode");
             this.currentNode = currentNode;
             }
            
             public String getCurrentNode() {
             System.out.println("get currentNode");
             return currentNode;
             }
            
             public Long instantiate(ProcessDefinition pd, String userId) {
             Long instanceId = null;
             System.out.println("JBPM session factory");
             JbpmSessionFactory jbpmSessionFactory = JbpmSessionFactory.getInstance();
             System.out.println("JBPM session");
             JbpmSession jbpmSession = jbpmSessionFactory.openJbpmSession();
             System.out.println("Graph session");
             GraphSession graphSession = jbpmSession.getGraphSession();
             System.out.println("Task management");
             TaskMgmtSession taskMgmtSession = jbpmSession.getTaskMgmtSession();
             System.out.println("instance des session ok");
            
             System.out.println("process definition instance");
             System.out.println("PROCESS NAME:"+ pd.getName());
             jbpmSession.beginTransaction();
             ProcessInstance pi = new ProcessInstance(pd);
             System.out.println("PROCESS INSTANCE ID:"+ pi.getId());
             //This ensures that all swimlanes are initialized and available for reporting and reassignment immediately.
             //If we don't initialize them up front, they won't be created until a task calls for them.
            
             Map swimlanes = pd.getTaskMgmtDefinition().getSwimlanes();
             Iterator itr = swimlanes.keySet().iterator();
             while(itr.hasNext()) {
             Swimlane swimlane = (Swimlane)swimlanes.get(itr.next());
             System.out.println("SWIMLANE CREE:"+ swimlane.getName());
             SwimlaneInstance swi = pi.getTaskMgmtInstance().getInitializedSwimlaneInstance(new ExecutionContext(pi.getRootToken()), swimlane);
             //We have to do this cause it doesn't automatically happen when we
             // call swimlaneInstance.setPooledActors()
             Set pooledActors = swi.getPooledActors();
             if(pooledActors != null) {
             Iterator paItr = pooledActors.iterator();
             while(paItr.hasNext()) {
             ( (PooledActor)paItr.next() ).setSwimlaneInstance(swi);
             }
             }
             }
            
             //If this process definition defines a startTask in the StartState, we'll have to
             // explicitly create it--it won't be created otherwise...
             if (pd.getTaskMgmtDefinition().getStartTask() != null) {
            
             //When we create the startTaskInstance, the start task will be assigned
             // to the currently authenticated user (as understood by Jbpm), and that
             // data WILL overwrite any default swimlane assignments, as well as update
             // the actual swimlaneInstance itself. The swimlaneInstance's pooledActors will be NULL
            
             // To preserve any original assignments to the swimlaneInstance, we'll have
             // to record that data now and re-set it in the swimlaneInstance after the
             // startTaskInstance has been created.
             org.jbpm.taskmgmt.def.Task task = pd.getTaskMgmtDefinition().getStartTask();
             String swimlaneName = task.getSwimlane().getName();
             SwimlaneInstance swi = pi.getTaskMgmtInstance().getSwimlaneInstance(swimlaneName);
             String originalActorId = swi.getActorId();
             Set originalPooledActors = swi.getPooledActors();
            
             TaskInstance startTask = pi.getTaskMgmtInstance().createStartTaskInstance();
            
             //Unless our application's authentication scheme has been tied into Jbpm's, we
             // should manually assign the startTask to a user as well as manually set the swimlane actors
             // referenced by this task, otherwise both will be null.
             startTask.setActorId(userId);
            
             if(startTask.getSwimlaneInstance() != null) {
             System.out.println("Swimlane assigned actor: " + startTask.getSwimlaneInstance().getActorId());
             startTask.getSwimlaneInstance().setActorId(userId);
            
             //Currently, no pooledActors are being set
            
             //swi.setPooledActors(originalPooledActors);
             //startTask.getSwimlaneInstance().setPooledActors(originalPooledActors);
             if (startTask.getSwimlaneInstance().getPooledActors() != null) {
             System.out.println("Swimlane assigned pooled actor: " + ( (PooledActor)(startTask.getSwimlaneInstance().getPooledActors().iterator().next()) ).getActorId() );
             }
             //jbpmSession.getSession().save(swi);
             }
            
             }else {
             //If our new process doesn't have a startTask defined, we may want to get the new process rolling...
             // Although, some executions may want to set process variables, etc. before
             // continuing, in which case they should do such and signal for themselves.
             //pi.signal();
             }
            
             graphSession.saveProcessInstance(pi);
             jbpmSession.commitTransaction();
            
             instanceId = Long.valueOf(pi.getId());
             jbpmSession.close();
             return instanceId;
             }
            
             @Override
             public String execute() throws Exception {
            
             System.out.println("#### execute");
             System.out.println("Create process instance" );
             // This method shows a process definition and one execution
             // of the process definition. The process definition has
             // 3 nodes: an unnamed start-state, a state 's' and an
             // end-state named 'end'.
             // The next line parses a piece of xml text into a
             // ProcessDefinition. A ProcessDefinition is the formal
             // description of a process represented as a java object.
            
             processDefinition = ProcessDefinition.parseXmlString(
            
            
             "<process-definition name='DeclarationSinistre'>"+
             "<swimlane name='F*' >"+
             "<assignment expression='user(ernie)'/>"+
             "</swimlane>"+
            
             "<swimlane name='A*' >"+
             "<assignment expression='user(bert)'/>"+
             "</swimlane>"+
            
            
             "<start-state name='start'>"+
             "<task swimlane='F*'>"+
             "</task>"+
             "<transition name='' to='DeclarationSinistre'>"+"</transition>"+
             "</start-state>"+
            
             "<end-state name='end'>"+"</end-state>"+
            
             "<task-node name='DeclarationSinistre'>"+
             "<task swimlane='F*'>"+
             "</task>"+
             "<transition name='' to='EnregistrementSinistre'>"+"</transition>"+
             "</task-node>"+
            
             "<task-node name='EnregistrementSinistre'>"+
             "<task swimlane='A*'>"+
             "</task>"+
             "<transition name='' to='ControlePrime'>"+"</transition>"+
             "</task-node>"+
            
             "<task-node name='ControlePrime'>"+
             "<task swimlane='F*'>"+
             "</task>"+
             "<transition name='OK' to='fork1'>"+"</transition>"+
             "<transition name='SinistreHorsClause' to='HorsClause'>"+"</transition>"+
             "<transition name='PrimeNonPayee' to='RelancePaiement'>"+"</transition>"+
             "</task-node>"+
            
             "<task-node name='RelancePaiement'>"+
             "<task swimlane='A*'>"+
             "</task>"+
             "<transition name='' to='ControlePrime'>"+"</transition>"+
             "</task-node>"+
            
             "<task-node name='HorsClause'>"+
             "<task swimlane='F*'>"+
             "</task>"+
             "<transition name='' to='end'>"+"</transition>"+
             "</task-node>"+
            
             "<task-node name='TraitementSinistre'>"+
             "<task swimlane='A*'>"+
             "</task>"+
             "<transition name='' to='join1'>"+"</transition>"+
             "</task-node>"+
            
             "<task-node name='ExtractionDonnées'>"+
             "<task swimlane='F*'>"+
             "</task>"+
             "<transition name='' to='transfertDonnées'>"+"</transition>"+
             "</task-node>"+
            
             "<task-node name='transfertDonnées'>"+
             "<task swimlane='A*'>"+
             "</task>"+
             "<transition name='' to='join1'>"+"</transition>"+
             "</task-node>"+
            
             "<fork name='fork1'>"+
             "<transition name='' to='TraitementSinistre'>"+"</transition>"+
             "<transition name='tr2' to='ExtractionDonnées'>"+"</transition>"+
             "</fork>"+
            
             "<join name='join1'>"+
             "<transition name='' to='end'>"+"</transition>"+
             "</join>"+
            
             "</process-definition>"
             );
             System.out.println("################## debut jbpm configuration #############");
            
             jbpmConfiguration = JbpmConfiguration.parseXmlString(
             "<jbpm-configuration>" +
            
             // A jbpm-context mechanism separates the jbpm core
             // engine from the services that jbpm uses from
             // the environment.
            
             " <jbpm-context>" +
             " <service name='persistence' " +
             " factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' />" +
             " </jbpm-context>" +
            
             // Also all the resource files that are used by jbpm are
             // referenced from the jbpm.cfg.xml
            
             " <string name='resource.hibernate.cfg.xml' " +
             " value='hibernate.cfg.xml' />" +
             " <string name='resource.business.calendar' " +
             " value='org/jbpm/calendar/jbpm.business.calendar.properties' />" +
             " <string name='resource.default.modules' " +
             " value='org/jbpm/graph/def/jbpm.default.modules.properties' />" +
             " <string name='resource.converter' " +
             " value='org/jbpm/db/hibernate/jbpm.converter.properties' />" +
             " <string name='resource.action.types' " +
             " value='org/jbpm/graph/action/action.types.xml' />" +
             " <string name='resource.node.types' " +
             " value='org/jbpm/graph/node/node.types.xml' />" +
             " <string name='resource.varmapping' " +
             " value='org/jbpm/context/exe/jbpm.varmapping.xml' />" +
             "</jbpm-configuration>"
             );
            JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
             Long longVariable = instantiate(processDefinition, "ernie");
            
            
            
            
            
             return SUCCESS;
             }
            }
            


            I have an error when I execute a delegationExeption. Why I have this. THe console say me that 'user(ernie)' can't be resolve.

            How can i resolve my problem? Have I forgot anything?

            the console:
            13:14:14,612 INFO [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in prod
            uction environments was not found on the java.library.path: C:\jdk1.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;c:\ruby\bin;C:\Program Files\alfr
            esco-1.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ant\bin;;C:\Sun\MessageQueue\lib;C:\Sun\Shared\lib;C:\Sun\shared\bin
            ;C:\jdk1.5\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\MySQL\MySQL Server 4.1\bin;;C:\Sun\AppServer\bin;C:\j2s
            dkee1.4\bin
            13:14:14,706 INFO [org.apache.coyote.http11.Http11BaseProtocol] Initialisation de Coyote HTTP/1.1 sur http-8080
            13:14:14,706 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 719 ms
            13:14:14,831 INFO [org.apache.catalina.core.StandardService] D?®marrage du service Catalina
            13:14:14,846 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17
            13:14:14,862 INFO [org.apache.catalina.core.StandardHost] XML validation disabled
            13:14:14,956 INFO [org.apache.catalina.realm.JAASRealm] Setting useContextClassLoader = false
            Loading jar:file:/D:/liferay/liferay/WEB-INF/lib/portal-ejb.jar!/system.properties
            Loading jar:file:/D:/liferay/liferay/WEB-INF/lib/portal-ejb.jar!/portal.properties
            Loading file:/D:/liferay/liferay/WEB-INF/classes/portal-ext.properties
            Starting Liferay Portal Professional 4.0.0 (Lloyd-Jones / Build 2987 / June 2, 2006)
            Loading jar:file:/D:/liferay/liferay/WEB-INF/lib/portal-ejb.jar!/cache-multi-vm.properties
            13:15:09,800 INFO [com.liferay.portal.shared.util.ServerDetector] Detected server tomcat
            13:15:10,035 WARN [com.liferay.portal.shared.deploy.AutoDeployDir] Deploy directory \home\liferay\deploy does not exist
            13:15:43,832 INFO [org.apache.catalina.realm.JAASRealm] Setting useContextClassLoader = false
            13:15:43,988 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/tunnel]] Loading Spring root WebApplicationContext
            13:15:47,113 INFO [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/tunnel]] Loading WebApplicationContext for Spring Framew
            orkServlet 'SpringServlet'
            13:15:47,238 INFO [org.apache.catalina.startup.HostConfig] D?®ploiement de l'archive DeclarationSinistreSwimlane.war de l'application web
            13:15:48,176 INFO [com.liferay.portal.deploy.HotDeployPortletListener] Registering portlets for DECLARATIONSINISTRE
            13:15:48,238 INFO [com.liferay.portal.deploy.HotDeployPortletListener] Portlets for DECLARATIONSINISTRE registered successfully
            Loading file:/D:/liferay/webapps/cms/WEB-INF/classes/cms-redirects.properties
            13:15:48,504 INFO [org.apache.coyote.http11.Http11BaseProtocol] D?®marrage de Coyote HTTP/1.1 sur http-8080
            13:15:48,707 INFO [org.apache.catalina.storeconfig.StoreLoader] Find registry server-registry.xml at classpath resource
            13:15:48,801 INFO [org.apache.catalina.startup.Catalina] Server startup in 94095 ms
            Loading jar:file:/D:/liferay/liferay/WEB-INF/lib/portal-ejb.jar!/portal.properties for liferay.com
            Loading file:/D:/liferay/liferay/WEB-INF/classes/portal-ext.properties for liferay.com
            #### execute
            firstNAmle : null
            Loading jar:file:/D:/liferay/liferay/WEB-INF/lib/portal-ejb.jar!/cache-single-vm.properties
            #### execute
            Create process instance
            ################## debut jbpm configuration #############
            JBPM session factory
            13:18:01,443 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
            13:18:01,537 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
            13:18:01,709 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
            13:18:01,834 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults
            .
            13:18:01,896 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
            
            13:18:01,912 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults
            .
            13:18:02,162 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
            13:18:02,240 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
            13:18:02,334 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
            
            13:18:02,459 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
            13:18:02,568 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults
            .
            13:18:02,599 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; usin
            g defaults.
            13:18:02,631 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; u
            sing defaults.
            13:18:02,646 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using d
            efaults.
            13:18:02,646 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults
            .
            13:18:02,646 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using de
            faults.
            13:18:02,646 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses
            ]; using defaults.
            13:18:02,693 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandler
            s]; using defaults.
            13:18:02,693 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; usi
            ng defaults.
            13:18:02,693 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using
             defaults.
            13:18:02,693 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using
            defaults.
            13:18:02,693 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; usi
            ng defaults.
            13:18:02,724 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using de
            faults.
            13:18:02,724 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using d
            efaults.
            13:18:02,724 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.
            13:18:02,724 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; us
            ing defaults.
            13:18:02,740 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.
            13:18:02,771 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.
            13:18:02,771 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.
            13:18:02,771 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes];
            using defaults.
            13:18:02,771 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.
            
            13:18:02,771 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using
             defaults.
            13:18:02,802 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using d
            efaults.
            13:18:02,802 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using
            defaults.
            13:18:02,802 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using def
            aults.
            13:18:02,802 WARN [org.hibernate.cache.EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults
            .
            JBPM session
            Graph session
            Task management
            instance des session ok
            process definition instance
            PROCESS NAME:DeclarationSinistre
            PROCESS INSTANCE ID:0
            SWIMLANE CREE:F*
            13:48:43,357 ERROR [com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher] Could not execute action
            org.jbpm.graph.def.DelegationException
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:208)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.getInitializedSwimlaneInstance(TaskMgmtInstance.java:176)
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:74
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:268)
             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:585)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
             at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
             at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
             at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
             at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
             at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
             at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
             at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
             at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
             at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
             at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
             at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
             at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
             at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
             at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
             at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: couldn't resolve assignment expression 'user(ernie)'
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:97)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:217)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:193)
             ... 89 more
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: user 'ernie' couldn't be fetched from the user db
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.getUserByName(ExpressionAssignmentHandler.java:210)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.resolveFirstTerm(ExpressionAssignmentHandler.java:147)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:75)
             ... 91 more
            13:48:43,482 ERROR [com.liferay.portal.shared.servlet.PortletServlet] Error executing action processInstance
            13:48:43,482 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/DeclarationSinistreSwimlane].[DECLARATIONSIN
            vlet.service()" pour la servlet DECLARATIONSINISTRE a lanc?® une exception
            javax.portlet.PortletException: Error executing action processInstance
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
             at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
             at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
             at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
             at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
             at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
             at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
             at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
             at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
             at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
             at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
             at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
             at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
             at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
             at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: org.jbpm.graph.def.DelegationException
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:208)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.getInitializedSwimlaneInstance(TaskMgmtInstance.java:176)
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:74
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:268)
             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:585)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
             at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
             ... 49 more
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: couldn't resolve assignment expression 'user(ernie)'
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:97)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:217)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:193)
             ... 89 more
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: user 'ernie' couldn't be fetched from the user db
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.getUserByName(ExpressionAssignmentHandler.java:210)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.resolveFirstTerm(ExpressionAssignmentHandler.java:147)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:75)
             ... 91 more
            Nested Exception is
            org.jbpm.graph.def.DelegationException
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:208)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.getInitializedSwimlaneInstance(TaskMgmtInstance.java:176)
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:74
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:268)
             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:585)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
             at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
             at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
             at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
             at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
             at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
             at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
             at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
             at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
             at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
             at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
             at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
             at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
             at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
             at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
             at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: couldn't resolve assignment expression 'user(ernie)'
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:97)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:217)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:193)
             ... 89 more
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: user 'ernie' couldn't be fetched from the user db
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.getUserByName(ExpressionAssignmentHandler.java:210)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.resolveFirstTerm(ExpressionAssignmentHandler.java:147)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:75)
             ... 91 more
            13:48:43,920 ERROR [portal-web.docroot.html.common.error.jsp] Error executing action processInstance
            javax.portlet.PortletException: Error executing action processInstance
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
             at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
             at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
             at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
             at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
             at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
             at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
             at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
             at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
             at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
             at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
             at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
             at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
             at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
             at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
             at java.lang.Thread.run(Thread.java:595)
            Caused by: org.jbpm.graph.def.DelegationException
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:208)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.getInitializedSwimlaneInstance(TaskMgmtInstance.java:176)
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:74
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:268)
             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:585)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
             at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
             ... 49 more
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: couldn't resolve assignment expression 'user(ernie)'
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:97)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:217)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:193)
             ... 89 more
            Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: user 'ernie' couldn't be fetched from the user db
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.getUserByName(ExpressionAssignmentHandler.java:210)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.resolveFirstTerm(ExpressionAssignmentHandler.java:147)
             at org.jbpm.identity.assignment.ExpressionAssignmentHandler.assign(ExpressionAssignmentHandler.java:75)
             ... 91 more
            
            Nested Exception is org.jbpm.graph.def.DelegationException
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:208)
             at org.jbpm.taskmgmt.exe.TaskMgmtInstance.getInitializedSwimlaneInstance(TaskMgmtInstance.java:176)
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:74
             at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:268)
             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:585)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
             at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
             at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
             at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
             at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
             at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
             at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
            


            • 3. Re: swimlane user assigment seems to doesn't work
              Ronald van Kuijk Master

              to much debug, to little info. Make a minimal unittest that demosntrates the problem. THEN we can see if we can help.

              • 4. Re: swimlane user assigment seems to doesn't work
                auré manga Novice

                Hi,

                With some system.out() I have identify the line where I have my problem:

                 SwimlaneInstance swi = pi.getTaskMgmtInstance().getInitializedSwimlaneInstance(new ExecutionContext(pi.getRootToken()), swimlane);


                So I tested each element of the varaible that I put in:

                - System.out.println("ID porcess "+pi.toString()); ---> ID porcess org.jbpm.graph.exe.ProcessInstance@100c776

                - System.out.println(pi.getRootToken().toString()); ----> Token(/)

                - System.out.println(pi.getRootToken().getName()); ----> null

                I have an error in? because the error is in this line but I don't understand how resolve it.

                the error is the same than before:

                07:07:35,538 ERROR [com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher] Could not execute action
                org.jbpm.graph.def.DelegationException
                ...
                Caused by: org.jbpm.identity.assignment.ExpressionAssignmentException: user 'ernie' couldn't be fetched from the user db
                ...


                I have an error of database? How can resolve it?

                Thank you for your help.

                antitrust1982



                • 5. Re: swimlane user assigment seems to doesn't work
                  auré manga Novice

                  Hi all I resolve my problem..
                  I have to put all the swimlane of my process definition in my java file. I execute my code but when I execute this line I have a problem:

                  graphSession.saveProcessInstance(pi);


                  the console error is:

                  08:59:49,734 ERROR [com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher] Could not execute action
                  java.lang.UnsupportedOperationException: use JbpmContext.save(ProcessInstance) instead
                   at org.jbpm.db.GraphSession.saveProcessInstance(GraphSession.java:250)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:159)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:299)
                   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:585)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
                   at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
                   at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                   at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
                   at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
                   at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
                   at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
                   at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
                   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                   at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
                   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                   at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
                   at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                   at java.lang.Thread.run(Thread.java:595)
                  08:59:49,734 ERROR [com.liferay.portal.shared.servlet.PortletServlet] Error executing action processInstance
                  08:59:49,734 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/DeclarationSinistreSwimlane].[DECLARATIONSINISTRE]] "S
                  vlet.service()" pour la servlet DECLARATIONSINISTRE a lanc?® une exception
                  javax.portlet.PortletException: Error executing action processInstance
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
                   at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                   at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
                   at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
                   at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
                   at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
                   at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
                   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                   at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
                   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                   at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
                   at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                   at java.lang.Thread.run(Thread.java:595)
                  Caused by: java.lang.UnsupportedOperationException: use JbpmContext.save(ProcessInstance) instead
                   at org.jbpm.db.GraphSession.saveProcessInstance(GraphSession.java:250)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:159)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:299)
                   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:585)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
                   at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
                   ... 49 more
                  Nested Exception is
                  java.lang.UnsupportedOperationException: use JbpmContext.save(ProcessInstance) instead
                   at org.jbpm.db.GraphSession.saveProcessInstance(GraphSession.java:250)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:159)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:299)
                   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:585)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
                   at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
                   at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                   at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
                   at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
                   at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
                   at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
                   at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
                   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                   at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
                   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                   at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
                   at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                   at java.lang.Thread.run(Thread.java:595)
                  08:59:49,750 ERROR [portal-web.docroot.html.common.error.jsp] Error executing action processInstance
                  javax.portlet.PortletException: Error executing action processInstance
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
                   at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                   at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
                   at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
                   at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
                   at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
                   at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
                   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                   at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
                   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                   at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
                   at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                   at java.lang.Thread.run(Thread.java:595)
                  Caused by: java.lang.UnsupportedOperationException: use JbpmContext.save(ProcessInstance) instead
                   at org.jbpm.db.GraphSession.saveProcessInstance(GraphSession.java:250)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:159)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:299)
                   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:585)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
                   at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
                   ... 49 more
                  
                  Nested Exception is java.lang.UnsupportedOperationException: use JbpmContext.save(ProcessInstance) instead
                   at org.jbpm.db.GraphSession.saveProcessInstance(GraphSession.java:250)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.instantiate(CreateProcessInstanceAction.java:159)
                   at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:299)
                   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:585)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365)
                   at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191)
                   at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
                   at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100)
                   at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189)
                   at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414)
                   at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272)
                   at com.liferay.portal.shared.servlet.PortletServlet.service(PortletServlet.java:77)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
                   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                   at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:289)
                   at com.liferay.portlet.CachePortlet.processAction(CachePortlet.java:142)
                   at com.liferay.portal.action.LayoutAction._processPortletRequest(LayoutAction.java:232)
                   at com.liferay.portal.action.LayoutAction._processActionRequest(LayoutAction.java:250)
                   at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:86)
                   at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
                   at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
                   at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:185)
                   at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
                   at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                   at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:415)
                   at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:810)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:91)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:131)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:112)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at com.liferay.portal.servlet.filters.layoutcache.LayoutCacheFilter.doFilter(LayoutCacheFilter.java:197)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                   at java.lang.Thread.run(Thread.java:595)


                  As I can't find the error I try to continu. So the execution without this line works but. Idon't understand how "call back" my process instance in my next JSP because I create a swimlane. But in my next file when I execute I seems to go back to the start.

                  Somebody have created a JSP portlet within JBPM and can help me to create mine please.

                  antitrust1982

                  • 6. Re: swimlane user assigment seems to doesn't work
                    Ronald van Kuijk Master

                    I can find the error:

                    Nested Exception is java.lang.UnsupportedOperationException: use JbpmContext.save(ProcessInstance) i
                    nstead

                    • 7. Re: swimlane user assigment seems to doesn't work
                      Ronald van Kuijk Master

                      I can find the error:

                      Nested Exception is java.lang.UnsupportedOperationException: use JbpmContext.save(ProcessInstance) i
                      nstead

                      • 8. Re: swimlane user assigment seems to doesn't work
                        auré manga Novice

                        yes, I know, me too. I know just that is this line

                        graphSession.saveProcessInstance(pi);
                        which give me this error. If i erase it it works well.

                        perhaps it's why in my next jsp I can have the context, because the save context doesn't work. :$

                        I don't know.

                        thank you for your help

                        antitrust1982