cancel
Showing results for 
Search instead for 
Did you mean: 

'Failed to signal transition 'null' from workflow task 'jbpm

sp0025812
Champ in-the-making
Champ in-the-making
hi,
i am new to alfresco.
pesently working on Alfresco enterprise 2.2.

i customised a workflow(very similar to adhoc workflow)…registered the process definiton in the bootstrap.

everything is working fine, but when i click on Finish button on the workflow wizard, it pops me an error "Failed to signal transition 'null' from workflow task 'jbpm$15' ".
can you please give some clarifications on the same error.
will be waiting for the reply.
i have attached the custom process definiton along with the workflow model.


<?xml version="1.0" encoding="UTF-8"?>

<process-definition
xmlns="urn:jbpm.org:jpdl-3.1" name="wf:newsample_workflow">


<swimlane name="intiator" />

<start-state name="Drafts">
<task name="wf:submit_task" swimlane="intiator" />



<transition name="" to="Review" />

</start-state>



<swimlane name="reviewer">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<actor>#{bpm_assignee}</actor>
</assignment>
</swimlane>

<task-node name="Review">
<task name="wf:reviewtask" swimlane="reviewer">
<event type="task-create">
<script>
if (bpm_workflowDueDate != void) taskInstance.dueDate = bpm_workflowDueDate;
if (bpm_workflowPriority != void) taskInstance.priority = bpm_workflowPriority;
</script>
</event>
</task>



<transition name="Review" to="live">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
if (wf_notifyme1)
{
var mail = actions.create("mail");
mail.parameters.to = initiator.properties.email;
mail.parameters.subject = "SubmitTask " + bpm_workflowDescription;
mail.parameters.from = bpm_assignee.properties.email;
mail.parameters.text = "It's done";
mail.execute(bpm_package);
}
</script>
</action>
</transition>


</task-node>


<task-node name="live">
<task name="wf:completedtask" swimlane="intiator">
</task>
<transition name="" to="end" />
</task-node>




<end-state name="end" />
</process-definition>




workflow model

