]
Thomas Diesler resolved JBPM-471.
---------------------------------
Resolution: Out of Date
createVariableInstance trying to serialize Hibernate objects
------------------------------------------------------------
Key: JBPM-471
URL:
http://jira.jboss.com/jira/browse/JBPM-471
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Reporter: Derek Cornelius
Assigned To: Tom Baeyens
If an object is loaded by Hibernate that does not implement Serializable and then a
variable instance is created, JBPM will try to serialize the object which causes and
exception.
If the Hibernate object is Serializable, then the JBPM serializes the Hibernate session
information. When the object is reloaded, exceptions occurs when the lazily loaded
collections are accessed or the CGLib generated class does not exist.
Looks like the problem is in createVariableInstance, the check should be done for
Hibernate objects before Serializable objects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: