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

NullPointerException when incrementing view counter

    Details

    • Fix Priority:
      3

      Description

      It can occur that assetEntryLocalService is not resolved in BaseAssetDisplayPageFriendlyURLResolver and a NullPointerException occurs when incrementing view counter:

      Caused by: java.lang.NullPointerException
      	at com.liferay.asset.display.page.portlet.BaseAssetDisplayPageFriendlyURLResolver._getAssetEntry(BaseAssetDisplayPageFriendlyURLResolver.java:206)
      

      [To be defined: steps to reproduce].

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cristina.rodriguez Cristina Rodriguez
              Reporter:
              cristina.rodriguez Cristina Rodriguez
              Participants of an Issue:
              Recent user:
              Cristina Rodriguez
              Engineering Assignee:
              Cristina Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                43 weeks, 5 days ago

                  Packages

                  Version Package