[jboss-dev-forums] [jBPM Development] - nodes not loading in processDefinition

shilan kalhor do-not-reply at jboss.com
Tue Sep 21 10:13:10 EDT 2010


shilan kalhor [http://community.jboss.org/people/shiloon] created the discussion

"nodes not loading in processDefinition"

To view the discussion, visit: http://community.jboss.org/message/562904#562904

--------------------------------------------------------------
Hi forum,

recently we have upgraded from jbpm 3.0.1 to 3.2.8. but new problem occurs with the old code.
when i try to find the regarding processDefinition from database using this code

GraphSession graphSession = jbpmContext.getGraphSession();
processDefinition = graphSession.findLatestProcessDefinition("processCoreName");

i note that processDefintion nodes don't load giving following exception:

Method threw 'org.hibernate.LazyInitializationException' exception.- illegal access to loading collection

but if i hard code the xml definition in the code and then just load the processDefinition, everything would be okay and
all nodes will be load respectively.

can you please help me to resolve the issue, is some newly added columns is empty or null causing this problem?

thanks

chilli
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/562904#562904]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100921/75dfdec8/attachment.html 


More information about the jboss-dev-forums mailing list