Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-3392

Selecting exactly one price list in the price list list throws an error in the log

    Details

      Description

      Steps to Reproduce

      1. Go to Control Panel → Commerce → Price Lists
      2. Create at least one price list
      3. From the list of price lists, select exactly one of the price lists (selection box)

      Expected

      Price list is selected and no errors in the log

      Actual

      Errors in the log

      2020-03-30 06:27:00.513 ERROR [http-nio-9080-exec-8][IncludeTag:128] Current URL /group/control_panel/manage?p_p_id=com_liferay_commerce_price_list_web_internal_portlet_CommercePriceListPortlet&p_p_lifecycle=2&p_p_state=maximized&p_p_mode=view&p_p_resource_id=commercePriceListInfoPanel&p_p_cacheability=cacheLevelPage&p_p_auth=AiIeeZcl generates exception: java.lang.NullPointerException
      java.lang.NullPointerException
              at org.apache.jsp.price_005flist_005faction_jsp._jspService(price_005flist_005faction_jsp:287)
              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:373)
              at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:385)
              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:201)
              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:406)
              at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:382)
              at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:217)
      

      Notes

      No noticeable loss of functionality

      Reproduced On

      7.1 and 7.2

        Attachments

          Activity

            People

            Assignee:
            lorenzo.lapescara Lorenzo La Pescara
            Reporter:
            corbin.murakami Corbin Murakami
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.1