06-19-2008 06:06 AM
07-04-2008 06:33 AM
07-07-2008 05:24 AM
<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.10-05-2009 01:05 PM
<?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>
..
..
..
..
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
10-07-2009 02:50 PM
05-06-2011 05:17 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.