-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF53, 2021.19
-
Component/s: TransientStore
-
Tags:
-
Backlog priority:900
-
Sprint:nxplatform #58
-
Story Points:1
The goal is to fix NPE when blobs are deserialized by works
Uncaught error on thread: Nuxeo-Work-deliveryTypes-2, current work might be lost, WorkManager metrics might be corrupted. java.lang.NullPointerException: null at org.nuxeo.ecm.core.blob.binary.Binary.recomputeFile(Binary.java:132) ~[nuxeo-core-api-10.10-HF42.jar:?] at org.nuxeo.ecm.core.blob.binary.Binary.readObject(Binary.java:123) ~[nuxeo-core-api-10.10-HF42.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_282] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_282] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184) ~[?:1.8.0_282] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2295) ~[?:1.8.0_282] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2186) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1666) ~[?:1.8.0_282] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2404) ~[?:1.8.0_282] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2328) ~[?:1.8.0_282] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2186) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1666) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:502) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:460) ~[?:1.8.0_282] at java.util.HashMap.readObject(HashMap.java:1412) ~[?:1.8.0_282] at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184) ~[?:1.8.0_282] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2295) ~[?:1.8.0_282] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2186) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1666) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:502) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:460) ~[?:1.8.0_282] at java.util.HashMap.readObject(HashMap.java:1412) ~[?:1.8.0_282] at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184) ~[?:1.8.0_282] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2295) ~[?:1.8.0_282] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2186) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1666) ~[?:1.8.0_282] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2404) ~[?:1.8.0_282] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2328) ~[?:1.8.0_282] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2186) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1666) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:502) ~[?:1.8.0_282] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:460) ~[?:1.8.0_282] at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing.deserializeWork(RedisWorkQueuing.java:447) ~[nuxeo-core-redis-10.10-HF07.jar:?] at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing.getWorkFromQueue(RedisWorkQueuing.java:723) ~[nuxeo-core-redis-10.10-HF07.jar:?] at org.nuxeo.ecm.core.redis.contribs.RedisBlockingQueue.pollElement(RedisBlockingQueue.java:143) ~[nuxeo-core-redis-10.10-HF07.jar:?] at org.nuxeo.ecm.core.work.NuxeoBlockingQueue.poll(NuxeoBlockingQueue.java:121) ~[nuxeo-core-event-10.10-HF39.jar:?] at org.nuxeo.ecm.core.redis.contribs.RedisBlockingQueue.poll(RedisBlockingQueue.java:101) ~[nuxeo-core-redis-10.10-HF07.jar:?] at org.nuxeo.ecm.core.redis.contribs.RedisBlockingQueue.take(RedisBlockingQueue.java:85) ~[nuxeo-core-redis-10.10-HF07.jar:?] at org.nuxeo.ecm.core.redis.contribs.RedisBlockingQueue.take(RedisBlockingQueue.java:47) ~[nuxeo-core-redis-10.10-HF07.jar:?] at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) ~[?:1.8.0_282] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) ~[?:1.8.0_282] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_282] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]