OAK-9700: RevisionGC may fail with NPE
authorMarcel Reutegger <marcel.reutegger@gmail.com>
Tue, 22 Feb 2022 14:37:17 +0000 (15:37 +0100)
committerMarcel Reutegger <marcel.reutegger@gmail.com>
Tue, 22 Feb 2022 14:37:17 +0000 (15:37 +0100)
commite9cf5a65e2b380e86cc71ee3299b6be31670e0e2
tree8b52db6f382fae5ca0ce81cbc90e8a310189be38
parentc5d9797c4c33276780bcd72a1d5fed3926bce4f5
OAK-9700: RevisionGC may fail with NPE

Fix NPE and enable test
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/VersionGarbageCollector.java
oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoRevisionGCTest.java