Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
None
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