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

PortalImpl.getLayoutActualURL NullPointerException

Details

    Description

      If `PortalImpl.getLayoutActualURL(long, boolean, string, string)` is used, it always throws a NullPointerException, because it tries accessing a "params" null parameter.

      If this method (https://github.com/liferay/liferay-portal/blob/c62d3eac26f95df8548d315f30f8aaadabdea52f/portal-impl/src/com/liferay/portal/util/PortalImpl.java#L2729) is used, it calls getLayoutActualURL() with null params, which throws an exception at https://github.com/liferay/liferay-portal/blob/c62d3eac26f95df8548d315f30f8aaadabdea52f/portal-impl/src/com/liferay/portal/util/PortalImpl.java#L2758

      Attachments

        Activity

          People

            team-echo Product Team Echo
            pablo.molina Pablo Molina
            Kiyoshi Lee Kiyoshi Lee
            Pablo Molina Pablo Molina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24 weeks ago

              Packages

                Version Package
                7.4.0 CE GA1 DXP 7,4
                7.4.13 DXP GA1
                7.4.3.40 CE GA40
                Master