Description
Following exception is seen at times with SegmentStore
unning org.apache.jackrabbit.oak.jcr.tck.NodetypeIT Exception in thread "TarMK flush thread: target/tar.1303694685400657" java.lang.NullPointerException at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.flush(FileStore.java:237) at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$1.run(FileStore.java:196) at java.lang.Thread.run(Thread.java:662)
Looking at FileStore#L237 [1] segments might be null when memoryMapped mode is used (default). Possibly a null check is required there