[<!–newsample_workflow–>
<type name="wf:submit_task">
<parent>bpm:startTask</parent>
<properties>
<property name="wf:notifyme1">
<type>d:boolean</type>
<default>false</default>
</property>
</properties>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>


<type name="wf:reviewtask">
<parent>bpm:workflowTask</parent>
<overrides>
<property name="bpmSmiley TongueackageActionGroup">
<default>add_package_item_actions</default>
</property>
<property name="bpmSmiley TongueackageItemActionGroup">
<default>edit_package_item_actions</default>
</property>
</overrides>

</type>

<type name="wf:completedtask">
<parent>bpm:workflowTask</parent>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>


appeneded the code in the workflowmodel.xml file….


log:

Caused by: org.alfresco.service.cmr.repository.ScriptException: Failed to execute supplied script: Failed to execute supplied script: ReferenceError: "bpm_package" is not defined. (AlfrescoScript#1) at org.alfresco.repo.processor.ScriptServiceImpl.executeScriptString(ScriptServiceImpl.java:283)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScriptString(ScriptServiceImpl.java:257)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:245)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
at $Proxy47.executeScriptString(Unknown Source)
at org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript.executeScript(AlfrescoJavaScript.java:159)
at org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript.execute(AlfrescoJavaScript.java:133)
at org.jbpm.graph.def.Action.execute(Action.java:122)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:247)
… 81 more
Caused by: org.alfresco.service.cmr.repository.ScriptException: Failed to execute supplied script: ReferenceError: "bpm_package" is not defined. (AlfrescoScript#1)
at org.alfresco.repo.jscript.RhinoScriptProcessor.executeString(RhinoScriptProcessor.java:185)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScriptString(ScriptServiceImpl.java:279)
… 104 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: ReferenceError: "bpm_package" is not defined. (AlfrescoScript#1) at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:535)
at org.alfresco.repo.jscript.RhinoScriptProcessor.executeString(RhinoScriptProcessor.java:181)
… 105 more
Caused by: org.mozilla.javascript.EcmaError: ReferenceError: "bpm_package" is not defined. (AlfrescoScript#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3413)
at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java:1612)
at org.mozilla.javascript.gen.c1._c0(AlfrescoScript:1)
at org.mozilla.javascript.gen.c1.call(AlfrescoScript)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
at org.mozilla.javascript.gen.c1.call(AlfrescoScript)
at org.mozilla.javascript.gen.c1.exec(AlfrescoScript)
at org.mozilla.javascript.Context.evaluateString(Context.java:1196)
at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:527)
5 REPLIES 5

sp0025812
Champ in-the-making
Champ in-the-making
This error is cleared by un-installing and then again reinstalling the Alfresco software.
everytme the manadatory aspect is changed in the workflow model, the error occurs..
ex: if bpm:assignee is changed to bpm:groupAssignee or bpm:assignees….
everytime unstalling and reinstalling the software, clears the error.

this is just a trial method…not sure about the exact solution for the error.

can anyone please eloborate on the same.
will be waiting for the replies.
thanks in advance.

_sax
Champ in-the-making
Champ in-the-making
This may be because you are changing the workflow without redeploying it. This means, every started instance of that workflow relies on the old model, which used the original mandatory-aspect.

To redeploy a workflow, you have to specify an option in the appropriate …-context.xml in …/Alfresco/tomcat/shared/classes/alfresco/extension. For the Alfresco-supplied workflows this is workflow-context.xml(.sample). Edit it and change the lines that read
<prop key="redeploy">false</prop>
to
<prop key="redeploy">true</prop>
If there is a .sample - extension to that file, discard it. The file should now end with …-context.xml, so Alfresco will use it.

This will start a new instance of the workflow containing your new model, while letting alone older instances with their now obsolete model.

min
Champ in-the-making
Champ in-the-making
I am also receiving this same message deploying my first custom workflow.  The error is received in the UI when I click Finish to start the workflow.  I can also see the error on the Tomcat console, but no further information is provided.

It is possible that I changed the mandatory aspect during the coding/deployment process.  I never successfully executed my custom workflow so no workflow tasks were ever generated, so I wonder if the "changed mandatory aspect" applies to this case.  I would prefer not to uninstall/reinstall Alfresco as suggested. 

I tried to undeploy all versions of the workflow and then redeploy using the workflow console, but this didn't help.  I also created a newly named version of the workflow using a different namespace to see if that would resolve the issue - it didn't. 

I added the logger.log statements below to see if any of them would be generated, but they weren't. 


<?xml version="1.0" encoding="UTF-8"?>

<process-definition  xmlns="urn:jbpm.org:jpdl-3.2"  name="ncwf:reviewapprovePurchaseRequest">

   <swimlane name="initiator"></swimlane>
   
   <start-state name="Start">
      <task name="ncwf:submitPurchaseRequestTask" swimlane="initiator"/>
      <transition to="InitiateRequest"></transition>
      
      <event type="task-enter">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>   logger.log("Enter Start Task");   </script>
         </action>
      </event>
      
      <event type="task-end">
         <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
            <script>   logger.log("End of Start Task Reached");   </script>
         </action>
      </event>
      </start-state>

   
   <swimlane name="assignee">
      <assignment>class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <actor>#{bpm_assignee}</actor>
      </assignment>
   </swimlane>

   <node name="InitiateRequest">

      <transition to="Review" name="toReview"></transition>
   </node>
   
   <task-node name="Review">
      <task name="ncwf:reviewPurchaseRequestTask" swimlane="assignee" /> 

      <transition to="Approved" name="toApproved"></transition>
      <transition to="Rejected" name="toRejected"></transition>
      
   </task-node>

..
..
..
..


Anyone have any suggestions before I uninstall Alfresco?

10:06:50,671 User:admin DEBUG [repo.component.UIActions] Rendering actions group
for contextId: _default
10:06:50,671 User:admin DEBUG [repo.component.UIActions] encodeEnd() for <r:acti
ons/> Id: sidebarActions
10:06:50,734 User:admin DEBUG [repo.component.UIActions] encodeBegin() for <r:ac
tions/> Id: col6-actions groupId: edit_package_item_actions
10:06:50,734 User:admin DEBUG [repo.component.UIActions] —already built compon
ent tree for actions contextId: {http://www.alfresco.org/model/content/1.0}conte
nt
10:06:50,734 User:admin DEBUG [repo.component.UIActions] Rendering actions group
for contextId: {http://www.alfresco.org/model/content/1.0}content
10:06:50,734 User:admin DEBUG [repo.component.UIActions] encodeEnd() for <r:acti
ons/> Id: col6-actions
10:06:50,734 User:admin DEBUG [repo.component.UIActions] encodeBegin() for <r:ac
tions/> Id: package-actions groupId: add_package_item_actions
10:06:50,734 User:admin DEBUG [repo.component.UIActions] —already built compon
ent tree for actions contextId: {http://www.alfresco.org/model/workflow/nc/1.0}s
ubmitPurchaseRequestTask
10:06:50,750 User:admin DEBUG [repo.component.UIActions] Rendering actions group
for contextId: {http://www.alfresco.org/model/workflow/nc/1.0}submitPurchaseReq
uestTask
10:06:50,750 User:admin DEBUG [repo.component.UIActions] encodeEnd() for <r:acti
ons/> Id: package-actions
10:06:57,796 User:admin DEBUG [alfresco.repo.workflow] Attached JBPM Context to
transaction 301d1763-64b5-42c7-9add-a555fd97f89c
10:06:58,234 User:admin DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolv
ed, adding resource '_root
10:06:58,234 User:admin DEBUG [repo.jscript.RhinoScriptProcessor] Time to execut
e script: 1.115784ms
10:06:58,421 User:admin DEBUG [alfresco.repo.workflow] Detached (rollback) JBPM
Context from transaction 301d1763-64b5-42c7-9add-a555fd97f89c
10:06:58,437 User:admin ERROR [ui.common.Utils] A system error happened during t
he operation: 09050003 Failed to signal transition 'null' from workflow task 'jb
pm$60'
org.alfresco.service.cmr.workflow.WorkflowException: 09050003 Failed to signal t
ransition 'null' from workflow task 'jbpm$60'
        at org.alfresco.repo.workflow.jbpm.JBPMEngine.endTask(JBPMEngine.java:17
42)
        at org.alfresco.repo.workflow.WorkflowServiceImpl.endTask(WorkflowServic
eImpl.java:544)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti
on(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJo
inpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:149)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterc
eptor.invoke(AlwaysProceedMethodInterceptor.java:40)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethod
Interceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.j
ava:275)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInte
rceptor.java:69)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.transaction.interceptor.TransactionInterceptor.in
voke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy44.endTask(Unknown Source)
        at org.alfresco.web.bean.workflow.StartWorkflowWizard.finishImpl(StartWo
rkflowWizard.java:230)
        at org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.
java:124)
        at org.alfresco.web.bean.dialog.BaseDialogBean$1.execute(BaseDialogBean.
java:121)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransacti
on(RetryingTransactionHelper.java:326)
        at org.alfresco.web.bean.dialog.BaseDialogBean.finish(BaseDialogBean.jav
a:130)
        at org.alfresco.web.bean.wizard.WizardManager.finish(WizardManager.java:
599)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java
:132)
        at org.apache.myfaces.application.ActionListenerImpl.processAction(Actio
nListenerImpl.java:61)
        at javax.faces.component.UICommand.broadcast(UICommand.java:109)
        at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:9
7)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1
71)
        at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(Invoke
ApplicationExecutor.java:32)
        at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl
