Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6216 ArrayIndexOutOfBoundsException when parsing POM
  3. MNG-6281

ArrayIndexOutOfBoundsException caused by pom.xml with invalid/duplicate XML

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.8.2, 4.0.0-alpha-2, 4.0.0
    • POM
    • None

    Description

      This is a hard one to recognize and to reproduce, but there are cases where (for unknown reasons) that the content of the XML is duplicated in the pom file.
      Up until version 3.5.0 this was not an issue, because the XML parser stopped parsing once hitting the closing project-tag, ignoring any content afterwards.

      Attachments

        1. MNG-6281.zip
          4 kB
          Robert Scholte

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              rfscholte Robert Scholte
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: