You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "lprimak (via GitHub)" <gi...@apache.org> on 2026/03/15 04:29:53 UTC

[I] [Bug] Remember me expiration -> relogin exception w/form resubmit [shiro]

lprimak opened a new issue, #2633:
URL: https://github.com/apache/shiro/issues/2633

   ### Search before asking
   
   - [x] I had searched in the [issues, **including closed issues**](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Environment
   
   Note: This appears only in main and the issue was never in any released version of the software
   
   ### Shiro version
   
   main branch
   
   ### What was the actual outcome?
   
   ```
   [2026-03-13T20:23:07.274-0500] [Payara 7.2026.2] [SEVERE] [] [org.omnifaces.exceptionhandler.FullAjaxExceptionHandler] [tid: _ThreadID=1
   14 _ThreadName=http-thread-pool::http-listener-1(5)] [timeMillis: 1773451387274] [levelValue: 1000] [[
     [0f727951-3829-4cd3-93a6-58d969ee7b21][::ffff:74.254.78.131] FullAjaxExceptionHandler: An exception occurred during processing Faces a
   jax request. Error page '/WEB-INF/errorpages/error-page.xhtml' will be shown.
   jakarta.faces.FacesException: Unable to restore view /auth/login.xhtml
           at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:219)
           at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:126)
           at jakarta.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:96)
           at jakarta.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:96)
           at org.omnifaces.viewhandler.OmniViewHandler.restoreView(OmniViewHandler.java:127)
           at jakarta.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:96)
           at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72)
           at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:98)
           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:131)
           at jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:689)
           at jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449)
           at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:331)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
           at org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:83)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:253)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:211)
           at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:65)
           at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:109)
           at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:138)
           at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:156)
           at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:70)
           at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:109)
           at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:138)
           at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:156)
           at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:70)
           at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:109)
           at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:138)
           at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:156)
           at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:70)
           at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:463)
           at org.apache.shiro.ee.filters.ShiroFilter.executeChain(ShiroFilter.java:255)
           at org.apache.shiro.web.servlet.AbstractShiroFilter.lambda$doFilterInternal$0(AbstractShiroFilter.java:377)
           at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:102)
           at org.apache.shiro.util.DefaultScopedValues.lambda$call$0(DefaultScopedValues.java:52)
           at java.base/jdk.internal.vm.ScopedValueContainer.callWithoutScope(ScopedValueContainer.java:162)
           at java.base/jdk.internal.vm.ScopedValueContainer.call(ScopedValueContainer.java:147)
           at java.base/java.lang.ScopedValue$Carrier.call(ScopedValue.java:419)
           at org.apache.shiro.util.DefaultScopedValues.call(DefaultScopedValues.java:52)
           at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:89)
   ```
   
   ### What was the expected outcome?
   
   Login works properly without exception 
   
   ### How to reproduce
   
   N/A
   
   ### Debug logs
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org


Re: [I] [Bug] Remember me expiration -> relogin exception w/form resubmit [shiro]

Posted by "lprimak (via GitHub)" <gi...@apache.org>.
lprimak closed issue #2633: [Bug] Remember me expiration -> relogin exception w/form resubmit
URL: https://github.com/apache/shiro/issues/2633


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org