Details
-
Bug
-
Resolution: Fixed
-
Major
-
5.4.4
-
None
-
Unit
-
N/A
-
N/A
-
Description
Displaying the details of the extension cause an NPE during the preparation of the logs status in extension.vm at line 640 with the following misleading message:
Invocation of method 'xml' in class org.xwiki.velocity.tools.EscapeTool threw exception java.lang.NullPointerException at xwiki:XWiki.AddExtensions[line 640, column 46
The issue is that $argument.toString() cause an NPE when being an instance of org.xwiki.model.reference.DocumentReference. The org.xwiki.extension.ExtensionId is also bad, but it returns "null-null".
I attached the status.xml that produce the issue.