Details
Description
STEPS TO REPRODUCE
- Import the attached page containing some macros
- Navigate to the imported page
EXPECTED RESULTS
No errors are displayed in XWiki console.
ACTUAL RESULTS
The following stacktrace is displayed in the console:
2022-05-25 15:33:38,466 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018453,docId=-1687194998492587839,type=mention,attempts=1,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,506 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018467,docId=-1687194998492587839,type=mention,attempts=2,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,521 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018506,docId=-1687194998492587839,type=mention,attempts=3,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,521 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018521,docId=-1687194998492587839,type=mention,attempts=4,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,521 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018521,docId=-1687194998492587839,type=mention,attempts=5,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,521 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018521,docId=-1687194998492587839,type=mention,attempts=6,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,521 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018521,docId=-1687194998492587839,type=mention,attempts=7,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,521 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018521,docId=-1687194998492587839,type=mention,attempts=8,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,537 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018521,docId=-1687194998492587839,type=mention,attempts=9,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,537 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018537,docId=-1687194998492587839,type=mention,attempts=10,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,537 [task-manager-consumer] WARN o.x.i.i.DefaultTasksManager - Error during the execution of task [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018537,docId=-1687194998492587839,type=mention,attempts=11,stop=false,wikiId=xwiki,version=1.1]]. Cause: [NullPointerException: Name is null]. 2022-05-25 15:33:38,537 [task-manager-consumer] ERROR o.x.i.i.DefaultTasksManager - [org.xwiki.index.internal.TaskData@5c8bf9c7[timestamp=1653482018537,docId=-1687194998492587839,type=mention,attempts=11,stop=false,wikiId=xwiki,version=1.1]] abandoned because it has failed too many times.
In XWiki 13.10.5 when inserted a User Mentions Macro I reproduced the following stacktrace:
2022-05-25 15:57:53,243 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,244 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,244 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,245 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,246 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,246 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,246 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,247 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,248 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,250 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,251 [Mentions thread] WARN i.DefaultMentionsEventExecutor - Error during mention analysis of task [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]]. Cause [NullPointerException: Name is null]. 2022-05-25 15:57:53,252 [Mentions thread] ERROR i.DefaultMentionsEventExecutor - [documentReference = [xwiki:aaa.WebHome], version = [1.1], authorReference = [xwiki:XWiki.Admin], wikiId = [xwiki]] abandoned because it has failed to many times.