It appears something is going wrong here. Hibernate is throwing an exception because it can't persist a UnpersistableInstance. I assume an unpersitable instance shouldn't get to this point.
| aused by: org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.context.exe.variableinstance.UnpersistableInstance is not a: org.jbpm.context.exe.VariableInstance | at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3583) | at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1347) | at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180) | at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:487) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84) | at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) | at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507) | at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499) | at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218) | at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268) | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216) | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169) | at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296) | at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242) | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219) | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169) | at org.hibernate.engine.Cascade.cascade(Cascade.java:130) | at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:131) | at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:122) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:187) | ... 46 more | | Asa View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036554#4036554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036554 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user