If a blob len is requested from S3 but the blob is missing (or has invalid ETag) then we may get:
java.lang.NullPointerException at org.nuxeo.ecm.core.blob.binary.CachingBinaryManager.putLengthInCache(CachingBinaryManager.java:220) at org.nuxeo.ecm.core.blob.binary.CachingBinaryManager.getLength(CachingBinaryManager.java:191) at org.nuxeo.ecm.core.blob.binary.LazyBinary.getLength(LazyBinary.java:85) at org.nuxeo.ecm.core.blob.binary.BinaryBlobProvider.readBlob(BinaryBlobProvider.java:89) at org.nuxeo.ecm.core.storage.sql.S3BinaryManager.readBlob(S3BinaryManager.java:566) at org.nuxeo.ecm.core.blob.BlobManagerComponent.readBlob(BlobManagerComponent.java:232)