[jboss-user] [jBPM] - Re: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)

Maciej Swiderski do-not-reply at jboss.com
Fri Apr 26 13:15:03 EDT 2013


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)"

To view the discussion, visit: https://community.jboss.org/message/810601#810601

--------------------------------------------------------------
the situation you described indicates you have two HTWorkitem handlers active which both tries to notify the engine that task was completed. So what I could suggest is:
* double check the code you have where you create HTWorkItemHandler and make sure you have just one for given session
* if you dispose session make sure that your handler is disconnected otherwise you'll get exceptions as handler will try to notify disposed session
HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/810601#810601]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130426/b9826f98/attachment.html 


More information about the jboss-user mailing list