Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-24577

Unable to send message to "All Participants" because of guaranteed NPE

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.2, 2.8.0
    • Fix Version/s: 2.7.2, 2.8.1, 2.9.0
    • Component/s: Messages Tool
    • Labels:
      None
    • 2.9 Status:
      Resolved
    • Previous Issue Keys:
      MSGCNTR-508

      Description

      This regression was introduced by MSGCNTR-312.

      This showed up on IU's deployment of msgcntr 2.7.4. It isn't exactly clear what perfect circumstances occurred for this piece of code to be called, but the code itself is a guaranteed NPE if it is called. The symptom was that any time a user tried to send a message to "All Participants" it hit an NPE. It appears to be related to users who have not logged in to the tool yet so do not yet have a "private forum" in the db behind the scenes but somehow auto-forwarding is on by default for that user.

      This error does not occur in trunk because it was picked up by a code cleanup utility in a separate jira that was merged into 2.7.x and 2.8.x before MSGCNTR-312 was merged.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                baholladay Bryan Holladay
                Reporter:
                arwhyte Anthony Whyte
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration