[jboss-user] [JBoss jBPM] - Re: org.jbpm.JbpmException: transition in node 'StartState(s

alpheratz-jb do-not-reply at jboss.com
Wed Nov 1 00:31:36 EST 2006


I rolled back to jbpm-3.1.1.jar (from jbpm-3.1.2.jar) and all is now well.

I noticed the following message on my console:

   transition to='page1' on node 'starter-upper' cannot be resolved

I tracked this down to the following in org.jbpm.jpdl.xml.JpdlXmlReader:


  |   public void resolveTransitionDestination(Element transitionElement, Node node) {
  |     Transition transition = new Transition(node.getProcessDefinition());
  |     
  |     // get the action name
  |     String name = transitionElement.attributeValue("name");
  |     if (name!=null) {
  |       transition.setName(name);
  |     }
  | 
  |     // add the transition to the node
  |     node.addLeavingTransition(transition);
  | 
  |     // set destinationNode of the transition
  |     String toName = transitionElement.attributeValue("to");
  |     if (toName==null) {
  |       addWarning("node '"+node.getFullyQualifiedName()+"' has a transition without a 'to'-attribute to specify its destinationNode");
  |     } else {
  |       Node to = ((NodeCollection)node.getParent()).findNode(toName);
  |       if (to==null) {
  |         addWarning("transition to='"+toName+"' on node '"+node.getFullyQualifiedName()+"' cannot be resolved");
  |       } else {
  |         to.addArrivingTransition(transition);
  |       }
  |     }
  |     
  |     // read the actions
  |     readActions(transitionElement, transition, Event.EVENTTYPE_TRANSITION);
  |     
  |     readExceptionHandlers(transitionElement, transition);
  |   }
  | 

If I read correctly, fisheye says this was deleted due to"project restructuring right after beta 2 tag".

So: how do I have it in my 3.1.2 jar? (yes, I've checked my lib dirs and my ear...no duplicates to be found; I've also cleaned out tmp/work dirs and rebuild ear from scratch...still can't find any contamination...).

Cheers

Alph

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

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



More information about the jboss-user mailing list