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

Forum error in 'Move Threads' when topic is not selected

    XMLWordPrintable

    Details

    • 10 status:
      Resolved
    • Test Plan:
      Hide

      Create some threads in a conversation, select one of them and click on 'Move Thread(s)'.
      Don't select any topic and click the button 'Move Thread(s) to Selected Topic'

      Show
      Create some threads in a conversation, select one of them and click on 'Move Thread(s)'. Don't select any topic and click the button 'Move Thread(s) to Selected Topic'

      Description

      When you want move threads but you don't select the new topic, sometimes tool generates a bug report.

      It usually occurs when you do that twice, the first time the page is reloaded, and the second time it crashes.

      stack trace:
      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: #

      {ForumTool.processMoveThread}: javax.faces.el.EvaluationException: java.lang.NullPointerException
      at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:75)
      caused by: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: #{ForumTool.processMoveThread}

      : javax.faces.el.EvaluationException: java.lang.NullPointerException
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1584)
      caused by: javax.servlet.ServletException: #

      {ForumTool.processMoveThread}: javax.faces.el.EvaluationException: java.lang.NullPointerException
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      caused by: javax.faces.FacesException: #{ForumTool.processMoveThread}

      : javax.faces.el.EvaluationException: java.lang.NullPointerException
      at javax.faces.component.UICommand.broadcast(UICommand.java:332)
      caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
      caused by: java.lang.NullPointerException
      at org.sakaiproject.component.app.messageforums.MessageForumsMessageManagerImpl.saveMessage(MessageForumsMessageManagerImpl.java:1313)
      at org.sakaiproject.component.app.messageforums.MessageForumsMessageManagerImpl.saveMessage(MessageForumsMessageManagerImpl.java:1306)
      at org.sakaiproject.component.app.messageforums.MessageForumsMessageManagerImpl.saveMessage(MessageForumsMessageManagerImpl.java:1298)
      at org.sakaiproject.component.app.messageforums.MessageForumsMessageManagerImpl.saveMessage(MessageForumsMessageManagerImpl.java:1294)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        Gliffy Diagrams

          Zeplin

            Attachments

            1. bugReport.JPG
              bugReport.JPG
              44 kB
            2. moveThread.JPG
              moveThread.JPG
              61 kB
            3. sak28064.patch
              3 kB

              Issue Links

                Activity

                  People

                  • Assignee:
                    lorenamg Lorena
                    Reporter:
                    lorenamg Lorena
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    4 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration