2 Replies Latest reply on May 11, 2007 10:32 AM by adonis mhlanga

    failed to lazily initialize a collection of role: ... .Task.

    Mehmet Bilgi Newbie

      Hi,
      the problem is :
      14:27:13,671 ERROR LazyInitializationException : failed to lazily initialize a collection of role: org.jbpm.taskmgmt.def.Task.events - no session or session was closed
      i got this exception while trying to run WebsaleTest, that comes with the framework.. Firstly, it printed it can not find taskinstance class, than i placed: jbpm.task.instance.class=org.jbpm.taskmgmt.exe.TaskInstance line in jbpm.properties . that is weird because i should not write the default task instance class, it already knows that. Whatever, after that, i got the LazyInitializationException . did anyone seen this before ?

      Thanks in advance.

      Mehmet Bilgi