Hey John, Do 'cancel' and 'cancelFlow' from SimpleExpressionPool do the same thing ? If so, yes, it could be that I am calling this twice.
Nicolas, On Jun 29, 2006, at 1:48 PM, John Mettraux wrote: > Hi Nicolas, > > On 6/29/06, Nicolas Modrzyk <[EMAIL PROTECTED]> wrote: >> >> Posting this on the list in case this can be of any use to other >> people. >> I am trying to cancel a flow from a SimpleExpressionPool, using the >> following method: cancelFlow(FlowExpressionId). (line 887) >> >> Sounds like it is working and the flow is indeed cancelled (not 100% >> sure though) but I get a NPE at the following line: >> SimpleExpressionPool.fetchRootofFlow(SimpleExpressionPool 466) >> >> The persistence I am using is the Magnolia JCR. >> >> Do you have any idea of what's happening ? > > The NPE means that you passed a FlowExpressionId which points to an > inexistent expression in the pool. > I'll detect the case and emit an appropriate error message in the > next release. > > Maybe you called the method two times, the first time being > successful, the second time fails because there isn't anything to > cancel anymore for the given flow. > > Where does the FlowExpressionId that you use comes from ? > > > Best regards, > > John > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > OpenWFE - Open source WorkFlow Engine > OpenWFE-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openwfe-users Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ OpenWFE - Open source WorkFlow Engine OpenWFE-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openwfe-users
