java.lang.IllegalStateException: org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener

Apache's JIRA Issue Tracker | Kem Elbrader | 10 years ago
  1. 0

    [TOMAHAWK-971] Schedule throws a java.lang.IllegalStateException if more than one post back is made consecitively when using the jsf 1.1 ri - ASF JIRA

    apache.org | 11 months ago
    java.lang.IllegalStateException: org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener
  2. 0

    Deploying the myfaces-example-simple-1.1.5.war on a default installation of tomcat the schedule1.jsf page works fine. Switching to the reference implementation of jsf the schedule1.jsf page comes up and I'm able to make one post back to the page but I get the following exception after more than one post back of any kind. java.lang.IllegalStateException: org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:100) at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1299) at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1151) at org.apache.myfaces.custom.schedule.UISchedule.restoreState(UISchedule.java:378) at org.apache.myfaces.custom.schedule.HtmlSchedule.restoreState(HtmlSchedule.java:189) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1032) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044) at com.sun.faces.application.StateManagerImpl.restoreComponentState(StateManagerImpl.java:359) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:262) at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:250) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:177) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595) For example on the schedule1.jsf page click "add sample entries" twice. To isolate that this happens on any post back I added the following to the same page <h:form> <h:commandButton value="test"/> </h:form> and then clicked the test button twice. I've also found the same result on the following environments. - apache-tomcat-5.5.23, jsf-1.1_02-b08, and tomahawk-1.1.5 - apache-tomcat-5.5.23, jsf-1.1_02-b08, and tomahawk-1.1.6-SNAPSHOT - apache-tomcat-6.0.10, jsf-1.1_02-b08, and tomahawk-1.1.5 - apache-tomcat-6.0.10, jsf-1.1_02-b08, and tomahawk-1.1.6-SNAPSHOT - apache-tomcat-6.0.10, jsf-1.2_04-b07-FCS, and tomahawk-1.1.5 - apache-tomcat-6.0.10, jsf-1.2_04-b07-FCS, tomahawk-1.1.6-SNAPSHOT the MyFaces implementation seems to work fine in all of these environments.

    Apache's JIRA Issue Tracker | 10 years ago | Kem Elbrader
    java.lang.IllegalStateException: org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener
  3. 0

    Deploying the myfaces-example-simple-1.1.5.war on a default installation of tomcat the schedule1.jsf page works fine. Switching to the reference implementation of jsf the schedule1.jsf page comes up and I'm able to make one post back to the page but I get the following exception after more than one post back of any kind. java.lang.IllegalStateException: org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:100) at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1299) at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1151) at org.apache.myfaces.custom.schedule.UISchedule.restoreState(UISchedule.java:378) at org.apache.myfaces.custom.schedule.HtmlSchedule.restoreState(HtmlSchedule.java:189) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1032) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044) at javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044) at com.sun.faces.application.StateManagerImpl.restoreComponentState(StateManagerImpl.java:359) at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:262) at com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:250) at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:177) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595) For example on the schedule1.jsf page click "add sample entries" twice. To isolate that this happens on any post back I added the following to the same page <h:form> <h:commandButton value="test"/> </h:form> and then clicked the test button twice. I've also found the same result on the following environments. - apache-tomcat-5.5.23, jsf-1.1_02-b08, and tomahawk-1.1.5 - apache-tomcat-5.5.23, jsf-1.1_02-b08, and tomahawk-1.1.6-SNAPSHOT - apache-tomcat-6.0.10, jsf-1.1_02-b08, and tomahawk-1.1.5 - apache-tomcat-6.0.10, jsf-1.1_02-b08, and tomahawk-1.1.6-SNAPSHOT - apache-tomcat-6.0.10, jsf-1.2_04-b07-FCS, and tomahawk-1.1.5 - apache-tomcat-6.0.10, jsf-1.2_04-b07-FCS, tomahawk-1.1.6-SNAPSHOT the MyFaces implementation seems to work fine in all of these environments.

    Apache's JIRA Issue Tracker | 10 years ago | Kem Elbrader
    java.lang.IllegalStateException: org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JSF 2.2: File upload with h:inputFile | JSFlive: Michael Kurz's JSF Weblog

    wordpress.com | 6 months ago
    java.lang.IllegalStateException: java.lang.InstantiationException: org.apache.catalina.core.ApplicationPart
  6. 0

    [Resolvido] Exception ao injetar um @Component numa classe @AplicationScoped - Assuntos Gerais - GUJ

    com.br | 11 months ago
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'myFirstApplicationTask' defined in file [/home/bruno/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/imobiliaria/WEB-INF/classes/br/com/imobiliaria/component/MyFirstApplicationTask.class]: Unsatisfied dependency expressed through constructor argument with index 3 of type [br.com.imobiliaria.component.ParameterLoader]: : Error creating bean with name 'parameterLoader': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parameterLoader': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.

    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.IllegalStateException

      org.apache.myfaces.custom.schedule.UISchedule$ScheduleActionListener

      at javax.faces.component.StateHolderSaver.restore()
    2. JavaEE 7
      UIComponentBase.restoreState
      1. javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:100)
      2. javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1299)
      3. javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1151)
      3 frames
    3. Tomahawk
      HtmlSchedule.restoreState
      1. org.apache.myfaces.custom.schedule.UISchedule.restoreState(UISchedule.java:378)
      2. org.apache.myfaces.custom.schedule.HtmlSchedule.restoreState(HtmlSchedule.java:189)
      2 frames
    4. JavaEE 7
      UIComponentBase.processRestoreState
      1. javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1032)
      2. javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
      3. javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
      4. javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1044)
      4 frames
    5. JSF
      LifecycleImpl.execute
      1. com.sun.faces.application.StateManagerImpl.restoreComponentState(StateManagerImpl.java:359)
      2. com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:262)
      3. com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:250)
      4. com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:177)
      5. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      6. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
      6 frames
    6. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
      1 frame
    7. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      2 frames
    8. Tomahawk
      ExtensionsFilter.doFilter
      1. org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
      1 frame
    9. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      8 frames
    10. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    11. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame