Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
10.0.0-M2
-
None
-
None
Description
https://github.com/apache/tomee/pull/1328 Stack trace fetching "Content-Type" header: java.lang.NullPointerException: Cannot invoke "java.util.List.get(int)" because the return value of "java.util.Map.get(Object)" is null org.apache.tomee.security.http.SavedRequest$1.getHeader(SavedRequest.java:110) jakarta.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:83) com.sun.faces.context.RequestHeaderMap.get(RequestHeaderMap.java:48) com.sun.faces.context.RequestHeaderMap.get(RequestHeaderMap.java:32) java.base/java.util.Collections$UnmodifiableMap.get(Collections.java:1656) jakarta.faces.application.ViewHandler.calculateCharacterEncoding(ViewHandler.java:363) jakarta.faces.application.ViewHandler.initView(ViewHandler.java:236) com.sun.faces.application.view.MultiViewHandler.initView(MultiViewHandler.java:110) jakarta.faces.application.ViewHandlerWrapper.initView(ViewHandlerWrapper.java:81) com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:95) com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:131) jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:691) jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) org.apache.openejb.server.httpd.EEFilter.doFilter(EEFilter.java:67)
Attachments
Issue Links
- links to