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

Control Menu is missing after add a site based on Minium

    Details

      Description

      Step to reproduce:

      1. Add a new site based on Minium

      Expected Results:
      The control menu should be shown. There shouldn't be NPE thrown in server console.

      Actual Results:
      The control menu is missing. The following NPE is thrown in server console.

      2020-10-29 04:51:51.906 ERROR [http-nio-8080-exec-7][DynamicIncludeUtil:81] java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.frontend.token.definition.internal.frontend.css.variables.DefaultThemeScopedCSSVariablesProvider.getScopedCSSVariablesCollection(DefaultThemeScopedCSSVariablesProvider.java:66)
              at com.liferay.frontend.css.variables.web.internal.servlet.taglib.ScopedCSSVariablesTopHeadDynamicInclude.include(ScopedCSSVariablesTopHeadDynamicInclude.java:63)
              at com.liferay.portal.kernel.servlet.taglib.DynamicIncludeUtil.include(DynamicIncludeUtil.java:77)
              at com.liferay.taglib.util.DynamicIncludeTag.doEndTag(DynamicIncludeTag.java:32)
              at org.apache.jsp.html.common.themes.top_005fhead_jsp._jspx_meth_liferay_002dutil_005fdynamic_002dinclude_005f2(top_005fhead_jsp.java:2507)
              at org.apache.jsp.html.common.themes.top_005fhead_jsp._jspService(top_005fhead_jsp.java:2363)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
              at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:190)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:79)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
              at com.liferay.taglib.util.IncludeTag.includePage(IncludeTag.java:407)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:383)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:217)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:88)
              at freemarker.ext.jsp.TagTransformModel$TagWriter.endEvaluation(TagTransformModel.java:402)
              at freemarker.ext.jsp.TagTransformModel$TagWriter.afterBody(TagTransformModel.java:390)
              at freemarker.core.Environment.visitAndTransform(Environment.java:497)
              at freemarker.core.UnifiedCall.accept(UnifiedCall.java:103)
      

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: 948a1968f957b82ea4054cae2800785241bcf965.

      Cannot be reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal 7.3.10-GA1.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              yang.cao Yang Cao
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Engineering Assignee:
              Victor Galan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                50 weeks, 3 days ago

                  Packages

                  Version Package
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  Master