Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17874

NPE in "User event dispatcher thread" which causes notifications to stop being received by users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.6.2
    • Fix Version/s: 12.6.3, 12.9-rc-1, 11.10.11
    • Component/s: Notifications
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Edge 85, using a local instance of XWiki 12.6.2 on Oracle 19c, Tomcat 9.0.38
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      When I was testing XWiki 12.6.2 I've encountered the following error in console:

      Exception in thread "User event dispatcher thread" java.lang.NullPointerException
              at org.xwiki.notifications.filters.internal.SystemUserNotificationFilter.filterEvent(SystemUserNotificationFilter.java:76)
              at org.xwiki.notifications.notifiers.internal.UserEventManager.isEventFiltered(UserEventManager.java:196)
              at org.xwiki.notifications.notifiers.internal.UserEventManager.isListening(UserEventManager.java:96)
              at org.xwiki.notifications.notifiers.internal.UserEventDispatcher.dispatch(UserEventDispatcher.java:229)
              at org.xwiki.notifications.notifiers.internal.UserEventDispatcher.dispatch(UserEventDispatcher.java:249)
              at org.xwiki.notifications.notifiers.internal.UserEventDispatcher.dispatch(UserEventDispatcher.java:217)
              at org.xwiki.notifications.notifiers.internal.UserEventDispatcher.run(UserEventDispatcher.java:170)
              at java.base/java.lang.Thread.run(Thread.java:834)

      After this error occurred, the notifications (tested with Pages) were not received anymore by users, unless the instance was restarted.

      Unfortunately I don't know yet the exact steps to reproduce the issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: