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

Error when deleting web content history

    Details

      Description

      When deleting all content's versions, the versions popup crashes. Steps to reproduce:

      • Add an asset publisher
      • Add new basic web content
      • Save it
      • Click on content's history
      • Select all versions and click on delete

      You'll see a blank popup (see screenshot), while the expected behaviour is closing it and going to the original page.
      This is the thrown stack trace:

      14:45:04,475 ERROR [IncludeTag:426] Current URL /group/control_panel/manage?p_p_auth=QTQXUw3J&p_p_id=15&p_p_lifecycle=0&p_p_state=pop_up&p_p_mode=view&doAsGroupId=10186&refererPlid=10189&_15_groupId=10186&_15_refererPlid=10189&_15_doAsGroupId=10186&_15_struts_action=%2Fjournal%2Fview_article_history&_15_redirect=http%3A%2F%2Flocalhost%3A8585%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_auth%3DQTQXUw3J%26p_p_id%3D15%26p_p_lifecycle%3D0%26p_p_state%3Dpop_up%26p_p_mode%3Dview%26doAsGroupId%3D10186%26refererPlid%3D10189%26_15_groupId%3D10186%26_15_cmd%3Dupdate%26_15_refererPlid%3D10189%26_15_doAsGroupId%3D10186%26_15_struts_action%3D%252Fjournal%252Fedit_article%26_15_redirect%3Dhttp%253A%252F%252Flocalhost%253A8585%252Fweb%252Fguest%252Fhome%253Fp_p_id%253D101_INSTANCE_HszU1d0ydzgE%2526p_p_lifecycle%253D0%2526p_p_state%253Dpop_up%2526p_p_mode%253Dview%2526p_p_col_id%253Dcolumn-2%2526p_p_col_count%253D1%2526_101_INSTANCE_HszU1d0ydzgE_struts_action%253D%25252Fasset_publisher%25252Fadd_asset_redirect%26_15_languageId%3Den_US%26_15_articleId%3D21413%26_15_originalRedirect%3Dhttp%253A%252F%252Flocalhost%253A8585%252Fweb%252Fguest%252Fhome%253Fp_p_id%253D101_INSTANCE_HszU1d0ydzgE%2526p_p_lifecycle%253D0%2526p_p_state%253Dpop_up%2526p_p_mode%253Dview%2526p_p_col_id%253Dcolumn-2%2526p_p_col_count%253D1%2526_101_INSTANCE_HszU1d0ydzgE_struts_action%253D%25252Fasset_publisher%25252Fadd_asset_redirect%26_15_version%3D1.0&_15_articleId=21413 generates exception: java.lang.NullPointerException
      14:45:04,478 ERROR [IncludeTag:154] java.lang.NullPointerException
      at org.apache.jsp.html.portlet.journal.view_005farticle_005fhistory_jsp._jspService(view_005farticle_005fhistory_jsp.java:611)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:535)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:472)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:323)
      at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:418)
      at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:92)
      at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3025)

        Attachments

          Activity

            People

            Assignee:
            mandy.lee Mandy Lee (Inactive)
            Reporter:
            juan.fernandez Juan Fernández (Inactive)
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 50 weeks, 6 days ago

                Packages

                Version Package
                6.1.0 CE RC1
                --Sprint 11/12
                6.2.0 CE M2