omnifaces / showcase Goto Github PK
View Code? Open in Web Editor NEWWeb application showcasing the OmniFaces library
Home Page: showcase.omnifaces.org
Web application showcasing the OmniFaces library
Home Page: showcase.omnifaces.org
When performing a postback in a stateless view (f:view transient="true"), then DeferredScript#processEvent() isn't invoked for PostAddToView event. Ultimately, the o:deferredScript still sticks in head instead of body and subsequently CombinedResourceHandler isn't able to find it.
cannot access showcase , ssl checker shows certificate expired
Because it caused broken links on internet and confusing users who still use old versions.
Deprecated/removed stuff such as fixviewstate and commandscript should still have a page in showcase but it should be hidden from menu or perhaps only be accessible via a special page so searchbots can find it too.
What's new in OmniFaces 3.6.1?
Release date: 22 May, 2019
https://showcase.omnifaces.org/validators/JsfLabelMessageInterpolator
Click on submit
jakarta.el.PropertyNotFoundException: Target Unreachable, identifier 'validateConstraintsBean' resolved to null
at [email protected]//org.glassfish.expressly.parser.AstValue.getTarget(AstValue.java:338)
at [email protected]//org.glassfish.expressly.parser.AstValue.setValue(AstValue.java:170)
at [email protected]//org.glassfish.expressly.ValueExpressionImpl.setValue(ValueExpressionImpl.java:184)
at [email protected]//org.jboss.weld.module.web.el.WeldValueExpression.setValue(WeldValueExpression.java:64)
at [email protected]//com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:95)
at jakarta.faces.api//jakarta.faces.component.UIInput.updateModel(UIInput.java:696)
at jakarta.faces.api//jakarta.faces.component.UIInput.processUpdates(UIInput.java:622)
at jakarta.faces.api//jakarta.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:938)
at jakarta.faces.api//jakarta.faces.component.UIForm.processUpdates(UIForm.java:253)
at [email protected]//com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:589)
at [email protected]//com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:158)
at jakarta.faces.api//jakarta.faces.component.UIComponent.visitTree(UIComponent.java:1266)
at jakarta.faces.api//jakarta.faces.component.UIForm.visitTree(UIForm.java:344)
at jakarta.faces.api//jakarta.faces.component.UIComponent.visitTree(UIComponent.java:1278)
at jakarta.faces.api//jakarta.faces.component.UIComponent.visitTree(UIComponent.java:1278)
at jakarta.faces.api//jakarta.faces.component.UIComponent.visitTree(UIComponent.java:1278)
at jakarta.faces.api//jakarta.faces.component.UIComponent.visitTree(UIComponent.java:1278)
at jakarta.faces.api//jakarta.faces.component.UIComponent.visitTree(UIComponent.java:1278)
at [email protected]//com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:392)
at [email protected]//com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:250)
at deployment.showcase-4.0.1.war//org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:65)
at jakarta.faces.api//jakarta.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:239)
at deployment.showcase-4.0.1.war//org.omnifaces.context.OmniPartialViewContext.processPartial(OmniPartialViewContext.java:122)
at jakarta.faces.api//jakarta.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:1303)
at [email protected]//com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:50)
at [email protected]//com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72)
at [email protected]//com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:159)
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:691)
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449)
at [email protected]//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.FacesExceptionFilter.doFilter(FacesExceptionFilter.java:118)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.CacheControlFilter.doFilter(CacheControlFilter.java:239)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.GzipResponseFilter.doFilter(GzipResponseFilter.java:183)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:123)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at [email protected]//io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:172)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.smallrye.opentracing-contrib//io.smallrye.opentracing.contrib.jaxrs2.server.SpanFinishingFilter.doFilter(SpanFinishingFilter.java:69)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at deployment.showcase-4.0.1.war//org.omnifaces.showcase.RedirectFilter.doFilter(RedirectFilter.java:44)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at deployment.showcase-4.0.1.war//org.omnifaces.facesviews.FacesViewsForwardingFilter.filterExtensionLessToExtension(FacesViewsForwardingFilter.java:187)
at deployment.showcase-4.0.1.war//org.omnifaces.facesviews.FacesViewsForwardingFilter.filterExtensionLess(FacesViewsForwardingFilter.java:144)
at deployment.showcase-4.0.1.war//org.omnifaces.facesviews.FacesViewsForwardingFilter.filterExtensionLess(FacesViewsForwardingFilter.java:130)
at deployment.showcase-4.0.1.war//org.omnifaces.facesviews.FacesViewsForwardingFilter.doFilter(FacesViewsForwardingFilter.java:86)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at [email protected]//io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at [email protected]//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at [email protected]//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
at [email protected]//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
at [email protected]//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
at [email protected]//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
at [email protected]//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
at [email protected]//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
at [email protected]//io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
at [email protected]//io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at [email protected]//io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at [email protected]//io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at org.wildfly.security.elytron-web.undertow-server-servlet@3.0.0.Final//org.wildfly.elytron.web.undertow.server.servlet.CleanUpHandler.handleRequest(CleanUpHandler.java:38)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
at [email protected]//io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:275)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
at [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1431)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
at [email protected]//io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
at [email protected]//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at [email protected]//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
at java.base/java.lang.Thread.run(Thread.java:829)
Go to https://showcase.omnifaces.org/exceptionhandlers/FullAjaxExceptionHandler and press the button "throw runtime exception on normal request"
Result:
2022-12-06 10:53:02,309 ERROR [io.undertow.request] (default task-4) UT005022: Exception generating error page /WEB-INF/errorpages/bug.xhtml: jakarta.servlet.ServletException
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:709)
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449)
at [email protected]//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.GzipResponseFilter.doFilter(GzipResponseFilter.java:183)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at [email protected]//io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at [email protected]//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at [email protected]//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
at [email protected]//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
at [email protected]//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
at [email protected]//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
at [email protected]//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
at [email protected]//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:257)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:182)
at [email protected]//io.undertow.servlet.spec.RequestDispatcherImpl.error(RequestDispatcherImpl.java:504)
at [email protected]//io.undertow.servlet.spec.RequestDispatcherImpl.error(RequestDispatcherImpl.java:425)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:314)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
at [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
at [email protected]//io.undertow.server.Connectors.executeRootHandler(Connectors.java:391)
at [email protected]//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at [email protected]//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalStateException
at [email protected]//com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:642)
at [email protected]//com.sun.faces.context.FacesContextImpl.getPartialViewContext(FacesContextImpl.java:164)
at jakarta.faces.api//jakarta.faces.context.FacesContextWrapper.getPartialViewContext(FacesContextWrapper.java:417)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at [email protected]//jakarta.el.BeanELResolver.getValue(BeanELResolver.java:198)
at [email protected]//com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:139)
at [email protected]//com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:164)
at [email protected]//org.glassfish.expressly.parser.AstValue.getValue(AstValue.java:302)
at [email protected]//org.glassfish.expressly.parser.AstValue.getValue(AstValue.java:144)
at [email protected]//org.glassfish.expressly.parser.AstChoice.getValue(AstChoice.java:42)
at [email protected]//org.glassfish.expressly.ValueExpressionImpl.getValue(ValueExpressionImpl.java:138)
at [email protected]//org.jboss.weld.module.web.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
at [email protected]//com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:213)
at [email protected]//com.sun.faces.facelets.el.ELText$ELTextComposite.writeText(ELText.java:124)
at [email protected]//com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:44)
at [email protected]//com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:42)
at deployment.showcase-4.0.1.war//org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:77)
at deployment.showcase-4.0.1.war//org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:67)
at deployment.showcase-4.0.1.war//org.primefaces.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:219)
at deployment.showcase-4.0.1.war//org.primefaces.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:132)
at deployment.showcase-4.0.1.war//org.primefaces.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:68)
at jakarta.faces.api//jakarta.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:586)
at jakarta.faces.api//jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1442)
at jakarta.faces.api//jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1438)
at jakarta.faces.api//jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1438)
at [email protected]//com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:442)
at [email protected]//com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:162)
at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
at deployment.showcase-4.0.1.war//org.omnifaces.viewhandler.OmniViewHandler.renderView(OmniViewHandler.java:151)
at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
at [email protected]//com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:93)
at [email protected]//com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72)
at [email protected]//com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:178)
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:692)
... 42 more2022-12-06 10:53:02,309 ERROR [io.undertow.request] (default task-4) UT005022: Exception generating error page /WEB-INF/errorpages/bug.xhtml: jakarta.servlet.ServletException
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:709)
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.service(FacesServlet.java:449)
at [email protected]//io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.GzipResponseFilter.doFilter(GzipResponseFilter.java:183)
at deployment.showcase-4.0.1.war//org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
at [email protected]//io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
at [email protected]//io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at [email protected]//io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at [email protected]//io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at [email protected]//io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
at [email protected]//io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
at [email protected]//org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
at [email protected]//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
at [email protected]//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
at [email protected]//org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
at [email protected]//io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:257)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:182)
at [email protected]//io.undertow.servlet.spec.RequestDispatcherImpl.error(RequestDispatcherImpl.java:504)
at [email protected]//io.undertow.servlet.spec.RequestDispatcherImpl.error(RequestDispatcherImpl.java:425)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:314)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
at [email protected]//io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at [email protected]//io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1435)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:255)
at [email protected]//io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
at [email protected]//io.undertow.server.Connectors.executeRootHandler(Connectors.java:391)
at [email protected]//io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859)
at [email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at [email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at [email protected]//org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalStateException
at [email protected]//com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:642)
at [email protected]//com.sun.faces.context.FacesContextImpl.getPartialViewContext(FacesContextImpl.java:164)
at jakarta.faces.api//jakarta.faces.context.FacesContextWrapper.getPartialViewContext(FacesContextWrapper.java:417)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at [email protected]//jakarta.el.BeanELResolver.getValue(BeanELResolver.java:198)
at [email protected]//com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:139)
at [email protected]//com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:164)
at [email protected]//org.glassfish.expressly.parser.AstValue.getValue(AstValue.java:302)
at [email protected]//org.glassfish.expressly.parser.AstValue.getValue(AstValue.java:144)
at [email protected]//org.glassfish.expressly.parser.AstChoice.getValue(AstChoice.java:42)
at [email protected]//org.glassfish.expressly.ValueExpressionImpl.getValue(ValueExpressionImpl.java:138)
at [email protected]//org.jboss.weld.module.web.el.WeldValueExpression.getValue(WeldValueExpression.java:50)
at [email protected]//com.sun.faces.facelets.el.ELText$ELTextVariable.writeText(ELText.java:213)
at [email protected]//com.sun.faces.facelets.el.ELText$ELTextComposite.writeText(ELText.java:124)
at [email protected]//com.sun.faces.facelets.compiler.TextInstruction.write(TextInstruction.java:44)
at [email protected]//com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:42)
at deployment.showcase-4.0.1.war//org.primefaces.renderkit.CoreRenderer.renderChild(CoreRenderer.java:77)
at deployment.showcase-4.0.1.war//org.primefaces.renderkit.CoreRenderer.renderChildren(CoreRenderer.java:67)
at deployment.showcase-4.0.1.war//org.primefaces.component.panel.PanelRenderer.encodeContent(PanelRenderer.java:219)
at deployment.showcase-4.0.1.war//org.primefaces.component.panel.PanelRenderer.encodeMarkup(PanelRenderer.java:132)
at deployment.showcase-4.0.1.war//org.primefaces.component.panel.PanelRenderer.encodeEnd(PanelRenderer.java:68)
at jakarta.faces.api//jakarta.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:586)
at jakarta.faces.api//jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1442)
at jakarta.faces.api//jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1438)
at jakarta.faces.api//jakarta.faces.component.UIComponent.encodeAll(UIComponent.java:1438)
at [email protected]//com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:442)
at [email protected]//com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:162)
at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
at deployment.showcase-4.0.1.war//org.omnifaces.viewhandler.OmniViewHandler.renderView(OmniViewHandler.java:151)
at jakarta.faces.api//jakarta.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:125)
at [email protected]//com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:93)
at [email protected]//com.sun.faces.lifecycle.Phase.doPhase(Phase.java:72)
at [email protected]//com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:178)
at jakarta.faces.api//jakarta.faces.webapp.FacesServlet.executeLifecyle(FacesServlet.java:692)
... 42 more
I tried several times during the day. Getting the following message, when I access showcase.omnifaces.org
503 Service Unavailable
No server is available to handle this request.
faces.js should have been combined
Please update the example on the o:socket page to use h:commandScript.
https://showcase.omnifaces.org/push/socket
An alternative is to combine <o:socket> with <o:commandScript>. E.g.
<h:panelGroup id="foo">
... (some complex UI here) ...
</h:panelGroup>
<o:socket channel="someChannel" scope="view" onmessage="someCommandScript" />
<h:form>
<o:commandScript name="someCommandScript" action="#{bean.pushed}" render=":foo" />
</h:form>
This component is deprecated since OmniFaces 3.0 because it has been integrated in native JSF since JSF version 2.3 as <h:commandScript> with exactly the same functionality. This component has been removed from OmniFaces since OmniFaces 4.0.
public static String getReferer() { return Faces.getRequest().getHeader("referer"); }
Dear,
On the Omnifaces website, on the page "Date (Function)" an exception is raised as soon as the page is loaded (https://showcase.omnifaces.org/functions/Dates)
Hi All! Especially BallusC (I see your answers and help all over StackOverflow!)!
I cloned the GIT repo which included the WAR file from:
https://github.com/omnifaces/omnifaces.git
And I included both heads and 3.x but regardless of if I deploy the war file as is (meaning just using the one that was downloaded during the clone) or deploy it in Eclipse by just right clicking the server->add/remove the project but in both cases I get the following deployment error:
."/showcase-6.3-SNAPSHOT".UndertowDeploymentInfoService: java.lang.ClassNotFoundException: org.primefaces.showcase.filter.CharacterEncodingFilter from [Module "deployment.showcase-6.3-SNAPSHOT.war" from Service Module Loader]
This is on JBoss EAP 7, JDK8 if it matters.
Just wanted to bring it to your attention as you'd think the downloaded WAR would be runnable from the get go!
Thank you!
Jay
PS: that error occurred when deploying the prebuilt WAR, when I go the add/remove route I get this exception:
java.lang.ClassNotFoundException: org.omnifaces.showcase.exceptionhandlers.EpicFailException
I have an o:socket tag in my form, when trying to update the page via Ajax, a org.hibernate. LazyInitializationException. Is there a workaround for this? Thanks
http://showcase.omnifaces.org is unavailable again, as is http://snapshot.omnifaces.org
Alessio
I would be good idea to add some plugins like wildfly, tomee maven plugin to project so that showcase can be run locally.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.