03-26-2007 07:34 AM
13:20:30,194 ERROR [org.jbpm.graph.def.GraphElement] action threw exception: Failed to execute supplied script: Wrapped java.lang.NullPointerException (AlfrescoScript#1)testmodel.xml
org.alfresco.service.cmr.repository.ScriptException: Failed to execute supplied script: Wrapped java.lang.NullPointerException (AlfrescoScript#1)
…
Caused by: org.alfresco.error.AlfrescoRuntimeException: Wrapped java.lang.NullPointerException (AlfrescoScript#1)
…
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (AlfrescoScript#1)
…
Caused by: java.lang.NullPointerException
13:20:30,444 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: Failed to signal transition 'null' from workflow task 'jbpm$118'
org.alfresco.service.cmr.workflow.WorkflowException: Failed to signal transition 'null' from workflow task 'jbpm$118'
…
Caused by: org.jbpm.graph.def.DelegationException
…
Caused by: org.alfresco.service.cmr.repository.ScriptException: Failed to execute supplied script: Wrapped java.lang.NullPointerException (AlfrescoScript#1)
…
Caused by: org.alfresco.error.AlfrescoRuntimeException: Wrapped java.lang.NullPointerException (AlfrescoScript#1)
…
Caused by: org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException (AlfrescoScript#1)
…
Caused by: java.lang.NullPointerException
…
<namespaces>
<namespace uri="test.model" prefix="test"/>
</namespaces>
…
<aspects>
<!– Aspect: Workflow status –>
<aspect name="test:Workflow_Status">
<title>Workflow Status</title>
<properties>
<property name="test:BpmNr">
<title>Workflow ID</title>
<type>d:text</type>
</property>
<property name="test:BpmStatus">
<title>Workflow status</title>
<type>d:text</type>
</property>
</properties>
</aspect>
</aspects>
<start-state name="start">
<task name="wf:submitBehandelTask" swimlane="initiator"/>
<transition name="test1" to="script">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
var props = new Array(1);
props["test:BpmNr"] = "testnr";
bpm_package.addAspect ("test:Workflow_Status");
executionContext.leaveNode();
</script>
</action>
</transition>
</start-state>
03-29-2007 02:26 AM
03-29-2007 04:02 AM
bpm_package.children[0].addAspect ("test:Workflow_Status", props);
bpm_package.children[0].save()
10-03-2012 10:58 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.