This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: Problem with Jbpm/Seam integration.gavin.king Mar 16, 2006 8:11 AM (in response to jcruise)Please submit to JIRA, with a patch if possible. 
It seems that the jbpmConfiguration member variable is initalised lazily inside the org.jboss.seam.core.Jbpm class - which is good.
However the initialisation only occurs inside the installProcessDefinitions method, *if* there is a context parameter that specifies a process to deploy.
This leaves the jbpmConfiguration member unitialized in other circumstances.
My application (like the JBPM sample app) allows the user to upload process definitions at runtime and so I don't preload any particular definition.
Therefore bad things happen when I try and use the jbpmContext component with it's unitialised jbpmConfiguration member variable.
This problem could be fixed by moving the lazy intialization of the jbpmConfiguration to the getJbpmConfiguration method.
Cheers
J
Please submit to JIRA, with a patch if possible.