Lucene indexing related errors during business-central.war startup

Solution Unverified - Updated -

Issue

  • After migration to new RHPAM version, we're seeing errors similar to below during business-central.war startup:
2021-07-27 10:08:04,017 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-147) Indexing error for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer]: org.uberfire.java.nio.file.NoSuchFileException
    at org.uberfire.java.nio.file.Files.readAttributes(Files.java:660)
    at org.uberfire.io.impl.IOServiceDotFileImpl.readAttributes(IOServiceDotFileImpl.java:235)
    at org.uberfire.io.impl.AbstractIOService.readAttributes(AbstractIOService.java:376)
    at org.uberfire.io.impl.IOServiceDotFileImpl.newView(IOServiceDotFileImpl.java:354)
    at org.uberfire.io.impl.IOServiceDotFileImpl.getFileAttributeView(IOServiceDotFileImpl.java:216)
    at org.uberfire.ext.metadata.io.CoreIndexer.toKObject(CoreIndexer.java:49)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processNew(IndexerDispatcher.java:261)
    at org.uberfire.ext.metadata.io.IndexableIOEvent$NewFileEvent.apply(IndexableIOEvent.java:62)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvent(IndexerDispatcher.java:241)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvents(IndexerDispatcher.java:217)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:194)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:165)
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
2021-07-27 10:08:04,021 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-148) Indexing error for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer]: java.lang.NullPointerException
    at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.delete(LuceneIndexProvider.java:109)
    at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doDelete(MetadataIndexEngine.java:228)
    at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:149)
    at java.util.ArrayList.forEach(ArrayList.java:1257)
    at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:272)
    at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:255)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:195)
    at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:165)
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

Environment

  • Red Hat Process Automation Manager (RHPAM)
  • Red Hat Decision Manager (RHDM)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content