-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF64, 2021.23
-
Component/s: Key/Value Store
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #65
-
Story Points:2
The computeStoargeSize method may raise the following NPE
java.lang.NullPointerException: null
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:269) ~[?:1.8.0_312]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_312]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_312]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_312]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_312]
at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_312]
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_312]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_312]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_312]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_312]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_312]
at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) ~[?:1.8.0_312]
at java.util.stream.LongPipeline.sum(LongPipeline.java:419) ~[?:1.8.0_312]
at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.computeStorageSize(KeyValueBlobTransientStore.java:271) ~[nuxeo-core-cache-10.10-HF53.jar:?]
at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.doGC(KeyValueBlobTransientStore.java:293) ~[nuxeo-core-cache-10.10-HF53.jar:?]