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
[
http://community.jboss.org/message/551224#551224]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]