[jboss-user] [JBoss jBPM] - HibernateLazyInitializer..ERROR

jobu do-not-reply at jboss.com
Thu Feb 7 08:02:58 EST 2008


I have configured JBPM with my struts application and deployed it in tomcat
Some times workflow engine throws this exception.... and can not executing any workflow method..

Caused by: java.lang.NoSuchMethodError: org.jbpm.graph.exe.Token.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer;
  | 	at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$74c28d1.getHibernateLazyInitializer(<generated>)
  | 	at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:274)
  | 	at org.hibernate.type.EntityType.resolve(EntityType.java:303)
  | 	at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
  | 	at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
  | 	at org.hibernate.loader.Loader.doQuery(Loader.java:717)
  | 	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | 	at org.hibernate.loader.Loader.doList(Loader.java:2150)
  | 	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
  | 	at org.hibernate.loader.Loader.list(Loader.java:2024)
  | 	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
  | 	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300)
  | 	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146)
  | 	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093)
  | 	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | 	at org.jbpm.db.GraphSession.findProcessInstances(GraphSession.java:347)
  | 	at com.brainscript.workflow.service.WorkflowService.inUsersRealisationLevel(WorkflowService.java:633)
  | 	at com.brainscript.hrm.grade.service.GradeRegisterService.update(GradeRegisterService.java:179)
  | 	at com.brainscript.hrm.grade.presentation.action.GradeRegisterAction.updateGraderegistration(GradeRegisterAction.java:647)
  | 	... 26 more

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

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



More information about the jboss-user mailing list