Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-92435

Build > Pages > Display Pages is blank - "com.google.template.soy.tofu.SoyTofuException: When evaluating "$item.href": Expected value of type 'string', but actual type was 'NullData'"

    Details

    • Fix Priority:
      5

      Description

      Reproduced on:
      Tomcat 9.0.10 + MySQL 5.7. Portal master GIT ID: 0a3d21e3025b39246f76fa88067a8087974e8000.

      Steps to reproduce:

      1. Navigate to Build > Pages > Display Pages

      Expected result:
      User can administrate and manage display pages.

      Actual result:
      The portlet is blank, and there is an error in the console.

      2019-03-21 00:44:21.123 ERROR [http-nio-8080-exec-7][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_layout_admin_web_portlet_GroupPagesPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_tabs1=display-pages&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_privateLayout=false&_com_liferay_layout_admin_web_portlet_GroupPagesPortlet_displayStyle=miller-columns&p_p_auth=Vmmn5NUP generates exception: com.liferay.portal.kernel.template.TemplateException: Unable to process templates
      com.google.template.soy.tofu.SoyTofuException: When evaluating "$item.href": Expected value of type 'string', but actual type was 'NullData'.
              at ClayManagementToolbar.creationMenu(ClayManagementToolbar.soy:470)
              at ClayManagementToolbar.default(ClayManagementToolbar.soy:842)
              at ClayManagementToolbar.render(ClayManagementToolbar.soy:161)
              at com.liferay.frontend.taglib.clay.ManagementToolbar.render(ManagementToolbar.soy:114)
              at com.google.template.soy.tofu.internal.BaseTofu.renderMainHelper(BaseTofu.java:226)
              at com.google.template.soy.tofu.internal.BaseTofu.renderMain(BaseTofu.java:156)
              at com.google.template.soy.tofu.internal.BaseTofu.access$100(BaseTofu.java:53)
              at com.google.template.soy.tofu.internal.BaseTofu$RendererImpl.renderStrict(BaseTofu.java:360)
              at com.liferay.portal.template.soy.internal.SoyTemplate.processTemplates(SoyTemplate.java:312)
              at com.liferay.portal.template.AbstractMultiResourceTemplate.processTemplate(AbstractMultiResourceTemplate.java:68)
              at com.liferay.portal.template.soy.renderer.internal.SoyRendererImpl.renderSoy(SoyRendererImpl.java:67)
              at com.liferay.portal.template.soy.renderer.internal.SoyComponentRendererHelper._renderTemplate(SoyComponentRendererHelper.java:180)
              at com.liferay.portal.template.soy.renderer.internal.SoyComponentRendererHelper.renderSoyComponent(SoyComponentRendererHelper.java:67)
              at com.liferay.portal.template.soy.renderer.internal.SoyComponentRendererImpl.renderSoyComponent(SoyComponentRendererImpl.java:61)
              at com.liferay.frontend.taglib.soy.servlet.taglib.TemplateRendererTag.doEndTag(TemplateRendererTag.java:61)
              at org.apache.jsp.view_005fdisplay_005fpages_jsp._jspService(view_005fdisplay_005fpages_jsp:408)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chiu Brian Chiu (Inactive)
                Reporter:
                brian.chiu Brian Chiu (Inactive)
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  34 weeks, 2 days ago

                  Packages

                  Version Package
                  Master