-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25)
-
NEW
-
NEW
While testing the new nio2 implementation, encountered the following NPE.
15:56:04,650 ERROR [stderr] (Thread-125) Exception in thread "Thread-125" java.lang.NullPointerException 15:56:04,650 ERROR [stderr] (Thread-125) at org.uberfire.ext.metadata.io.IOServiceIndexedImpl$1$1.getRealCreatedPaths(IOServiceIndexedImpl.java:409) 15:56:04,650 ERROR [stderr] (Thread-125) at org.uberfire.ext.metadata.io.IOServiceIndexedImpl$1$1.lambda$run$0(IOServiceIndexedImpl.java:315) 15:56:04,651 ERROR [stderr] (Thread-125) at java.lang.Iterable.forEach(Iterable.java:75) 15:56:04,651 ERROR [stderr] (Thread-125) at org.uberfire.ext.metadata.io.IOServiceIndexedImpl$1$1.run(IOServiceIndexedImpl.java:312) 15:56:04,651 ERROR [stderr] (Thread-125) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 15:56:04,651 ERROR [stderr] (Thread-125) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 15:56:04,651 ERROR [stderr] (Thread-125) at java.lang.Thread.run(Thread.java:748)
It may related to this line of code:
https://github.com/kiegroup/appformer/blob/92d05f8620fb775a9fdd96574273de2deda3d215/uberfire-extensions/uberfire-metadata/uberfire-metadata-commons-io/src/main/java/org/uberfire/ext/metadata/io/IOServiceIndexedImpl.java#L467
Since the method, 'getFileName', will return null for root path.
- relates to
-
AF-2058 Provide alternative implementation of uberfire-nio2-impls backed by OCP/K8S
- Resolved