This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-5e6365ae-cbf3-43d5-9856-ecac9372eaa7 XWIKI-23358 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-3584c2c6-fd1c-4ca9-b5ec-5ef09ac02a4d Michael Hamann created this issue on 07/Jul/25 12:57
 
Summary: Warning Failed to get the extension from the index: NullPointerException is logged on installation
Issue Type: cid:jira-generated-image-avatar-5e6365ae-cbf3-43d5-9856-ecac9372eaa7 Bug
Affects Versions: 17.4.2
Assignee: Unassigned
Created: 07/Jul/25 12:57
Priority: cid:jira-generated-image-static-major-eae84315-0c03-4c07-9ce7-b8d1b4c86447 Major
Reporter: Michael Hamann
Description:

Steps to reproduce:

Install XWiki 17.4.2 using the Docker container and install the standard flavor in the distribution wizard.

Expected result:

No warning is logged while executing the distribution wizard.

Actual result:

The following warnings are logged:

2025-07-07 10:53:26,075 [http-nio-8080-exec-5 - http://localhost:8080/bin/distribution/XWiki/Distribution] 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(Obj
ect)" because "repositoryId" is null  
2025-07-07 10:53:26,076 [http-nio-8080-exec-5 - http://localhost:8080/bin/distribution/XWiki/Distribution] 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(Obj
ect)" because "repositoryId" is null  
2025-07-07 10:53:56,545 [http-nio-8080-exec-1 - http://localhost:8080/bin/distribution/XWiki/Distribution?xredirect=%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  
2025-07-07 10:53:56,546 [http-nio-8080-exec-1 - http://localhost:8080/bin/distribution/XWiki/Distribution?xredirect=%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