There are 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1a019856-a5a5-4a51-a437-6b371cb68649 XWIKI-23358 Open

Warning Failed to get the extension from the index: NullPointerException is logged on installation

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-f84f56fa-8f18-47c4-901a-22cbbc709c2a Nikita Petrenko on 21/Jul/25 18:23
 

I've just reproduced the issue when upgrading XWiki 12.6.8 to 17.4.2 (MariaDB 11.8/ Tomcat 11).

This will be true for any XWiki upgrade from version older than 16.x, because there a supported by strategy has been introduced.

 
cid:jira-generated-image-avatar-f84f56fa-8f18-47c4-901a-22cbbc709c2a Nikita Petrenko on 21/Jul/25 18:23
 
{quote}I've just reproduced the issue when upgrading XWiki 12.6.8 to 17.4.2 (MariaDB 11.8/ Tomcat 11).{quote}

This will be true for any XWiki upgrade from version older than
17.x or 16.x , because there a supported by strategy has been introduced .
 
cid:jira-generated-image-avatar-f84f56fa-8f18-47c4-901a-22cbbc709c2a Nikita Petrenko on 21/Jul/25 18:27
 
{quote}I've just reproduced the issue when upgrading XWiki 12.6.8 to 17.4.2 (MariaDB 11.8/ Tomcat 11).{quote}

This will be true for any XWiki upgrade from version older than 17.x or 16.x.



{code:java}
2025-07-21 19:24:14,038 [qtp1486566962-48 - http://laptop-0t4ck53s:8080/xwiki/bin/distribution/XWiki/Distribution?xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F&action=COMPLETE_STEP] WARN  .x.e.i.i.DefaultExtensionIndex - Failed to get the extension [org.xwiki.platform:xwiki-platform-distribution-flavor-mainwiki/17.4.2] from the index: NullPointerException: Cannot invoke "String.equals(Object)" because "repositoryId" is null
{code}