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

NPE thrown on configuration of Asset Publisher after Upgrade

Description

    Step to reproduce:

    1. Upgrade attached dump (data-archive-asset-publisher-mysql.zip) to U38 or master
    2. Navigate to Asset Publisher page on Liferay instance
    3. Access to configuration of Asset Publisher
    4. Change the asset selection to Dynamic
    5. Navigate to the Display Settings tab

    Evidence: ( ActualResult_Agu12_LPS160607_master.mp4 )

    Expected Results:
    There are some settings shown.

    Actual Results:
    The Display Settings tab is empty. The following NPE is thrown.

    Reproduced on:
    Tomcat 9.0.56 + MySQL 5.7 Portal master GIT ID: b8db340d12dbe00a66326b4b71cfb285161a04a2
    Cannot be reproduced on:
    Tomcat 9.0.56 + MySQL 5.7. Liferay DXP 7.4.13 37

    Step to reproduce:

    1. Upgrade attached dump to U38 or master
    2. Navigate to Product Menu
    3. Site Builder -> Collections
    4. Add a dynamic collectiom

    Expected Results:
    There is no error on console, ORDERING panel is shown.

    Actual Results:
    The following NPE is thrown and ORDERING panel is not shown.

    2022-08-13 00:56:16.221 ERROR [http-nio-8080-exec-5][BaseJSPFormNavigatorEntry:55] Unable to include JSP /asset_list/filter.jsp
    org.apache.jasper.JasperException: java.lang.NullPointerException
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:440) ~[jasper.jar:9.0.56]
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) ~[jasper.jar:9.0.56]
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) ~[jasper.jar:9.0.56]
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[servlet-api.jar:4.0.FR]
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:364) ~[bundleFile:?]
    	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:376) ~[bundleFile:?]
    	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.frontend.taglib.form.navigator.BaseJSPFormNavigatorEntry.include(BaseJSPFormNavigatorEntry.java:52) ~[bundleFile:?]
    	at com.liferay.taglib.util.PortalIncludeUtil.include(PortalIncludeUtil.java:43) ~[bundleFile:?]
    	at org.apache.jsp.form_005fnavigator.sections_jsp._jspService(sections_jsp.java:254) ~[?:?]
    	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) ~[jasper.jar:9.0.56]
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[servlet-api.jar:4.0.FR]
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) ~[jasper.jar:9.0.56]
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) ~[jasper.jar:9.0.56]
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) ~[jasper.jar:9.0.56]
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[servlet-api.jar:4.0.FR]
    

    Attachments

      Issue Links

        Activity

          People

            oziel.souza Oziel Souza (Inactive)
            oziel.souza Oziel Souza (Inactive)
            Marta Elicegui Marta Elicegui
            Lourdes Fernandez Besada Lourdes Fernandez Besada
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              23 weeks, 5 days ago

              Packages

                Version Package
                7.4.13 DXP U39
                7.4.3.39 CE GA39
                Master