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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.4.2
    • None
    • None
    • Unknown

    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  

      Attachments

        Activity

          People

            Unassigned Unassigned
            MichaelHamann Michael Hamann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: