在网上找了半天,都没找到一个完整的jbpm会签例子,哎没办法新手,等贵人指点一下,再整不出来就扫地出门了.
在网上找了半天,都没找到一个完整的jbpm会签例子,
哎没办法jbpm新手,等贵人指点一下,再整不出来就扫地出门了.
照网上给的这个例子(http://www.javaeye.com/topic/125297)做了半天还是没解决问题.
第三段代码没给出来,自己出不会写.
异常如下:
couldn't parse set field 'actor' to value '<actor>#{reviewer}</actor>' [org.jbpm.instantiation.FieldInstantiator] - 6894438 2009-03-01 12:32:05,656 ERROR
java.lang.NullPointerException
at org.jbpm.instantiation.FieldInstantiator.setPropertyValue(FieldInstantiator.java:74)
at org.jbpm.instantiation.FieldInstantiator.instantiate(FieldInstantiator.java:65)
at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:168)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197)
at org.jbpm.instantiation.Delegation_$$_javassist_4.instantiate(Delegation_$$_javassist_4.java)
at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:274)
at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:247)
at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:190)
at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:200)
at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:168)
at org.jbpm.graph.def.Node.enter(Node.java:314)
等..................
[解决办法]
参看:http://yushanyuan.javaeye.com/admin/blogs/363753
[解决办法]
正在研究