Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2869

Clicking the rendered checkbox in JSTL "c:" examples causes exception on Pluto Portal (development mode)

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: showcase-2.0.0, showcase-3.0.0
    • Fix Version/s: showcase-3.0.5
    • Component/s: JSF Showcase
    • Labels:
      None

      Description

      {markdown}
      Steps to reproduce:

      1. Deploy the jsf-showcase-portlet to Pluto Portal 2.0.
      2. Navigate to the showcase's `c:choose` General example.
      3. Click the Rendered checkbox.

      If the bug still exists, nothing will happen, and the following error will appear in the server logs:{markdown}
      Aug 05, 2016 1:18:58 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
      WARNING: JSF1064: Unable to find or serve resource, /WEB-INF/component///header.xhtml.
      13:18:58,202 DEBUG [DebugPhaseListener:50] AFTER phaseId=[RENDER_RESPONSE 6] viewId=[/views/component.xhtml]
      13:18:58,203 ERROR [ExceptionHandlerAjaxImpl:75] /views/component.xhtml @34,116 <ui:include src="/WEB-INF/component/#{selectedComponentPrefix}/#{selectedComponentLowerCaseName}/header.xhtml"> Invalid path : /WEB-INF/component///header.xhtml
      javax.faces.view.facelets.TagAttributeException: /views/component.xhtml @34,116 <ui:include src="/WEB-INF/component/#{selectedComponentPrefix}/#{selectedComponentLowerCaseName}/header.xhtml"> Invalid path : /WEB-INF/component///header.xhtml
              at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:129)
              at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
              at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
              at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:206)
              at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
              at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
              at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
              at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
              at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
              at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
              at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
              at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
              at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
              at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:194)
              at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
              at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
              at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:312)
              at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:371)
              at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:350)
              at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
              at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:124)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
              at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
              at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
              at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
              at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:225)
              at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
              at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
              at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:312)
              at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:371)
              at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:350)
              at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
              at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:174)
              at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
              at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
              at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161)
              at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:1006)
              at javax.faces.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:106)
              at com.liferay.faces.bridge.application.view.internal.ViewDeclarationLanguageBridgeBase.buildView(ViewDeclarationLanguageBridgeBase.java:56)
              at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
              at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
              at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:238)
              at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.execute(BridgePhaseRenderImpl.java:93)
              at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:141)
              at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:673)
              at com.liferay.faces.bridge.demos.portlet.ActionURLDemoPortlet.doView(ActionURLDemoPortlet.java:66)
              at com.liferay.faces.bridge.demos.portlet.ShowcasePortlet.doView(ShowcasePortlet.java:43)
              at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:348)
              at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:589)
              at javax.portlet.GenericPortlet.render(GenericPortlet.java:253)
              at org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:163)
              at org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:91)
              at org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:105)
              at org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:340)
              at org.apache.pluto.container.driver.PortletServlet.doPost(PortletServlet.java:267)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233)
              at org.apache.pluto.driver.container.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:117)
              at org.apache.pluto.container.impl.PortletContainerImpl.doRender(PortletContainerImpl.java:157)
              at org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:165)
              at org.apache.jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:94)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
              at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
              at org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fforEach_005f1(pluto_002ddefault_002dtheme_jsp.java:537)
              at org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fotherwise_005f0(pluto_002ddefault_002dtheme_jsp.java:481)
              at org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_c_005fchoose_005f0(pluto_002ddefault_002dtheme_jsp.java:342)
              at org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:174)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
              at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:189)
              at org.apache.pluto.driver.PortalDriverServlet.doPost(PortalDriverServlet.java:205)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

      If the bug is fixed, no error will appear.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                showcase-3.0.5