Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29291

Wiki to XHTML migration fails with array out of bounds error

      When a page contains a link which contains the string '[::]', then migration can fail with the following error in the logs. Please also see the attached screens shot which shows the migration failing in the UI.

      2013-05-14 11:24:02,176 FATAL [main] [atlassian.config.lifecycle.LifecycleManager] panicAndShutdown Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:pluginframeworkdependentupgrades (Run all the upgrades that require the plugin framework to be available) - com.atlassian.confluence.content.render.xhtml.migration.exceptions.MigrationException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 1
      com.atlassian.confluence.content.render.xhtml.migration.exceptions.MigrationException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 1
      

      The reason appears to be that the link interprets '[::]' as an array for the link. For example, the text could be 'http://www.atlassian.com/[::]'

      Steps to Reproduce

      1. Install a version of Confluence older then 4 (say 3.5.17)
      2. Create a new page and paste 'http://www.atlassian.com/[::]' to be the body of said page
      3. Upgrade to any version of Confluence greater than 4
      4. Upon startup, we will receive an error stating that the upgrade has failed to an array index error.

      Workaround
      See Wiki Markup Migration Fails with Array Out of Bounds Exception

            [CONFSERVER-29291] Wiki to XHTML migration fails with array out of bounds error

            Minh Tran added a comment -
            Atlassian update

            Thank you for taking the time to raise, comment or vote on this Bug. We regret to inform you that due to a limited number of reports and based on our current backlog of higher impact issues that we are closing this issue as Timed Out.
            If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue.
            Thanks again.
            Regards,
            Confluence Development

            Minh Tran added a comment - Atlassian update Thank you for taking the time to raise, comment or vote on this Bug. We regret to inform you that due to a limited number of reports and based on our current backlog of higher impact issues that we are closing this issue as Timed Out. If this issue is still impacting you on a recent version please feel free to comment with the affected version. Any further details you may be able to provide regarding reproduction or impact of this issue may help us better address this issue. Thanks again. Regards, Confluence Development

              Unassigned Unassigned
              acampbell AndrewA
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: