[jboss-user] [JBoss jBPM] - Re: org.hibernate.AssertionFailure: collection [org.jbpm.gra
JesperB
do-not-reply at jboss.com
Tue Jan 30 05:54:27 EST 2007
I have the same issue and I am using jBPM 3.1.3, hibernate 3.2.0GA on a JBOSS 4.0.5GA.
I retrieve the Timer from the SchedulerSession and set the new calculated duedate and I am unable to save the changes made.
This is the exception trace:
| 11:39:51,514 ERROR [AssertionFailure] an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
| org.hibernate.AssertionFailure: collection [org.jbpm.graph.def.Node.exceptionHandlers] was not processed by flush()
| at org.hibernate.engine.CollectionEntry.postFlush(CollectionEntry.java:205)
| at org.hibernate.event.def.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:333)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:28)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
| at se.sqs.production.workflow.GetStateAction.execute(GetStateAction.java:101)
| at org.jbpm.graph.def.Action.execute(Action.java:123)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185)
| at org.jbpm.graph.def.Action$$EnhancerByCGLIB$$d88de83f.execute(<generated>)
| at org.jbpm.graph.def.Node.execute(Node.java:328)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185)
| at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$df23eee3.execute(<generated>)
| at org.jbpm.command.ExecuteNodeCommand.execute(ExecuteNodeCommand.java:57)
| at org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:135)
| at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:83)
| 11:39:51,655 ERROR [GetStateAction] collection [org.jbpm.graph.def.Node.exceptionHandlers] was not processed by flush()
| org.hibernate.AssertionFailure: collection [org.jbpm.graph.def.Node.exceptionHandlers] was not processed by flush()
| at org.hibernate.engine.CollectionEntry.postFlush(CollectionEntry.java:205)
| at org.hibernate.event.def.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:333)
| at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:28)
| at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
| at se.sqs.production.workflow.GetStateAction.execute(GetStateAction.java:101)
| at org.jbpm.graph.def.Action.execute(Action.java:123)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185)
| at org.jbpm.graph.def.Action$$EnhancerByCGLIB$$d88de83f.execute(<generated>)
| at org.jbpm.graph.def.Node.execute(Node.java:328)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185)
| at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$df23eee3.execute(<generated>)
| at org.jbpm.command.ExecuteNodeCommand.execute(ExecuteNodeCommand.java:57)
| at org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExecutorThread.java:135)
| at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.java:83)
|
I have tried to save the timer through the SchedulerSession. I have also tried to save the ProcessInstance with the same result.
Has anyone resolved this issue ?
My business logic fails because of this "bug" :-(.
/Jesper
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008220#4008220
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008220
More information about the jboss-user
mailing list