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

            Assignee:
            team-echo Product Team Echo
            Reporter:
            pablo.molina Pablo Molina
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Engineering Assignee:
            Pablo Molina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.4.0 CE GA1
                Master