[jboss-user] [JBoss jBPM] - Re: LinkageError

ricardomarques do-not-reply at jboss.com
Tue Jul 17 13:32:51 EDT 2007


Here's my definition:


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition
  |   xmlns=""  name="condition">
  |    <swimlane name="default">
  |       <assignment expression="user(grover)"></assignment>
  |    </swimlane>
  |    <end-state name="fim"></end-state>
  |    <task-node name="which path">
  |       <task name="which path to follow" swimlane="default">
  |          <controller>
  |             <variable name="path" access="read,write,required"></variable>
  |          </controller>
  |       </task>
  |       <transition name="" to="decision"></transition>
  |    </task-node>
  |    <start-state name="start">
  |       <transition name="" to="which path"></transition>
  |    </start-state>
  |    <decision name="decision">
  |       <transition name="to right" to="right">
  | 	      <condition expression="#{ path == 'right' }" />
  |       </transition>
  |       <transition name="to left" to="left">
  |       	<condition expression="#{ path == 'left' }" />
  |       </transition>
  |    </decision>
  |    <node name="left">
  |       <event type="node-enter">
  |          <action name="action1" class="actions.NotifyLeft"></action>
  |       </event>
  |       <transition name="from left" to="end"></transition>
  |    </node>
  |    <node name="right">
  |       <event type="node-enter">
  |          <action name="action1" class="actions.NotifyRight"></action>
  |       </event>
  |       <transition name="from right" to="end"></transition>
  |    </node>
  | </process-definition>
  | 

When I come to task node and enter a value like "right" or "left", I run a TaskInstanceEndCommand to end the task and continue, when I do that the considtino is evaluated and the correct node is called (which prints a line on the console), then the Linkage Error pops up.

Debugging the application the error is raised on node.leave()

I'm trying to get a bit more detail where the error is raised, so clues and hints are welcome meantime :)

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

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



More information about the jboss-user mailing list