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

Errors related to user mentions still displayed in console when upgrading XWiki

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.7-rc-1, 12.6.2
    • 12.6.1
    • Mentions
    • None
    • Windows 10 Pro 64 bit, Chrome 84, using a local instance of XWiki 12.6.1 on PostgreSQL 12.3
    • Unit
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      STEPS TO REPRODUCE

      1. Create an older instance of XWiki (e.g. 11.10.5) with a subwiki
      2. Create a global user on Main Wiki
      3. Create also a local user on subwiki
      4. Close the instance
      5. Go to the newer instance (e.g. 12.6.1) and copy/cut the
        [...]webapps\xwiki

        folder and replace it (first delete the old one) in the same location on the older version

      6. Start XWiki and follow DW to the end
      7. Run also the DW for the subwiki

      EXPECTED RESULTS

      No warnings/errors are displayed.

      ACTUAL RESULTS

      Near the DW completion of Main Wiki and subwiki, there are many errors in console related to user mentions.
      Partial stacktrace (full version attached):

      2020-08-17 16:56:02,027 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,027 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,028 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,029 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,029 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,029 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,030 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,030 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,031 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,032 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,032 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,033 [Mentions thread] ERROR i.DefaultMentionsEventExecutor - [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]] abandoned because it has failed to many times.
      2020-08-17 16:56:02,054 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,055 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,057 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,064 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,065 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,066 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,068 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,069 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,069 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,071 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,080 [Mentions thread] WARN  i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: ].
      2020-08-17 16:56:02,080 [Mentions thread] ERROR i.DefaultMentionsEventExecutor - [documentReference = [xwiki:Main.WebHome], version = [2.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]] abandoned because it has failed to many times. 

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: