Hi, Looks like Mojarra with OWB (again).
They have a pending fix for another thing open, so maybe try with the current SNAPSHOT of Mojarra first (just replace the JAR in the /lib folder). Gruß Richard > Am 11.02.2025 um 08:26 schrieb Shiryaev, Alexander > <alexander.shiry...@sap.com.INVALID>: > > Hello, > > Simple #{session.id} and #{request.queryString} expressions do not work in > Tomee10 Plume. > Example: > <html xmlns=http://www.w3.org/1999/xhtml > xmlns:h="jakarta.faces.html"> > <h:body> > <h:form> > #{session.id} > </h:form> > </h:body> > </html> > > Getting this error: > HTTP Status 500 - Internal Server Error > ________________________________ > Type Exception Report > Message /index.xhtml: Property [id] not found on type > [org.apache.webbeans.custom.Object$$OwbNormalScopeProxy6949990480] > Description The server encountered an unexpected condition that prevented it > from fulfilling the request. > Exception > jakarta.servlet.ServletException: /index.xhtml: Property [id] not found on > type [org.apache.webbeans.custom.Object$$OwbNormalScopeProxy6949990480] > jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:709) > 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) > Root Cause > jakarta.el.ELException: /index.xhtml: Property [id] not found on type > [org.apache.webbeans.custom.Object$$OwbNormalScopeProxy6949990480] > com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:47) > com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:42) > com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:158) > jakarta.faces.render.Renderer.encodeChildren(Renderer.java:146) > jakarta.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:557) > jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1435) > jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1438) > jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1438) > com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:449) > com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:160) > jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125) > com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:93) > com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72) > com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:150) > jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:692) > 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) > > If I print just #{session}, it says > org.apache.catalina.session.StandardSessionFacade@3349abcf, which is > expected. However, any field/property is not accessible. > {request} object seems to have the same issue. I haven't checked others. > > The issue is observed in Plume version only. > Is it something TomEE community can help, or I should raise a ticket for > Mojarra? > > Thanks > Alex >