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

NullPointerException occurs when trying to save setting for JavaScript Loader with IE11 on Windows

    Details

    • What problem did the customer find?:
      Hide
      When trying to set Expose Global to false in the System Settings for the Javascript Loader while using Internet Explorer, the request is not being properly built. This means that the factoryPid and ID attributes are not read from the page and built into the request causing an error.
      Show
      When trying to set Expose Global to false in the System Settings for the Javascript Loader while using Internet Explorer, the request is not being properly built. This means that the factoryPid and ID attributes are not read from the page and built into the request causing an error.
    • What do you think is the root cause? (if known):
      Hide
      I'm honestly not sure why Internet Explorer specifically would be causing these fields to not be read (Chrome, Firefox, and Edge all work as normal for this issue). The problem was introduced by LPS-68298 when the Expose global setting was added to the Javascript Loader.
      Show
      I'm honestly not sure why Internet Explorer specifically would be causing these fields to not be read (Chrome, Firefox, and Edge all work as normal for this issue). The problem was introduced by LPS-68298 when the Expose global setting was added to the Javascript Loader.

      Description

      Description:
      NullPointerException occurs when trying to save setting for JavaScript Loader with IE11 on Windows 10

      Steps to reproduce:

      1. Start up DXP
      2. In a Windows 10(or win7) environment, start Internet Explorer 11(or IE10, IE9 in the simulation mode), and access Liferay DXP
      3. Sign as admin
      4. Control Panel > Configration > System Settings > JavaScript Loader
      5. Ensure that the "Expose global" is unchecked (i.e. disabled) and Save

      Expected Result:
      Save is successful.

      Actual Results:
      Save is not successful with error logs below

      07:43:26,033 ERROR [http-nio-8080-exec-9][render_portlet_jsp:131] null
      java.lang.NullPointerException
              at com.liferay.configuration.admin.web.internal.portlet.action.BindConfigurationMVCActionCommand.processAction(BindConfigurationMVCActionCommand.java:10
      7)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMethod(MVCPortlet.java:380)
              at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(LiferayPortlet.java:93)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processAction(MVCPortlet.java:260)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
              at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:108)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              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:117)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
              at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:577)
              at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:335)
              at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.processAction(MonitoringInvokerPortlet.java:189)
              at com.liferay.portlet.PortletContainerImpl._processAction(PortletContainerImpl.java:386)
              at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:118)
              at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:94)
              at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP28
                  7.0.4 CE GA5
                  7.1.X
                  Master