.java:95)
        at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java
:70)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(Authentica
tionFilter.java:110)
        at sun.reflect.GeneratedMethodAccessor525.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory
$1.invoke(ChainingSubsystemProxyFactory.java:122)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy188.doFilter(Unknown Source)
        at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxy
Filter.java:88)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.jav
a:74)
        at sun.reflect.GeneratedMethodAccessor525.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory
$1.invoke(ChainingSubsystemProxyFactory.java:122)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynami
cAopProxy.java:204)
        at $Proxy188.doFilter(Unknown Source)
        at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxy
Filter.java:88)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.jbpm.graph.def.DelegationException
        at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInst
ance.java:298)
        at org.jbpm.taskmgmt.exe.TaskMgmtInstance.getInitializedSwimlaneInstance
(TaskMgmtInstance.java:260)
        at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:202)
        at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtIns
tance.java:223)
        at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:174)
        at org.jbpm.graph.def.Node.enter(Node.java:390)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyI
nitializer.java:157)
        at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$78617f68.enter(<generated>)

        at org.jbpm.graph.def.Transition.take(Transition.java:167)
        at org.jbpm.graph.def.Node.leave(Node.java:479)
        at org.jbpm.graph.def.Node.leave(Node.java:438)
        at org.jbpm.graph.def.Node.execute(Node.java:429)
        at org.jbpm.graph.def.Node.enter(Node.java:390)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyI
nitializer.java:157)
        at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$78617f68.enter(<generated>)

        at org.jbpm.graph.def.Transition.take(Transition.java:167)
        at org.jbpm.graph.def.Node.leave(Node.java:479)
        at org.jbpm.graph.node.StartState.leave(StartState.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyI
nitializer.java:157)
        at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$78617f68.leave(<generated>)

        at org.jbpm.graph.exe.Token.signal(Token.java:223)
        at org.jbpm.graph.exe.Token.signal(Token.java:150)
        at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:490)
        at org.alfresco.repo.workflow.jbpm.WorkflowTaskInstance.end(WorkflowTask
Instance.java:133)
        at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:406)
        at org.alfresco.repo.workflow.jbpm.JBPMEngine$26.doInJbpm(JBPMEngine.jav
a:1718)
        at org.springmodules.workflow.jbpm31.JbpmTemplate$1.doInHibernate(JbpmTe
mplate.java:87)
        at org.springframework.orm.hibernate3.HibernateTemplate.execute(Hibernat
eTemplate.java:372)
        at org.springframework.orm.hibernate3.HibernateTemplate.execute(Hibernat
eTemplate.java:338)
        at org.springmodules.workflow.jbpm31.JbpmTemplate.execute(JbpmTemplate.j
ava:80)
        at org.alfresco.repo.workflow.jbpm.JBPMEngine.endTask(JBPMEngine.java:16
95)
        … 72 more
