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

NPE occurred when uncheck the exposeGlobal checkbox

    Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:

      1. Go to Configuration > System Settings > Foundation > JavaScript Loader.
      2. Uncheck the exposeGlobal checkbox.
      3. Press Update.

      Expected result:
      Settings could be updated with no error.

      Actual result:
      NPE occurred in console.

      on.ico", uri=/favicon.ico}
      05:42:02,008 ERROR [http-nio-8080-exec-8][render_portlet_jsp:131] null
      java.lang.NullPointerException
              at com.liferay.configuration.admin.web.internal.portlet.action.BindConfi
      gurationMVCActionCommand.processAction(BindConfigurationMVCActionCommand.java:10
      7)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.callActionMe
      thod(MVCPortlet.java:363)
              at com.liferay.portal.kernel.portlet.LiferayPortlet.processAction(Lifera
      yPortlet.java:93)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.processActio
      n(MVCPortlet.java:258)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      
              at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(Checkbox
      ParametersPortletFilter.java:57)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)
      
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletF
      ilterUtil.java:48)
              at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServl
      et.java:109)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegist
      ration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandle
      r.processRequest(ResponseStateHandler.java:62)
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doD
      ispatch(DispatchTargets.java:117)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAd
      aptor.include(RequestDispatcherAdaptor.java:48)
              at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java
      :530)
              at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImp
      l.java:576)
              at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletIm
      pl.java:334)
              at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortl
      et.processAction(MonitoringInvokerPortlet.java:189)
              at com.liferay.portlet.PortletContainerImpl._processAction(PortletContai
      nerImpl.java:425)
              at com.liferay.portlet.PortletContainerImpl.processAction(PortletContain
      erImpl.java:117)
      05:42:59,860 WARN  [http-nio-8080-exec-1][code_jsp:181] {code="404", msg="/favic
      on.ico", uri=/favicon.ico}
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              hong.zhao Hong Zhao (Inactive)
              Participants of an Issue:
              Recent user:
              Hong Zhao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 42 weeks, 4 days ago

                  Packages

                  Version Package
                  Master