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

NPE when deleting a site (but the site is still deleted)

    Details

      Description

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7. Portal master GIT ID: cd1e1442fa673ca9fa714f7e864cda377e3841a6.

      Steps to reproduce:

      1. Add a site
      2. Delete the site

      Expected result:
      Site is deleted without any console errors.

      Actual result:
      The site is deleted but there is a console error.

      2018-06-11 18:39:21.110 ERROR [http-nio-8080-exec-7][IncludeTag:128] Current URL /group/control_panel/manage/-/sites/sites?_com_liferay_site_admin_web_portlet_SiteAdminPortlet_groupId=0&_com_liferay_site_admin_web_portlet_SiteAdminPortlet_displayStyle=list&p_p_auth=X7lJUZsc generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.application.list.BasePanelApp.getPortletURL(BasePanelApp.java:103)
              at com.liferay.application.list.taglib.servlet.taglib.PanelAppTag.setAttributes(PanelAppTag.java:184)
              at com.liferay.taglib.util.IncludeTag.callSetAttributes(IncludeTag.java:174)
              at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:75)
              at com.liferay.application.list.taglib.servlet.taglib.PanelAppTag.doEndTag(PanelAppTag.java:68)
              at org.apache.jsp.panel_005fcategory_005fbody.page_jsp._jspService(page_jsp:167)
              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)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:345)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:356)
              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:118)
              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.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 19 weeks, 3 days ago

                Packages

                Version Package
                7.1.X
                Master