Uploaded image for project: 'Admin Tools Application'
  1. Admin Tools Application
  2. ADMINTOOL-97

Wiki Diff failed with error: Cannot invoke method getDifferencesAsHTML() on null object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 4.5.4
    • None
    • None
    • Linux Debian
      xwiki-xjetty-mariadb package
    • Unknown

    Description

      Wiki Diff failed with error: Cannot invoke method getDifferencesAsHTML() on null object.

      This has been done in the following environment:

      The actual code failing is located in WikiDiffGroovy page.

      The root cause of the issue seems to be the missing diff plugin.

      Performing a research in javadoc let me believe that the plugin was removed starting with XWiki version 8.0:

      A fix would probably be to use the Diff module but this doesn't seems trivial (at least to me with my current understanding of the legacy code and the features of the new module).

      Attachments

        Activity

          People

            Unassigned Unassigned
            amottier Antoine Mottier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: