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

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

    XMLWordPrintable

Details

    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: