Details
Description
STEPS TO REPRODUCE
- Create an older instance of XWiki (e.g. 11.10.5) with a subwiki
- Create a global user on Main Wiki
- Create also a local user on subwiki
- Close the instance
- 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
- Start XWiki and follow DW to the end
- 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
- is related to
-
XWIKI-17549 NPEs related to user mentions in console when upgrading XWiki
- Closed
-
XWIKI-17636 Use a lighter library to perform disk-persistent blocking queue in mention
- Closed