[jboss-user] [JBoss jBPM] - Re: swimlane and taskinstances

antitrust1982 do-not-reply at jboss.com
Mon Sep 11 04:49:43 EDT 2006


hello,

my process definition:

		processDefinition = ProcessDefinition.parseXmlString(
  | 		
  | 
  | 				"<process-definition   name='DeclarationSinistre'>"+
  | 				"<swimlane name='FONCIA' >"+
  | 				  	"<assignment expression='user(bert)'/>"+
  | 				  	"</swimlane>"+
  | 		
  | 				  	"<swimlane name='Assurimo' >"+
  | 				  	"<assignment expression='user(ernie)'/>"+
  | 				  	"</swimlane>"+
  | 				  	
  | 				  	
  | 				   "<start-state name='start'>"+
  | 				     "<task swimlane='FONCIA'>"+
  | 				      "</task>"+
  | 				      "<transition name='' to='DeclarationSinistre'>"+"</transition>"+
  | 				   "</start-state>"+
  | 				   
  | 				   "<end-state name='end'>"+"</end-state>"+
  | 				   
  | 				   "<task-node name='DeclarationSinistre'>"+
  | 				       "<task swimlane='Assurimo'>"+
  | 				      "</task>"+
  | 				      "<transition name='' to='EnregistrementSinistre'>"+"</transition>"+
  | 				   "</task-node>"+
  | 				   
  | 				   "<task-node name='EnregistrementSinistre'>"+
  | 				      "<task swimlane='FONCIA'>"+
  | 				      "</task>"+
  | 				      "<transition name='' to='ControlePrime'>"+"</transition>"+
  | 				   "</task-node>"+
  | 				   
  | 				   "<task-node name='ControlePrime'>"+
  | 				   "<task swimlane='Assurimo'>"+
  | 				      "</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='FONCIA'>"+
  | 				      "</task>"+
  | 				      "<transition name='' to='ControlePrime'>"+"</transition>"+
  | 				   "</task-node>"+
  | 				   
  | 				   "<task-node name='HorsClause'>"+
  | 				   "<task swimlane='FONCIA'>"+
  | 				      "</task>"+
  | 				   		"<transition name='' to='end'>"+"</transition>"+
  | 				   "</task-node>"+
  | 				   
  | 				   "<task-node name='TraitementSinistre'>"+
  | 				   "<task swimlane='Assurimo'>"+
  | 				      "</task>"+
  | 				      "<transition name='' to='join1'>"+"</transition>"+
  | 				   "</task-node>"+
  | 				   
  | 				   "<task-node name='ExtractionDonnées'>"+
  | 				   "<task swimlane='FONCIA'>"+
  | 				      "</task>"+
  | 				      "<transition name='' to='transfertDonnées'>"+"</transition>"+
  | 				   "</task-node>"+
  | 				   
  | 				   "<task-node name='transfertDonnées'>"+
  | 				   "<task swimlane='Assurimo'>"+
  | 				      "</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>"
  | };

I try to remplace my token.signal by token.end but I have an error of transient... 

why I have an error when I use the end methode and not when I use signal. How can resolve this type of error?



my error is:

