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

StackOverflow error for NotificationEventExecutor from the user profile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Solved By
    • Affects Version/s: 10.11.8
    • Fix Version/s: None
    • Component/s: Notifications
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      After an upgrade the user profiles could have many filters (e.g. I reproduced with both ~200 filters and ~3k filters) stored inside the object "XWiki.WatchListClass" (see ). As a result the wiki will be slow, the notifications will not load and the logs will show will be polluted with the following error:

      2019-08-29 14:30:01,275 [Notification event executor: 29 : list : [4true/17xwiki:XWiki.Admin///////10//////5xwiki/false]] ERROR .r.i.NotificationEventExecutor - Failed to retrieve notifications for cache key [4true/17xwiki:XWiki.Admin///////10//////5xwiki/false] 
      java.lang.StackOverflowError: null
      	at antlr.Parser.match(Parser.java:210)
      	at org.hibernate.hql.antlr.HqlBaseParser.primaryExpression(HqlBaseParser.java
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              oana.tabaranu Elena-Oana Florea
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: