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

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.6.3, 12.9-rc-1, 11.10.11
    • 12.6.2
    • Notifications
    • None
    • Windows 10 Pro 64 bit, Edge 85, using a local instance of XWiki 12.6.2 on Oracle 19c, Tomcat 9.0.38
    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: