0 Replies Latest reply on Feb 7, 2008 8:02 AM by jobu s

    HibernateLazyInitializer..ERROR

    jobu s Newbie

      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