Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-266

Blank page when configuring any content targeting portlet

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 1.X
    • Fix Version/s: 1.1
    • Component/s: Content Targeting
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Install Content Targeting plugins from Marketplace
      2. Add User Segment to a page
      3. Click Options > Configuration

      Expected result:
      User is able to configure User Segment Content Display portlet.

      Actual result:
      Exceptions and blank page occurred.

      INFO: Initializing Spring root WebApplicationContext
      16:10:16,323 INFO  [localhost-startStop-1][HookHotDeployListener:691] Registering hook for rule-visited
      16:10:16,334 INFO  [localhost-startStop-1][HookHotDeployListener:819] Hook for rule-visited is available for use
      16:10:16,335 INFO  [localhost-startStop-1][HotDeployImpl:217] Deploying rule-user-logged from queue
      16:10:16,335 INFO  [localhost-startStop-1][PluginPackageUtil:1016] Reading plugin package for rule-user-logged
      Oct 30, 2014 4:10:16 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      16:10:16,341 INFO  [localhost-startStop-1][HookHotDeployListener:691] Registering hook for rule-user-logged
      16:10:16,350 INFO  [localhost-startStop-1][HookHotDeployListener:819] Hook for rule-user-logged is available for use
      Oct 30, 2014 4:10:16 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8080"]
      Oct 30, 2014 4:10:16 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-bio-8009"]
      Oct 30, 2014 4:10:16 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 64100 ms
      16:14:20,917 ERROR [http-bio-8080-exec-4][IncludeTag:129] Current URL /web/guest/home?p_p_id=86&p_p_lifecycle=0&p_p_state=pop_up&p_p_col_id=column-1&p_p_col_count=2&_86_struts_action=%2Fportlet_configuration%2Fedit_configuration&_86_redirect=%2F&_86_returnToFullPageURL=%2F&_86_portletResource=usersegmentcontentdisplay_WAR_contenttargetingweb_INSTANCE_qDlZ7DvycZ6I&_86_resourcePrimKey=10185_LAYOUT_usersegmentcontentdisplay_WAR_contenttargetingweb_INSTANCE_qDlZ7DvycZ6I&_86_&yui_patched_v3_11_0_1_1414685589215_939=1414685660714 generates exception: Path html/user_segment_content_display/configuration.ftl is not relative to context root
      java.lang.IllegalArgumentException: Path html/user_segment_content_display/configuration.ftl is not relative to context root
      	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl.doGetRequestDispatcher(DirectRequestDispatcherFactoryImpl.java:84)
      	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl.getRequestDispatcher(DirectRequestDispatcherFactoryImpl.java:44)
      	at com.liferay.portal.kernel.servlet.DirectRequestDispatcherFactoryUtil.getRequestDispatcher(DirectRequestDispatcherFactoryUtil.java:40)
      	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:287)
      	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
      	at org.apache.jsp.html.portlet.portlet_005fconfiguration.edit_005fconfiguration_jsp._jspService(edit_005fconfiguration_jsp.java:773)
      	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 com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      16:31:35,623 ERROR [http-bio-8080-exec-5][IncludeTag:129] Current URL /web/guest/home?p_p_id=86&p_p_lifecycle=0&p_p_state=pop_up&p_p_col_id=column-1&p_p_col_count=2&_86_struts_action=%2Fportlet_configuration%2Fedit_configuration&_86_redirect=%2F&_86_returnToFullPageURL=%2F&_86_portletResource=usersegmentcontentdisplay_WAR_contenttargetingweb_INSTANCE_qDlZ7DvycZ6I&_86_resourcePrimKey=10185_LAYOUT_usersegmentcontentdisplay_WAR_contenttargetingweb_INSTANCE_qDlZ7DvycZ6I&_86_&yui_patched_v3_11_0_1_1414685589215_1390=1414686695450 generates exception: Path html/user_segment_content_display/configuration.ftl is not relative to context root
      java.lang.IllegalArgumentException: Path html/user_segment_content_display/configuration.ftl is not relative to context root
      	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl.doGetRequestDispatcher(DirectRequestDispatcherFactoryImpl.java:84)
      	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl.getRequestDispatcher(DirectRequestDispatcherFactoryImpl.java:44)
      	at com.liferay.portal.kernel.servlet.DirectRequestDispatcherFactoryUtil.getRequestDispatcher(DirectRequestDispatcherFactoryUtil.java:40)
      	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:287)
      	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
      	at org.apache.jsp.html.portlet.portlet_005fconfiguration.edit_005fconfiguration_jsp._jspService(edit_005fconfiguration_jsp.java:773)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:295)
      	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
      	at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
      	at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3144)
      	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)
      

      This happen when deploying Content Targeting from Marketplace.
      Also, you will notice that Simulation Icon does not show on the sidebar.

        Attachments

        1. liferay.2015-01-12.log
          413 kB
        2. screenrecording.ogv
          3.67 MB
        3. Screenshot.png
          Screenshot.png
          89 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                1.1