com.cloudant.sync.datastore.AttachmentNotSavedException: Actual length of 225 does not equal expected length of 0

Stack Overflow | tej shah | 2 months ago
  1. 0

    facing attachment issue while sync with cloudant database

    Stack Overflow | 2 months ago | tej shah
    com.cloudant.sync.datastore.AttachmentNotSavedException: Actual length of 225 does not equal expected length of 0

    Root Cause Analysis

    1. com.cloudant.sync.datastore.AttachmentNotSavedException

      Actual length of 225 does not equal expected length of 0

      at com.cloudant.sync.datastore.AttachmentManager.prepareAttachment()
    2. com.cloudant.sync
      PullStrategy.run
      1. com.cloudant.sync.datastore.AttachmentManager.prepareAttachment(AttachmentManager.java:219)
      2. com.cloudant.sync.datastore.DatastoreImpl.prepareAttachment(DatastoreImpl.java:1037)
      3. com.cloudant.sync.replication.DatastoreWrapper.prepareAttachment(DatastoreWrapper.java:136)
      4. com.cloudant.sync.replication.PullStrategy.processOneChangesBatch(PullStrategy.java:386)
      5. com.cloudant.sync.replication.PullStrategy.replicate(PullStrategy.java:252)
      6. com.cloudant.sync.replication.PullStrategy.run(PullStrategy.java:177)
      6 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame