Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4385

NPE in XWikiDocument.CopyDocument() introduced by the patch of XWIKI-4283

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0, 1.9.4, 2.1 M1
    • 1.9.3, 2.0 RC2
    • {Unused} Core
    • None
    • any
    • patch

    Description

      This is a mistery for me, but it seems BaseObject vectors in XWikiDocument may contains null object. This is checked almost anywhere in the code, this is poor design but since it is, we need to support it. And I know, this is hard, I have made this mistake myself.

      Here is a patch for version 1.9.x.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: