java.lang.NoSuchFieldError: SKIP_ITERATION

Spring JIRA | Björn Voß | 3 years ago
  1. 0

    Since version 2.3.3 you get the exception (see stacktrace below) if you use a JSF version prior to 2.1. I think it's totally ok to say webflow 2.4.x needs at least jsf 2.1, but a bugfix version (2.3.2 -> 2.3.3) should not break compatibility of jsf 2.0 {code} java.lang.NoSuchFieldError: SKIP_ITERATION at org.springframework.faces.webflow.Jsf2FlowApplication.publishPostRestoreStateEvent(Jsf2FlowApplication.java:134) at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:196) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:181) at org.springframework.faces.webflow.JsfUtils.publishPostRestoreStateEvent(JsfUtils.java:79) at org.springframework.faces.webflow.JsfViewFactory.getView(JsfViewFactory.java:132) at org.springframework.webflow.engine.ViewState.resume(ViewState.java:193) at org.springframework.webflow.engine.Flow.resume(Flow.java:545) at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258) at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169) at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183) at org.springframework.faces.webflow.JsfFlowHandlerAdapter.handle(JsfFlowHandlerAdapter.java:56) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) {code}

    Spring JIRA | 3 years ago | Björn Voß
    java.lang.NoSuchFieldError: SKIP_ITERATION
  2. 0

    Since version 2.3.3 you get the exception (see stacktrace below) if you use a JSF version prior to 2.1. I think it's totally ok to say webflow 2.4.x needs at least jsf 2.1, but a bugfix version (2.3.2 -> 2.3.3) should not break compatibility of jsf 2.0 {code} java.lang.NoSuchFieldError: SKIP_ITERATION at org.springframework.faces.webflow.Jsf2FlowApplication.publishPostRestoreStateEvent(Jsf2FlowApplication.java:134) at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:196) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:181) at org.springframework.faces.webflow.JsfUtils.publishPostRestoreStateEvent(JsfUtils.java:79) at org.springframework.faces.webflow.JsfViewFactory.getView(JsfViewFactory.java:132) at org.springframework.webflow.engine.ViewState.resume(ViewState.java:193) at org.springframework.webflow.engine.Flow.resume(Flow.java:545) at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258) at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169) at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183) at org.springframework.faces.webflow.JsfFlowHandlerAdapter.handle(JsfFlowHandlerAdapter.java:56) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829) {code}

    Spring JIRA | 3 years ago | Björn Voß
    java.lang.NoSuchFieldError: SKIP_ITERATION
  3. 0

    HTTP Status 404 - /helloWorld/ error

    icesoft.org | 6 months ago
    java.lang.NoSuchFieldError: SKIP_ITERATION
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HTTP Status 404 - /helloWorld/ error

    icesoft.org | 6 months ago
    java.lang.NoSuchFieldError: SKIP_ITERATION
  6. 0

    Re:IceFace Configuration / Deployment problem :(

    Icesoft | 3 years ago | chrisauer
    java.lang.NoSuchFieldError: SKIP_ITERATION

    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. java.lang.NoSuchFieldError

      SKIP_ITERATION

      at org.springframework.faces.webflow.Jsf2FlowApplication.publishPostRestoreStateEvent()
    2. org.springframework.faces
      Jsf2FlowApplication.publishPostRestoreStateEvent
      1. org.springframework.faces.webflow.Jsf2FlowApplication.publishPostRestoreStateEvent(Jsf2FlowApplication.java:134)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    4. Spring Core
      ReflectionUtils.invokeMethod
      1. org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:196)
      2. org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:181)
      2 frames
    5. org.springframework.faces
      JsfViewFactory.getView
      1. org.springframework.faces.webflow.JsfUtils.publishPostRestoreStateEvent(JsfUtils.java:79)
      2. org.springframework.faces.webflow.JsfViewFactory.getView(JsfViewFactory.java:132)
      2 frames
    6. Spring Web Flow
      FlowHandlerAdapter.handle
      1. org.springframework.webflow.engine.ViewState.resume(ViewState.java:193)
      2. org.springframework.webflow.engine.Flow.resume(Flow.java:545)
      3. org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:258)
      4. org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
      5. org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
      5 frames
    7. org.springframework.faces
      JsfFlowHandlerAdapter.handle
      1. org.springframework.faces.webflow.JsfFlowHandlerAdapter.handle(JsfFlowHandlerAdapter.java:56)
      1 frame
    8. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      2. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      3. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
      4. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:844)
      4 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      1 frame
    10. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
      1 frame