org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'flowId:search-flow' in state 'List' of flow 'quote-main-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'refresh'], [eventId = 'new'], [eventId = 'select']] -- likely programmer error, check the set of TransitionCriteria for this state

Spring JIRA | Dainius Vaznys | 10 years ago
  1. 0

    Consider a button like this: <h:commandButton value="#{labels.theLabel}" action="flowId:search-flow"/> Pressing the button works only if we're not engaged in any flow. However if the page containing the button is a part of a webflow (i.e. configured as a view-state) the button does not work, the exception is below: org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'flowId:search-flow' in state 'List' of flow 'quote-main-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'refresh'], [eventId = 'new'], [eventId = 'select']] -- likely programmer error, check the set of TransitionCriteria for this state at org.springframework.webflow.engine.TransitionableState.getRequiredTransition(TransitionableState.java:82) at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:112) It seems that SWF 1.0.2 introduced FlowExecutionKeyStateHolder which restores flow execution earlier than it was in SWF 1.0.1. The result is that when request comes to FlowNavigationHandler the flow execution in SWF 1.0.2 is already restored and therefore the routine tries to feed the event 'flowId:search-flow' to that execution instead of launching new flow as it was in SWF 1.0.1. Shortly, SWF 1.0.2 broke backwards compatibility for buttons like action="flowId:search-flow" that operate within another flow execution.

    Spring JIRA | 10 years ago | Dainius Vaznys
    org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'flowId:search-flow' in state 'List' of flow 'quote-main-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'refresh'], [eventId = 'new'], [eventId = 'select']] -- likely programmer error, check the set of TransitionCriteria for this state
  2. 0

    Consider a button like this: <h:commandButton value="#{labels.theLabel}" action="flowId:search-flow"/> Pressing the button works only if we're not engaged in any flow. However if the page containing the button is a part of a webflow (i.e. configured as a view-state) the button does not work, the exception is below: org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'flowId:search-flow' in state 'List' of flow 'quote-main-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'refresh'], [eventId = 'new'], [eventId = 'select']] -- likely programmer error, check the set of TransitionCriteria for this state at org.springframework.webflow.engine.TransitionableState.getRequiredTransition(TransitionableState.java:82) at org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:112) It seems that SWF 1.0.2 introduced FlowExecutionKeyStateHolder which restores flow execution earlier than it was in SWF 1.0.1. The result is that when request comes to FlowNavigationHandler the flow execution in SWF 1.0.2 is already restored and therefore the routine tries to feed the event 'flowId:search-flow' to that execution instead of launching new flow as it was in SWF 1.0.1. Shortly, SWF 1.0.2 broke backwards compatibility for buttons like action="flowId:search-flow" that operate within another flow execution.

    Spring JIRA | 10 years ago | Dainius Vaznys
    org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'flowId:search-flow' in state 'List' of flow 'quote-main-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'refresh'], [eventId = 'new'], [eventId = 'select']] -- likely programmer error, check the set of TransitionCriteria for this state
  3. 0

    bug when using icefaces and spring webflow

    icesoft.org | 8 months ago
    org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'flowId:sellitem-flow' in state 'enterPriceAndItemCount' of flow 'sellitem-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'submit']] -- likely programmer error, check the set of TransitionCriteria for this state
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug? TransitionableState.getRequiredTransition not looking at global transitions? - Spring Forum

    spring.io | 1 year ago
    org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'cancel' in state 'troubleCallType' of flow 'scriptingInlineFlow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'back'], [eventId = 'carIntoPole'], [eventId = 'priorityLossOfSupply'], [eventId = 'wiresDown'], [eventId = 'dimLights'], [eventId = 'shockOrFatality'], [eventId = 'coldWaterShockCheck'], [eventId = 'explosionOrLoudNoiseReport'], [eventId = 'wildlife'], [eventId = 'undergroundPillarDamagedReport'], [eventId = 'treesLocations'], [eventId = 'urgentPublicHazard'], [eventId = 'sparksLocations'], [eventId = 'fire'], [eventId = 'flickeringLights'], [eventId = 'lfiFlashing'], [eventId = 'lfiNotFlashing'], [eventId = 'lossOfSupplyOrOnePhaseDown']] -- likely programmer error, check the set of TransitionCriteria for this state
  6. 0

    externalRedirect problem - Spring Forum

    spring.io | 1 year ago
    org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'geoBlocked' in state 'validateBooking' of flow 'bookingProgramme-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'finish']] -- likely programmer error, check the set of TransitionCriteria for this state

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.webflow.engine.NoMatchingTransitionException

      No transition found on occurence of event 'flowId:search-flow' in state 'List' of flow 'quote-main-flow' -- valid transitional criteria are array<TransitionCriteria>[[eventId = 'refresh'], [eventId = 'new'], [eventId = 'select']] -- likely programmer error, check the set of TransitionCriteria for this state

      at org.springframework.webflow.engine.TransitionableState.getRequiredTransition()
    2. Spring Web Flow
      TransitionableState.onEvent
      1. org.springframework.webflow.engine.TransitionableState.getRequiredTransition(TransitionableState.java:82)
      2. org.springframework.webflow.engine.TransitionableState.onEvent(TransitionableState.java:112)
      2 frames