[jboss-user] [JBoss jBPM] - Token.signal() throws Exception from FieldInstantiator

SidKennedy do-not-reply at jboss.com
Mon Nov 5 13:40:01 EST 2007


Hello again :)
I have another problem. I have a processdefinition and I added some other xml-tags to a node for example as I thought that this is possible. Then I instantiate the definition, go for the RootToken and invoke signal() to start my process like this:

  | process.getRootToken().signal();
  | 

but the following exception is thrown:

anonymous wrote : 
  | [ERROR] FieldInstantiator - -couldn't parse set field 'Tool' to value '<Tool xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">...' <java.lang.NullPointerException>java.lang.NullPointerException
  | 	at org.jbpm.instantiation.FieldInstantiator.setPropertyValue(FieldInstantiator.java:70)
  | 	at org.jbpm.instantiation.FieldInstantiator.instantiate(FieldInstantiator.java:61)
  | 	at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:163)
  | 	at org.jbpm.instantiation.Delegation.getInstance(Delegation.java:125)
  | 	at org.jbpm.graph.def.Action.execute(Action.java:122)
  | 	at org.jbpm.graph.def.Node.execute(Node.java:328)
  | 	at org.jbpm.graph.def.Node.enter(Node.java:316)
  | 	at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | 	at org.jbpm.graph.def.Node.leave(Node.java:383)
  | 	at org.jbpm.graph.node.StartState.leave(StartState.java:70)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:178)
  | 	at org.jbpm.graph.exe.Token.signal(Token.java:123)
  | 	at myproject.workflowtools.views.WorkflowView$3.run(WorkflowView.java:214)
  | 	at java.lang.Thread.run(Unknown Source)
  | 

I don't know what I can do with that information because the process is completed successfully. But I don't like exceptions as you can imagine ;) Do you have an idea what I can do?

greets

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

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



More information about the jboss-user mailing list