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

Forums throwing NPE on needToUpdateSynopticOnForumSave when creating new topics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0
    • Fix Version/s: 19.0
    • Component/s: Forums Tool, Rubrics
    • Labels:
      None
    • Test Plan:
      Hide

      In Forums

      1 Click "New Topic". Fill in the required fields

      Hit Save, stack trace will be in the logs

      Page will refresh back again, hit save again and you'll see a stack trace.

      Actual: Error message
      Expected: No error message

      Show
      In Forums 1 Click "New Topic". Fill in the required fields Hit Save, stack trace will be in the logs Page will refresh back again, hit save again and you'll see a stack trace. Actual: Error message Expected: No error message

      Description

      In what would be my best guess the change on SAK-34049 (possibly https://github.com/sakaiproject/sakai/commit/1b2afdb4574d5c9d15345cf9ce21f98dc06b3c09) But might be related to SAK-38427, not sure which one.

      It seems like forums throwing an NPE as reported in SAK-38427.

      caused by: java.lang.NullPointerException
          at org.sakaiproject.tool.messageforums.DiscussionForumTool.needToUpdateSynopticOnForumSave(DiscussionForumTool.java:1622)
          at org.sakaiproject.tool.messageforums.DiscussionForumTool.saveTopicSettings(DiscussionForumTool.java:2049)
          at org.sakaiproject.tool.messageforums.DiscussionForumTool.processTopicSettings(DiscussionForumTool.java:2032)
          at org.sakaiproject.tool.messageforums.DiscussionForumTool.processActionSaveTopicSettings(DiscussionForumTool.java:1941)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code