Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8965

Failed to upgrade extension

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 4.5.3
    • Extension
    • None
    • latest debian; deb installation with tomcat6 and mysql; virtual wiki; attachments on file storage; tomcat provide the wiki on the root-url (<context path="/"...)
    • Unknown
    • N/A
    • N/A

    Description

      Installed XWiki 4.5.2 with deb package some days ago. Including the workspace manager and wiki manager. Everything was running fine. Today there was the release of xwiki 4.5.3.

      • i upgraded via aptitude
      • upgraded several parts in the distribution manager (xwiki enterprise ui all; XWiki Platform - Workspace - Template Features)
      • during the upgrade of the workspace application and the wiki application the distribution manager aborted with an error "exception thrown during job execution"

      <code>
      class org.xwiki.extension.InstallException: Failed to upgrade from extension [org.xwiki.platform:xwiki-platform-application-manager-api-4.5.1] to extension [org.xwiki.platform:xwiki-platform-application-manager-api-4.5.3] at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.upgrade(DefaultExtensionHandlerManager.java:121) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:189) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:138) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:91) at org.xwiki.extension.job.internal.InstallJob.start(InstallJob.java:143) at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:155) at java.lang.Thread.run(Thread.java:636) Caused by: class java.lang.NullPointerException: null at org.xwiki.extension.jar.internal.handler.JarExtensionHandler.uninstall(JarExtensionHandler.java:108) at org.xwiki.extension.handler.internal.AbstractExtensionHandler.upgrade(AbstractExtensionHandler.java:63) at org.xwiki.extension.handler.internal.DefaultExtensionHandlerManager.upgrade(DefaultExtensionHandlerManager.java:117) at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:189) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:138) at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:91) at org.xwiki.extension.job.internal.InstallJob.start(InstallJob.java:143) at org.xwiki.job.AbstractJob.start(AbstractJob.java:134) at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:155) at java.lang.Thread.run(Thread.java:636)
      </code>

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              thomassteinbach Thomas Steinbach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: