This issue has been created
There is 1 update.
 
 
XWiki Docker images / cid:jira-generated-image-avatar-46d2b387-84be-4582-92a7-83402b4f7c2a XDOCKER-359 Open

Distribution upgrade from 16.10.4 to 16.10.5 is failing

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-d89bb87e-b02b-42b5-89e9-ffa58eaa0b77 Bernd Bartke created this issue on 03/Apr/25 14:13
 
Summary: Distribution upgrade from 16.10.4 to 16.10.5 is failing
Issue Type: cid:jira-generated-image-avatar-46d2b387-84be-4582-92a7-83402b4f7c2a Bug
Assignee: Unassigned
Attachments: distribution-empty.png, xwiki-partial.log
Created: 03/Apr/25 14:13
Priority: cid:jira-generated-image-static-major-3d516cfc-7b70-4bc1-a529-c1701f7d6fb7 Major
Reporter: Bernd Bartke
Description:

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.

43522_distribution-empty.png

Within xwiki.log a NullPointerException is reported:

 

 

 
 

1 update

 
cid:jira-generated-image-avatar-d89bb87e-b02b-42b5-89e9-ffa58eaa0b77 Changes by Bernd Bartke on 03/Apr/25 14:15
 
Description: 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 , 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.

!distribution-empty.png
|thumbnail !

Within xwiki.log a {{NullPointerException}} is reported:
[^xwiki-partial.log]
{noformat}
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:28,731 [http-nio-8080-exec-6 - /wiki/bin/distribution/XWiki/Distribution?xredirect=] 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)
{noformat}