Hi
I'm guessing you have a human task in your flow. I get a similar error when I go into JBPM console for the first time, when it builds the task list.
It may be good for you to post more details about your flow and configuration. I'm afraid I'm unlikely to be able to help in any case.
Can you see your process in JBPM console process pane?
Regards
Tim