Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-585

Extension manager status from 4.2 is not properly loaded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.1-milestone-2
    • 5.4.4
    • Job
    • 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.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: