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

MBUtil.getParentMessageId will throw a nullpointerexception if the passed in message has a null subject

    Details

    • Liferay Contributor's Agreement:
      Accept

      Description

      We configured a new message board category in the messageboard portlet and set it up to load messages from a mailinglist

      One of the messages loaded had a null subject, causing the following exception to occur :

      java.lang.NullPointerException
      at com.liferay.portlet.messageboards.util.MBUtil._getParentMessageIdFromSubject(MBUtil.java:747)
      at com.liferay.portlet.messageboards.util.MBUtil.getParentMessageIdString(MBUtil.java:533)
      at com.liferay.portlet.messageboards.util.MBUtil.getParentMessageId(MBUtil.java:481)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igor.spasic Igor Spasic (Inactive)
              Reporter:
              jelmer Jelmer Kuperus (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 17 weeks, 6 days ago

                  Packages

                  Version Package
                  --Sprint 12/11
                  6.1.0 CE RC1