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

NPE attempting to process null event

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.4, 19.0
    • Fix Version/s: 19.1, 20.0 [Tentative]
    • Component/s: Sitestats
    • Labels:
      None
    • 19 status:
      Verified
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Seen occasionally under load testing conditions:

      2018-11-06 09:55:08,630  WARN org.sakaiproject.sitestats.impl.StatsUpdateManagerImpl org.sakaiproject.sitestats.impl.StatsUpdateManagerImpl - Failed to execute statistics update thread
      java.lang.NullPointerException
              at org.sakaiproject.sitestats.impl.StatsUpdateManagerImpl.preProcessEvent(StatsUpdateManagerImpl.java:548)
              at org.sakaiproject.sitestats.impl.StatsUpdateManagerImpl.run(StatsUpdateManagerImpl.java:490)
              at java.lang.Thread.run(Thread.java:748)
      

      The NPE implies that the event passed to preProcessEvent() is null.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                smarquard Stephen Marquard
                Reporter:
                smarquard Stephen Marquard
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code