Caused by: java.lang.NullPointerException
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:269)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1302)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyI
nitializer.java:157)
        at org.jbpm.instantiation.Delegation$$EnhancerByCGLIB$$8d81d3a6.instanti
ate(<generated>)
        at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(Ta
skMgmtInstance.java:312)
        at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInst
ance.java:274)
        … 114 more
10:06:58,578 User:admin DEBUG [web.app.AlfrescoNavigationHandler] handleNavigati
on (fromAction=#{WizardManager.finish}, outcome=null)
10:06:58,593 User:admin DEBUG [web.app.AlfrescoNavigationHandler] Current view i
d: /jsp/wizard/container.jsp
10:06:58,593 User:admin DEBUG [web.app.AlfrescoNavigationHandler] No dispatch co
ntext found
10:06:58,593 User:admin DEBUG [web.app.AlfrescoNavigationHandler] Passing outcom
e 'null' to original navigation handler
10:06:58,593 User:admin DEBUG [web.app.AlfrescoNavigationHandler] view stack: [/
jsp/browse/browse.jsp]
10:06:58,609 User:admin DEBUG [repo.component.UIActions] encodeBegin() for <r:ac
tions/> Id: sidebarActions groupId: navigator_actions
10:06:58,625 User:admin DEBUG [repo.component.UIActions] -constructing ActionGro
up: navigator_actions for ContextId: _default
10:06:58,625 User:admin DEBUG [repo.component.UIActions] —processing ActionDef
inition: reset_navigator
10:06:58,625 User:admin DEBUG [repo.component.UIActions] —–adding UIActionLin
k component for: reset_navigator
10:06:58,625 User:admin DEBUG [repo.component.UIActions] Rendering actions group
for contextId: _default
10:06:58,625 User:admin DEBUG [repo.component.UIActions] encodeEnd() for <r:acti
ons/> Id: sidebarActions
10:06:58,703 User:admin DEBUG [repo.component.UIActions] encodeBegin() for <r:ac
tions/> Id: col6-actions groupId: edit_package_item_actions
10:06:58,703 User:admin DEBUG [repo.component.UIActions] —already built compon
ent tree for actions contextId: {http://www.alfresco.org/model/content/1.0}conte
nt
10:06:58,703 User:admin DEBUG [repo.component.UIActions] Rendering actions group
for contextId: {http://www.alfresco.org/model/content/1.0}content
10:06:58,703 User:admin DEBUG [repo.component.UIActions] encodeEnd() for <r:acti
ons/> Id: col6-actions
10:06:58,703 User:admin DEBUG [repo.component.UIActions] encodeBegin() for <r:ac
tions/> Id: package-actions groupId: add_package_item_actions
10:06:58,703 User:admin DEBUG [repo.component.UIActions] —already built compon
ent tree for actions contextId: {http://www.alfresco.org/model/workflow/nc/1.0}s
ubmitPurchaseRequestTask
10:06:58,703 User:admin DEBUG [repo.component.UIActions] Rendering actions group
for contextId: {http://www.alfresco.org/model/workflow/nc/1.0}submitPurchaseReq
uestTask
10:06:58,703 User:admin DEBUG [repo.component.UIActions] encodeEnd() for <r:acti
ons/> Id: package-actions

min
Champ in-the-making
Champ in-the-making
Ok, found the problem.  There is a syntax error in the swimlane defintion I posted above.  Once corrected, the "failed to signal" message no longer appears and the workflow completes successfully.

The correct syntax:

   <swimlane name="assignee">
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <actor>#{bpm_assignee}</actor>
      </assignment>
   </swimlane>

The error was that there was an extra > in the assignment start tag http://forums.alfresco.com/en/posting.php?mode=reply&f=34&t=12945#

lsharmaa
Champ in-the-making
Champ in-the-making
These kind of errors may happen cos of one of the  following Reasons:

1.In workflow-content.xml,change the property
from
<prop key="redeploy">false</prop>
To
<prop key=" redeploy">true</prop>
2. Another possible changes might be the content which u created might be loaded properly so create a new content and then start Advancedworkflow.
3. one more thing is check the process-Definition.xml file:
Like you specified the correct path for child.
for Eg:
var reviewFolder =companyhome.childByNamePath("Review Project/PendingReview/Bob_reviewer");
bpm_package.children[0].move(reviewFolder);

Regards,
Lakshmi Narasimha Sharma