0 Replies Latest reply on Sep 24, 2007 8:41 AM by Paulo Freitas

    dynamic task creation

    Paulo Freitas Newbie

      Hi guys!
      I'm from brazil and I'm having some problems with dynamic task creation...

      I got a

      failed to lazily initialize a collection of role: org.jbpm.context.exe.ContextInstance.tokenVariableMaps

      when a I call

      TaskMgmtInstance mgmt = pInstance.getTaskMgmtInstance();
      mgmt.createTaskInstance(task, getExecutionContext());

      it seams that isn't possible to initialize tokenVariableMaps collection...

      while i'm debbuging i see a lot of objects that's loaded by CGLazyInitialize
      but only tokenVariableMaps fails...

      does anybody knows how to fix that?