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

Available themes not showing when using theme-loader plugin

    Details

    • Branch Version/s:
      6.0.x, 5.2.x
    • Backported to Branch:
      Committed

      Description

      Steps to reproduce:

      1. Create site1
      2. Create page in site1
      3. Export site to lar
      4. Delete site1
      5. Deploy theme-loader plugin
      6. Create site2
      7. Import lar into site2
      8. Go to manage pages
      9. Null pointer exception in tomcat log and available themes are not showing

      14:31:10,099 ERROR [IncludeTag:154] java.lang.NullPointerException
      at org.apache.jsp.html.portlet.layouts_005fadmin.look_005fand_005ffeel_005fthemes_jsp._jspService(look_005fand_005ffeel_005fthemes_jsp.java:975)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:314)
      at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:395)
      at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:91)
      at org.apache.jsp.html.portlet.layouts_005fadmin.layout_005fset.look_005fand_005ffeel_jsp._jspx_meth_liferay_002dutil_005finclude_005f0(look_005fand_005ffeel_jsp.java:1096)
      at org.apache.jsp.html.portlet.layouts_005fadmin.layout_005fset.look_005fand_005ffeel_jsp._jspService(look_005fand_005ffeel_jsp.java:911)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:314)
      at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:395)
      at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:91)
      at org.apache.jsp.html.taglib.ui.form_005fnavigator.page_jsp._jspService(page_jsp.java:739)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at com.liferay.portal.kernel.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:45)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:314)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              paul.piao Paul Piao (Inactive)
              Reporter:
              hugo.huijser Hugo Huijser
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 28 weeks ago

                  Packages

                  Version Package
                  5.2.X EE
                  6.0.12 EE
                  6.1.0 CE RC1