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

Wiki creation log contains errors and Application Index is missing

    XMLWordPrintable

Details

    • High
    • Trivial
    • N/A
    • N/A

    Description

      When creating a subwiki we always get this warning message:

      However, error(s) have been generated during that process and you might want to review them.

      Reviewing the wiki creation log shows this error:

      Applying [INSTALL] for extension [Application Index Application 15.5.1] on namespace [Math Club] from previous extension(s) []
      Invalid locale format: pt-BR
      class java.lang.IllegalArgumentException: Invalid locale format: pt-BR
          at org.apache.commons.lang3.LocaleUtils.parseLocale(LocaleUtils.java:268)
          at org.apache.commons.lang3.LocaleUtils.toLocale(LocaleUtils.java:348)
          at org.xwiki.xar.internal.XarUtils.getReference(XarUtils.java:120)
          at org.xwiki.xar.XarPackage.readEntry(XarPackage.java:270)
          at org.xwiki.xar.XarPackage.read(XarPackage.java:226)
          at org.xwiki.xar.XarPackage.<init>(XarPackage.java:161)
          at org.xwiki.extension.xar.internal.repository.XarInstalledExtension.<init>(XarInstalledExtension.java:47)
          at org.xwiki.extension.xar.internal.repository.XarInstalledExtensionRepository.addCacheXarExtension(XarInstalledExtensionRepository.java:186)
          at org.xwiki.extension.xar.internal.repository.XarInstalledExtensionRepository.updateCachedXarExtension(XarInstalledExtensionRepository.java:173)
          at org.xwiki.extension.xar.internal.repository.InstalledExtensionSynchronizer.onEvent(InstalledExtensionSynchronizer.java:113)
          at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:338)
          at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:303)
          at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:354)
          at org.xwiki.extension.job.internal.AbstractExtensionJob.installExtension(AbstractExtensionJob.java:336)
          at org.xwiki.extension.job.internal.AbstractExtensionJob.applyAction(AbstractExtensionJob.java:233)
          at org.xwiki.extension.job.internal.AbstractExtensionJob.applyActions(AbstractExtensionJob.java:181)
          at org.xwiki.extension.job.internal.InstallJob.runInternal(InstallJob.java:140)
          at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
          at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
          at org.xwiki.platform.wiki.creationjob.internal.ExtensionInstaller.installExtension(ExtensionInstaller.java:73)
          at org.xwiki.platform.wiki.creationjob.internal.steps.ProvisionWikiStep.execute(ProvisionWikiStep.java:78)
          at org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:96)
          at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:246)
          at org.xwiki.job.AbstractJob.run(AbstractJob.java:223)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.base/java.lang.Thread.run(Unknown Source)
      Successfully applied [INSTALL] for extension [Application Index Application 15.5.1] on namespace [Math Club] from previous extension(s) []
      

      This seems to be related to my comment on https://github.com/xwiki/xwiki-platform/commit/58ccef76fa40c4ffa377780506cf017a2d9ec36d#commitcomment-123027261 .

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: