intercept flow leads to java.lang.StackOverflowError

Cantor, Scott cantor.2 at osu.edu
Fri Jan 15 10:01:35 EST 2016


On 1/15/16, 9:58 AM, "dev on behalf of Cantor, Scott" <dev-bounces at shibboleth.net on behalf of cantor.2 at osu.edu> wrote:


>
>No, that's recursive (the evaluate expression is telling it to repeat that same action-state).

The reason for that isn't anything you did, exactly, it's because you did inherit from intercept.abstract properly, but that flow has a global transition rule:

        <transition on="#{!'proceed'.equals(currentEvent.id)}" to="#{currentEvent.id}" />

i.e. "anything that's not proceed should go to a state named for the event"


As long as that's an end-state, the flow terminates as it should, so all you need to do is get rid of the action-state entirely I think, and put the <end-state> into the user-space flow that contains any custom intercept events.

-- Scott



More information about the dev mailing list