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

Failing to calculate upgrade plan when an extension need to be uninstalled

    Details

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

      Description

      Getting

      org.xwiki.extension.job.plan.internal.DefaultExtensionPlanNode cannot be cast to org.xwiki.extension.job.internal.AbstractInstallPlanJob$ModifableExtensionPlanNode
      class java.lang.ClassCastException: org.xwiki.extension.job.plan.internal.DefaultExtensionPlanNode cannot be cast to org.xwiki.extension.job.internal.AbstractInstallPlanJob$ModifableExtensionPlanNode
          at org.xwiki.extension.job.internal.AbstractInstallPlanJob$ModifableExtensionPlanTree.clone(AbstractInstallPlanJob.java:84)
          at org.xwiki.extension.job.internal.UpgradePlanJob.tryInstallExtension(UpgradePlanJob.java:152)
          at org.xwiki.extension.job.internal.UpgradePlanJob.upgradeExtension(UpgradePlanJob.java:136)
          at org.xwiki.extension.job.internal.UpgradePlanJob.upgradeExtension(UpgradePlanJob.java:85)
          at org.xwiki.extension.job.internal.UpgradePlanJob.upgrade(UpgradePlanJob.java:202)
          at org.xwiki.extension.job.internal.UpgradePlanJob.runInternal(UpgradePlanJob.java:268)
          at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
          at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: