[jboss-user] [JBoss jBPM] - Instance not of expected entity type -> Flush failed

Stefan1509 do-not-reply at jboss.com
Wed Apr 29 06:51:48 EDT 2009


Hi all,

Currently I get the following error message. Does someone knows what goes wrong?

Configuration:
            
                  
                        
                              
                                                    
                        
                  
            
            
      
Regards,
Stefan

2009-04-29 15:23:57,968 [server-tomcat-thread-2] ERROR org.jbpm.persistence.db.DbPersistenceService  - hibernate flush failed
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:3663)
                at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1374)
                at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:203)
                at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:535)
                at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:103)
                at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
                at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:534)
                at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:526)
                at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:241)
                at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:291)
                at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:239)
                at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192)
                at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:319)
                at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:265)
                at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:242)
                at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192)
                at org.hibernate.engine.Cascade.cascade(Cascade.java:153)
                ……
2009-04-29 15:23:57,968 [server-tomcat-thread-2] ERROR org.jbpm.svc.Services  - problem closing service 'persistence'
org.jbpm.persistence.JbpmPersistenceException: hibernate flush session failed
                at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:207)
                at org.jbpm.svc.Services.close(Services.java:243)
                at org.jbpm.JbpmContext.close(JbpmContext.java:133)
                …….


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227527#4227527

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227527




More information about the jboss-user mailing list