[jboss-user] [jBPM] - Bug: jPBM 4.4: JbpmException thrown by ActivityExecution.getActivity()

Joe Gottman do-not-reply at jboss.com
Tue Jul 6 08:39:42 EDT 2010

Joe Gottman [http://community.jboss.org/people/joegottman] created the discussion

"Bug: jPBM 4.4: JbpmException thrown by ActivityExecution.getActivity()"

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

   I recently downloaded the 4.4 snapshot build and discovered that when you call several ActivityExecution.getActivity(), a JpbmException is thrown with error message "no environment to get org.jbpm.pvm.internal.session.Repository".  It is possible to avoid this by creating an EnvironmentImpl object before calling the method on Activity, but since EnvironmentImpl is not part of the public interface and ActivityExecution.getActivity() is, this is not a good solution.  The getActivity() method in ExecutionImpl should create the EnvironmentImpl object inside its implementation of getActivity().


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100706/8e141617/attachment-0001.html 

More information about the jboss-user mailing list