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

Regression when re-deploying DS portlets

    Details

      Description

      When redeploying a module with DS portlets exceptions occur when accessing the portlets.

      This is because the cleanup of the portlet and it's resources was broken.

      Steps to reproduce:

      This starting happening yesterday with several modules, for example, Control menu web.

      Start the portal
      deploy apps/web-experience-management/product-navigation/product-navigation-control-menu-web
      Try to add an application to the page --> You will get this exception in the console:
      (If it works fine, deploy the module again)

      13:18:06,499 ERROR [http-nio-8080-exec-4][render_portlet_jsp:131] null
      java.lang.IllegalStateException: Context is already shutdown
      at org.eclipse.equinox.http.servlet.internal.context.ContextController.checkShutdown(ContextController.java:990)
      at org.eclipse.equinox.http.servlet.internal.context.ContextController.getDispatchTargets(ContextController.java:679)
      at org.eclipse.equinox.http.servlet.internal.context.ContextController.getDispatchTargets(ContextController.java:646)
      at org.eclipse.equinox.http.servlet.internal.context.ContextController.getDispatchTargets(ContextController.java:603)
      at org.eclipse.equinox.http.servlet.internal.servlet.ServletContextAdaptor.getRequestDispatcher(ServletContextAdaptor.java:178)
      at org.eclipse.equinox.http.servlet.internal.servlet.ServletContextAdaptor.invoke(ServletContextAdaptor.java:352)
      at org.eclipse.equinox.http.servlet.internal.servlet.ServletContextAdaptor$5.invoke(ServletContextAdaptor.java:369)
      at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:504)
      at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:600)
      at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:387)
      at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1544)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:75)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:52)
      at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:668)
      at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:144)
      at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:126)
      at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
      13:18:06,611 ERROR [http-nio-8080-exec-4][status_jsp:948] com.liferay.portal.kernel.portlet.PortletContainerException: java.lang.NullPointerException

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 34 weeks ago

                  Packages

                  Version Package
                  7.0.0 CE RC1