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

Warning related to "org.apache.lucene.store.MMapDirectory.lookupProvider " when starting XWiki on Java 25

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 17.10.3
    • None
    • Windows 11 Pro, Edge 145, using an instance of XWiki 17.10.4 on PostgreSQL 17, Tomcat 11 and Jetty/HSQLDB, Java 25
    • Unknown

    Description

      Steps to reproduce

      1. Start XWiki (e.g. 17.10.3 and 17.10.4) on Java 25 (reproduced on both Tomcat 11 and Jetty)
      2. Observe the logs (XWiki console)

      Expected results

      No (other) warnings are displayed.

      Actual results

      The following stacktrace is displayed:

      10-Mar-2026 13:41:32.680 WARNING [coreLoadExecutor-11-thread-1] org.apache.lucene.store.MMapDirectory.lookupProvider You are running with Java 22 or later. To make full use of MMapDirectory, please update Apache Lucene.

      This stacktrace seems different from the one reported on XWIKI-22012 (on Java 21).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: