Uploaded image for project: 'PUBLIC - MVC4SPRING'
  1. PUBLIC - MVC4SPRING
  2. MVCS-25

NullPointerException is swallowed when PortletApplicationContextUtils.getWebApplicationContext(PortletContext) intermittently fails on Liferay Portal 7.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.1.0
    • Component/s: framework
    • Labels:
      None

      Description

      When testing on Liferay Portal 7.1, calls to PortletApplicationContextUtils.getWebApplicationContext(PortletContext) intermittently failed because a NullPointerException was thrown by ServletContext.getAttribute(String). The failures seemed to go away when the applicant-jsf-portlet was redeployed. Regardless, the NullPointerException was getting swallowed. Instead, it should be reported in the console log.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                5.1.0