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

Social activity listing - social activity interpreter errors in logs

    Details

      Description

      Steps to reproduce:

      1. Login as admin and create a user, and add it to the Liferay DXP site.
      2. Place an Activities portlet on the welcome page.
      3. Create a web content article and then move it to the recycle bin.
      Checkpoint: Go to the welcome page and assess that you see the two activities listed.
      4. Log in as the other user and go to the welcome page.
      Result: No activity listed and a

      2020-01-29 10:45:26.231 ERROR [http-nio-8080-exec-6][BaseSocialActivityInterpreter:101] Unable to interpret activity set
      java.lang.NullPointerException
      at com.liferay.portlet.trash.util.TrashImpl.getViewContentURL(TrashImpl.java:422)
      at com.liferay.trash.kernel.util.TrashUtil.getViewContentURL(TrashUtil.java:160)
      at com.liferay.social.kernel.model.BaseSocialActivityInterpreter.getViewEntryInTrashURL(BaseSocialActivityInterpreter.java:538)
      at com.liferay.social.kernel.model.BaseSocialActivityInterpreter.getLink(BaseSocialActivityInterpreter.java:352)
      at com.liferay.social.kernel.model.BaseSocialActivityInterpreter.doInterpret(BaseSocialActivityInterpreter.java:177)
      at com.liferay.social.kernel.model.BaseSocialActivityInterpreter.doInterpret(BaseSocialActivityInterpreter.java:212)

      error stack trace is thrown in the Tomcat console.

      Expected: No error in the logs, and activities listed (if the user has the appropriate permissions)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              manoel.cyreno Manoel Cyreno
              Reporter:
              istvan.dezsi Istvan Dezsi
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 18 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP90
                  7.0.10.13 DXP SP13
                  7.0.X
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master