java.lang.IllegalArgumentException

This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save']

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25740

  • via Spring JIRA by Serge Bogatyrjov, 1 year ago
    This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save']
  • via Spring JIRA by Serge Bogatyrjov, 11 months ago
    This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save']
  • via Stack Overflow by cedric
    , 1 year ago
    Cannot find state with id 'displayError' in flow 'admin_main' -- Known state ids are 'array&lt;String&gt;['queryAll', 'mainForm', 'register']'
  • Stack trace

    • java.lang.IllegalArgumentException: This flow 'new-entry-flow' already contains a state with id 'save' -- state ids must be locally unique to the flow definition; existing state-ids of this flow include: array<String>['start', 'start', 'input', 'save'] at org.springframework.webflow.Flow.add(Flow.java:202) at org.springframework.webflow.State.setFlow(State.java:119) at org.springframework.webflow.builder.DefaultFlowArtifactFactory.createState(DefaultFlowArtifactFactory.java:123) at org.springframework.webflow.builder.XmlFlowBuilder$LocalFlowArtifactFactory.createState(XmlFlowBuilder.java:1149) at org.springframework.webflow.builder.XmlFlowBuilder.parseActionState(XmlFlowBuilder.java:599) at org.springframework.webflow.builder.XmlFlowBuilder.addStateDefinitions(XmlFlowBuilder.java:550) at org.springframework.webflow.builder.XmlFlowBuilder.buildStates(XmlFlowBuilder.java:534) at org.springframework.webflow.builder.FlowAssembler.assembleFlow(FlowAssembler.java:111) at org.springframework.webflow.registry.RefreshableFlowHolder.assembleFlow(RefreshableFlowHolder.java:121) at org.springframework.webflow.registry.RefreshableFlowHolder.getFlow(RefreshableFlowHolder.java:76) at org.springframework.webflow.registry.FlowRegistryImpl.getFlow(FlowRegistryImpl.java:170) at org.springframework.webflow.execution.repository.support.AbstractFlowExecutionRepository.createFlowExecution(AbstractFlowExecutionRepository.java:76) at org.springframework.webflow.executor.FlowExecutorImpl.launch(FlowExecutorImpl.java:154) at org.springframework.webflow.executor.support.FlowRequestHandler.handleFlowRequest(FlowRequestHandler.java:117) at org.springframework.webflow.executor.mvc.FlowController.handleRequestInternal(FlowController.java:198) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.