-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 10.10-SNAPSHOT
-
Fix Version/s: 10.10
-
Component/s: Key/Value Store
-
Sprint:nxFG 10.10.4
-
Story Points:2
In some concurrency scenarios (concurrent uploads from the mobile app for instance) we have this issue:
Suppressed: java.lang.NullPointerException at java.util.HashMap.merge(HashMap.java:1225) at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320) at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at org.nuxeo.ecm.core.transientstore.keyvalueblob.KeyValueBlobTransientStore.getParameters(KeyValueBlobTransientStore.java:386) at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch.getFileEntry(Batch.java:141) at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch.removeFileEntry(Batch.java:242) at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch.clean(Batch.java:231) at org.nuxeo.ecm.automation.server.jaxrs.batch.BatchManagerComponent.clean(BatchManagerComponent.java:298) at org.nuxeo.ecm.restapi.server.jaxrs.BatchUploadObject.lambda$executeBatch$0(BatchUploadObject.java:479) at org.nuxeo.ecm.webengine.jaxrs.context.RequestContext.dispose(RequestContext.java:95)