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

NullPointerException when choosing newly created site in site administration

    Details

      Description

      Steps to reproduce

      1. Create a new blank site
      2. Go to Control panel > Sites
      3. In the sites list, click on the checkbox next to the newly created site

      Expected behavior

      The no errors are shown in the console

      Current behavior

      The following stacktrace can be seen in the logs:

      2021-08-23 15:42:47.691 ERROR [http-nio-8080-exec-8][IncludeTag:128] Current URL /group/control_panel/manage/-/sites/sites?p_p_lifecycle=2&p_p_resource_id=%2Fsite%2Finfo_panel&p_p_cacheability=cacheLevelPage&_com_liferay_site_admin_web_portlet_SiteAdminPortlet_displayStyle=list&_com_liferay_site_admin_web_portlet_SiteAdminPortlet_groupId=0&p_p_auth=N27BuWHj generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
      	at org.apache.jsp.site_005faction_jsp._jspService(site_005faction_jsp.java:592)
      	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:369)
      	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:380)
      	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
      	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
      	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:120)
      	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
      	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
      	at com.liferay.portal.servlet.DirectRequestDispatcherFactoryImpl$IndirectRequestDispatcher.include(DirectRequestDispatcherFactoryImpl.java:202)
      	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:397)
      	at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:374)
      	at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:219)
      

      Reproduced on 7.1.x @ 85c3b0281866cfcaf340ca5b902673971d92e22b

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              cleydyr.albuquerque Cleydyr Albuquerque
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Engineering Assignee:
              Cleydyr Albuquerque
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 weeks, 6 days ago

                  Packages

                  Version Package
                  7.1.X