anonymous wrote : 08:41:34,485 ERROR [org.jbpm.db.SchedulerSession] org.hibernate.TransientObjectException: object references an unsaved transient instance -
  | save the transient instance before flushing: org.jbpm.graph.exe.ProcessInstance
  | dans finally
  | fermeture du context
  | 08:41:34,501 ERROR [com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher] Could not execute action
  | org.jbpm.JbpmException: couldn't delete timers for process instance 'org.jbpm.graph.exe.ProcessInstance at 141038c'
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:174)
  |         at org.jbpm.scheduler.db.DbSchedulerService.cancelTimersByProcessInstance(DbSchedulerService.java:55)
  |         at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:275)
  |         at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:261)
  |         at org.jbpm.graph.exe.Token.end(Token.java:233)
  |         at org.jbpm.graph.exe.Token.end(Token.java:193)
  |         at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:350)
  |         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.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus
  | hing: org.jbpm.graph.exe.ProcessInstance
  |         at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
  |         at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
  |         at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:77)
  |         at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:38)
  |         at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:67)
  |         at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:326)
  |         at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:202)
  |         at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1111)
  |         at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:169)
  |         ... 92 more
  | 08:41:34,501 ERROR [com.liferay.portal.shared.servlet.PortletServlet] Error executing action processInstance
  | 08:41:34,501 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/DeclarationSinistreSwimlane].[DECLARATIONSINISTRE]] "Ser
  | 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.JbpmException: couldn't delete timers for process instance 'org.jbpm.graph.exe.ProcessInstance at 141038c'
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:174)
  |         at org.jbpm.scheduler.db.DbSchedulerService.cancelTimersByProcessInstance(DbSchedulerService.java:55)
  |         at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:275)
  |         at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:261)
  |         at org.jbpm.graph.exe.Token.end(Token.java:233)
  |         at org.jbpm.graph.exe.Token.end(Token.java:193)
  |         at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:350)
  |         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.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus
  | hing: org.jbpm.graph.exe.ProcessInstance
  |         at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
  |         at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
  |         at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:77)
  |         at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:38)
  |         at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:67)
  |         at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:326)
  |         at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:202)
  |         at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1111)
  |         at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:169)
  |         ... 92 more
  | Nested Exception is
  | org.jbpm.JbpmException: couldn't delete timers for process instance 'org.jbpm.graph.exe.ProcessInstance at 141038c'
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:174)
  |         at org.jbpm.scheduler.db.DbSchedulerService.cancelTimersByProcessInstance(DbSchedulerService.java:55)
  |         at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:275)
  |         at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:261)
  |         at org.jbpm.graph.exe.Token.end(Token.java:233)
  |         at org.jbpm.graph.exe.Token.end(Token.java:193)
  |         at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:350)
  |         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.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus
  | hing: org.jbpm.graph.exe.ProcessInstance
  |         at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
  |         at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
  |         at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:77)
  |         at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:38)
  |         at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:67)
  |         at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:326)
  |         at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:202)
  |         at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1111)
  |         at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:169)
  |         ... 92 more
  | 08:41:34,563 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.JbpmException: couldn't delete timers for process instance 'org.jbpm.graph.exe.ProcessInstance at 141038c'
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:174)
  |         at org.jbpm.scheduler.db.DbSchedulerService.cancelTimersByProcessInstance(DbSchedulerService.java:55)
  |         at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:275)
  |         at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:261)
  |         at org.jbpm.graph.exe.Token.end(Token.java:233)
  |         at org.jbpm.graph.exe.Token.end(Token.java:193)
  |         at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:350)
  |         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.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus
  | hing: org.jbpm.graph.exe.ProcessInstance
  |         at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
  |         at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
  |         at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:77)
  |         at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:38)
  |         at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:67)
  |         at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:326)
  |         at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:202)
  |         at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1111)
  |         at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:169)
  |         ... 92 more
  | 
  | Nested Exception is org.jbpm.JbpmException: couldn't delete timers for process instance 'org.jbpm.graph.exe.ProcessInstance at 141038c'
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:174)
  |         at org.jbpm.scheduler.db.DbSchedulerService.cancelTimersByProcessInstance(DbSchedulerService.java:55)
  |         at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:275)
  |         at org.jbpm.graph.exe.Token.notifyParentOfTokenEnd(Token.java:261)
  |         at org.jbpm.graph.exe.Token.end(Token.java:233)
  |         at org.jbpm.graph.exe.Token.end(Token.java:193)
  |         at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:350)
  |         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.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus
  | hing: org.jbpm.graph.exe.ProcessInstance
  |         at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
  |         at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
  |         at org.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:77)
  |         at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:38)
  |         at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:67)
  |         at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:326)
  |         at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:202)
  |         at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1111)
  |         at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
  |         at org.jbpm.db.SchedulerSession.cancelTimersForProcessInstance(SchedulerSession.java:169)
  |         ... 92 more
  | 
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970681#3970681

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970681




More information about the jboss-user mailing list