Payara
Payara copied to clipboard
Bug Report: Seems Payara Micro 6.2024.6 (but not Server) is broken (to be investigated where exactly) comparing to Payara Micro 6.2024.5/FISH-9110
Brief Summary
After upgrading Payara Micro 6.2024.5 to 6.2024.6 our app gets some weird behavior. We currently do not have reproducer, as no specific error is logged in the error log at the moment error occurs. Just after 4th of 5th open page app stops responding properly to page navigation and the shown below error start appearing.
It seems to me that something is happening with User Session, as user gets logged out or not able to navigate to other pages or navigate to the home page.
Reverting back to Payara Micro 6.2024.5 resolves the issue. Also app works fine on Payara Server (full) 6.2024.6, issue only appears when deployed on Payara Micro 6.2024.6.
At this moment reporting this issues as is, I will try to provide more details in case we are able to get minimal reproducer, but cannot promise that it will be quick due to tough schedule.
Expected Outcome
No error.
Current Outcome
After navigating over few pages user may get logged out or pages are not open and error log start reporting some weird errors like:
[2024-06-21 17:14:40] [WARNING] [com.sun.faces.lifecycle.InvokeApplicationPhase execute]
Cannot invoke "java.util.Map.put(Object, Object)" because "this.innerMap" is null
java.lang.NullPointerException: Cannot invoke "java.util.Map.put(Object, Object)" because "this.innerMap" is null
at com.sun.faces.context.flash.ELFlash$PreviousNextFlashInfoManager.initializeBaseCase(ELFlash.java:1226)
at com.sun.faces.context.flash.ELFlash.getCurrentFlashManager(ELFlash.java:1117)
at com.sun.faces.context.flash.ELFlash.loggingGetPhaseMapForWriting(ELFlash.java:802)
at com.sun.faces.context.flash.ELFlash.setKeepMessages(ELFlash.java:318)
at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:235)
at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:200)
at com.sun.faces.application.ActionListenerImpl.invokeNavigationHandling(ActionListenerImpl.java:93)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:62)
at jakarta.faces.component.UIViewAction.broadcast(UIViewAction.java:506)
at jakarta.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:858)
at jakarta.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1332)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:56)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:159)
at jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:691)
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
...
Reproducer
Not availbale at this moment - we will try to provide reproducer once have more time for troubleshooting.
Operating System
Windows and Linux - same behaviour
JDK Version
Zulu JDK 17 - latest version availbale
Payara Distribution
Payara Micro