Uploaded image for project: 'XWiki Docker images'
  1. XWiki Docker images
  2. XDOCKER-359

Distribution upgrade from 16.10.4 to 16.10.5 is failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Trivial
    • None
    • Unknown

    Description

      Please close this issue.

      Problem has been caused by not upgrading the offline extension repository.

       

      Distribution upgrade from 16.10.4 to 16.10.5 is failing for xwiki:16.10.5-postgres-tomcat.

      Upon restart of 16.10.5, distribution upgrade wizard is shown, but is failing to get the version information of the current distribution. Hence its not possible to upgrade the flavor.

      Within xwiki.log several rendering errors are reported:
      xwiki-partial.log

      2025-04-03 13:52:45,604 [main] WARN  ltInstalledExtensionRepository - Invalid extension [org.xwiki.platform:xwiki-platform-distribution-flavor-mainwiki/16.10.4] on namespace [wiki:xwiki] (InvalidExtensionException: Dependency [org.xwiki.platform:xwiki-platform-oldcore-[16.10.4]] is incompatible with the core extension [org.xwiki.platform:xwiki-platform-legacy-oldcore/16.10.5])
      ... 2025-04-03 13:56:35,565 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.dependencies.size()) of comparison operation has null value at environment:/templates/extension.vm[line 378, column 38]
      2025-04-03 13:56:35,566 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.extensionFeatures.size()) of comparison operation has null value at environment:/templates/extension.vm[line 398, column 47]
      2025-04-03 13:56:35,566 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.components.size()) of comparison operation has null value at environment:/templates/extension.vm[line 416, column 40]
      2025-04-03 13:56:35,567 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.licenses.size()) of comparison operation has null value at environment:/templates/extension.vm[line 433, column 38]
      2025-04-03 13:56:35,568 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] ERROR o.a.v.rendering                - Left side ($extension.dependencies.size()) of comparison operation has null value at environment:/templates/extension.vm[line 655, column 40]
      2025-04-03 13:56:35,569 [http-nio-8080-exec-4 - /wiki/bin/distribution/XWiki/Distribution] WARN  o.x.j.i.DefaultJobStatusStore  - Failed to load job status for id [extension, action, null, wiki:xwiki]
      java.lang.NullPointerException: Cannot invoke "String.getBytes()" because "fullIdElement" is null
      	at org.xwiki.job.internal.DefaultJobStatusStore.getJobFolder(DefaultJobStatusStore.java:352)
      	at org.xwiki.job.internal.DefaultJobStatusStore.loadStatus(DefaultJobStatusStore.java:279)
      	at org.xwiki.job.internal.DefaultJobStatusStore.maybeLoadStatus(DefaultJobStatusStore.java:415)
      	at org.xwiki.job.internal.DefaultJobStatusStore.getJobStatus(DefaultJobStatusStore.java:403)
      	at org.xwiki.job.script.JobScriptService.getJobStatus(JobScriptService.java:97)
      	at org.xwiki.extension.script.AbstractExtensionScriptService.getJobStatus(AbstractExtensionScriptService.java:144)
      	at org.xwiki.extension.script.ExtensionManagerScriptService.getExtensionJobStatus(ExtensionManagerScriptService.java:870)
      	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
      	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
      

       

       

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              bbartke Bernd Bartke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: