Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-557

NullPointerException when trying to replace a child without siblings

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Calling

      {AbstractBlock#replaceChild}

      with a top level block as second argument and an empty new block might led to a NPE since it gets previous sibling and it's apparently not checked against null value.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: