Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-670

ConcurrentModificationException during upgrading subwikis

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.3, 6.3-milestone-2
    • Component/s: Extension
    • Labels:
      None
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      I upgraded my xwiki from 6.2.1 to 6.2.2 and during upgrading all my subwikis at the same time for one subwiki (my template wiki) i've got a ConcurrentModificationException while installing the 6.2.2 files in the Distribution Wizard:

      Exception thrown during job execution
      class java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922) at java.util.HashMap$KeyIterator.next(HashMap.java:956) at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1067) at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.updateMissingBackwardDependencies(DefaultInstalledExtensionRepository.java:481) at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.updateMissingBackwardDependencies(DefaultInstalledExtensionRepository.java:468) at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.addInstalledExtension(DefaultInstalledExtensionRepository.java:462) at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.applyInstallExtension(DefaultInstalledExtensionRepository.java:402) at org.xwiki.extension.repository.internal.installed.DefaultInstalledExtensionRepository.installExtension(DefaultInstalledExtensionRepository.java:656) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:266) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:199) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:146) at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:148) at org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209) at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              thomassteinbach Thomas Steinbach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: