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

Extension manager status from 4.2 is not properly loaded

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.4
    • Fix Version/s: 6.1-milestone-2
    • Component/s: Job
    • Labels:
      None
    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: