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

Unable to set inventory quantities for product because of NPE

    Details

    • Sprint:
      FlexSprint13

      Description

      SETUP: Simple Product, 1 SKU contributor option with 3 values, prices set for each sku
      WHERE: ConfigMenu>Commerce>Products>SKU>Inventory
      UI does not render Quantity Input field

      Caused by: java.lang.NullPointerException	at org.apache.jsp.view_005fwarehouse_005fitems_jsp._jspService(view_005fwarehouse_005fitems_jsp.java:417)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)	... 295 more2020-09-10 11:34:32.632 ERROR [http-nio-8080-exec-5][IncludeTag:128] Current URL /group/mamamia/~/control_panel/manage?p_p_id=com_liferay_commerce_product_definitions_web_internal_portlet_CPDefinitionsPortlet&p_p_lifecycle=0&p_p_state=pop_up&p_p_mode=view&_com_liferay_commerce_product_definitions_web_internal_portlet_CPDefinitionsPortlet_mvcRenderCommandName=editProductInstance&_com_liferay_commerce_product_definitions_web_internal_portlet_CPDefinitionsPortlet_cpInstanceId=238865&_com_liferay_commerce_product_definitions_web_internal_portlet_CPDefinitionsPortlet_cpDefinitionId=238845&p_p_auth=nQAjxNoW&_com_liferay_commerce_product_definitions_web_internal_portlet_CPDefinitionsPortlet_screenNavigationCategoryKey=inventory generates exception: Unable to render /view_warehouse_items.jspjava.lang.NullPointerException	at org.apache.jsp.view_005fwarehouse_005fitems_jsp._jspService(view_005fwarehouse_005fitems_jsp.java:417)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)	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:733)	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:368)	at com.liferay.portal.osgi.web.servlet.jsp.compiler.internal.JspServlet.service(JspServlet.java:380)	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.servlet.taglib.util.JSPRenderer.renderJSP(JSPRenderer.java:63)	at com.liferay.commerce.warehouse.web.internal.servlet.taglib.ui.CPInstanceWarehouseItemsScreenNavigationEntry.render(CPInstanceWarehouseItemsScreenNavigationEntry.java:115)	at org.apache.jsp.screen_005fnavigation.page_jsp._jspService(page_jsp.java:375)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
      

        Attachments

          Activity

            People

            Assignee:
            kristin.onias Kristin Onias
            Reporter:
            igor.beslic Igor Beslic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.3
                Master