-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2020 Week 19-21 (from May 4)
-
NEW
-
NEW
While testing with the new nio2 implementation, experienced repetitive error logs like the following:
15:56:05,059 INFO [org.uberfire.java.nio.fs.k8s.K8SFileSystemProvider] (Thread-252) File not found [default:///home/jboss/ORGANIZATIONAL_UNIT_UPDATED] 15:56:05,060 ERROR [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-252) Indexing error for indexer [id=org.uberfire.ext.metadata.io.CoreIndexer]: org.uberfire.java.nio.file.NoSuchFileException at org.uberfire.java.nio.fs.k8s.K8SFileSystemProvider.lambda$checkFileNotExistThenThrow$11(K8SFileSystemProvider.java:331) at java.util.Optional.orElseThrow(Optional.java:290) at org.uberfire.java.nio.fs.k8s.K8SFileSystemProvider.checkFileNotExistThenThrow(K8SFileSystemProvider.java:329) at org.uberfire.java.nio.fs.file.SimpleFileSystemProvider.getFileAttributeView(SimpleFileSystemProvider.java:525) at org.uberfire.java.nio.file.Files.getFileAttributeView(Files.java:617) at org.uberfire.io.impl.IOServiceDotFileImpl.getFileAttributeView(IOServiceDotFileImpl.java:209) at org.uberfire.ext.metadata.io.CoreIndexer.toKObject(CoreIndexer.java:46) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processNew(IndexerDispatcher.java:255) at org.uberfire.ext.metadata.io.IndexableIOEvent$NewFileEvent.apply(IndexableIOEvent.java:62) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvent(IndexerDispatcher.java:235) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.processEvents(IndexerDispatcher.java:211) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:188) at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159) 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)
Looks like the 'NoSuchFileException' (a RuntimeException) is not being handled at here:
https://github.com/kiegroup/appformer/blob/92d05f8620fb775a9fdd96574273de2deda3d215/uberfire-io/src/main/java/org/uberfire/io/impl/IOServiceDotFileImpl.java#L209
Need to investigate the root cause of this indexer error thrown by CoreIndexer.
- relates to
-
AF-2410 Add a Switch to disable BC features when working as Monitoring
- Resolved