Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30621

Fix blob provider initialization for transient stores

    XMLWordPrintable

    Details

      Description

      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] 

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m