[jboss-user] [JBoss jBPM] - Error while adding variables to execution context

mlsreekanth do-not-reply at jboss.com
Tue Sep 9 15:49:06 EDT 2008


Hello All,

I have been successfully using jbpm-jpdl-3.2.GA till now. Few days back, database server was down suddenly because of data storage issue. After that, i am seeing very peculiar errors from JBPM as follows,

Caused by: org.hibernate.TransientObjectException: org.jbpm.context.exe.TokenVariableMap
	at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216)
	at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108)
	at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:221)
	at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:476)
	at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:2900)
	at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:474)
	at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:197)
	at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:120)
	at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:195)
	at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
	at org.jbpm.persistence.db.DbPersistenceService.flushSession(DbPersistenceService.java:272)
	at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:232)

>From the above stack-trace i understand that JBPM runtime information such as token, context instance etc,,, are in-correct.

How can i correct the database? Could you please shed some light?
I am literally dying here as production server is down because of this issue.

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

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



More information about the jboss-user mailing list