Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18181 works serialization errors on redis
  3. NXP-18209

collection works cannot be serialized in redis

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 7.10
    • Component/s: Collections

      Description

      ArrayList@SubList is not serializable, collection works should own their own list implementation and not reference the one provided by the caller.

      015-10-21 10:17:38,649 ERROR [http-bio-0.0.0.0-8080-exec-14] [org.nuxeo.ecm.core.redis.contribs.RedisBlockingQueue] Failed to add Work: DuplicateCollectionMemberWork(, Progress(?%, ?/0), null)
      java.io.NotSerializableException: java.util.ArrayList$SubList
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
      at org.nuxeo.ecm.core.redis.contribs.RedisWorkQueuing.serializeWork(RedisWorkQueuing.java:438)
      ....

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.