Description
RecordIdMap is not properly guarded against NPEs when calling accessors on an empty map (which is represented by keys == null.
testRecordIdMap(org.apache.jackrabbit.oak.plugins.segment.RecordIdMapTest) Time elapsed: 0.019 sec <<< ERROR! java.lang.NullPointerException at org.apache.jackrabbit.oak.plugins.segment.RecordIdMap.size(RecordIdMap.java:100) at org.apache.jackrabbit.oak.plugins.segment.RecordIdMapTest.testRecordIdMap(RecordIdMapTest.java:64)
Attachments
Issue Links
- relates to
-
OAK-2862 CompactionMap#compress() inefficient for large compaction maps
- Closed