You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Kieselhorst (JIRA)" <de...@myfaces.apache.org> on 2014/10/15 14:39:34 UTC

[jira] [Created] (MYFACES-3932) FacesConfigurator causes IllegalStateException

Dennis Kieselhorst created MYFACES-3932:
-------------------------------------------

             Summary: FacesConfigurator causes IllegalStateException
                 Key: MYFACES-3932
                 URL: https://issues.apache.org/jira/browse/MYFACES-3932
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.2.5
            Reporter: Dennis Kieselhorst


This issue was originally reported on the mailinglist:
http://mail-archives.apache.org/mod_mbox/myfaces-users/201109.mbox/%3CCANTHAYdYRCe0HW0muLvjbNA76k2Ovwn18UpoANeMMHSr_p=3tQ@mail.gmail.com%3E

I am still able to reproduce it if I build the application in UTC+1 timezone and run it with -Duser.timezone=UTC. It doesn't occur with project stage production.

The exception is raised multiple times:
{noformat}
java.lang.IllegalStateException: setStateManager may not be executed after a lifecycle request has been completed
	at org.apache.myfaces.application.ApplicationImpl.setStateManager(ApplicationImpl.java:2113)
	at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:613)
	at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:477)
	at org.apache.myfaces.config.FacesConfigurator.update(FacesConfigurator.java:423)
	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:137)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)