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

NPE from ThreadSorter

    XMLWordPrintable

    Details

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

      Description

      Similar to one previously reported:

      Stacktrace:
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
      caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.faces.el.EvaluationException: Error getting property 'selectedTopic' from bean of type org.sakaiproject.tool.messageforums.DiscussionForumTool: java.lang.NullPointerException
      at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
      caused by: javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'selectedTopic' from bean of type org.sakaiproject.tool.messageforums.DiscussionForumTool: java.lang.NullPointerException
      at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
      caused by: javax.faces.el.EvaluationException: Error getting property 'selectedTopic' from bean of type org.sakaiproject.tool.messageforums.DiscussionForumTool: java.lang.NullPointerException
      at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
      caused by: java.lang.NullPointerException
      at java.sql.Timestamp.compareTo(Timestamp.java:512)
      at org.sakaiproject.tool.messageforums.DiscussionForumTool$ThreadUpdateSorter.compare(DiscussionForumTool.java:7531)
      at org.sakaiproject.tool.messageforums.DiscussionForumTool$ThreadUpdateSorter.compare(DiscussionForumTool.java:7523)
      at java.util.Arrays.mergeSort(Arrays.java:1270)
      at java.util.Arrays.sort(Arrays.java:1210)
      at java.util.Collections.sort(Collections.java:159)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  arwhyte Anthony Whyte
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration