javax.jcr.InvalidItemStateException: Unable to update a stale item: item.save()

Stack Overflow | Sri | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    javax.jcr.InvalidItemStateException: Item cannot be saved

    Stack Overflow | 9 months ago | Sri
    javax.jcr.InvalidItemStateException: Unable to update a stale item: item.save()

    Root Cause Analysis

    1. org.apache.jackrabbit.core.state.StaleItemStateException

      3bec1cb7-9276-4bed-a24e-0f41bb3cf5b7/{}ssn has been modified externally

      at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin()
    2. Jackrabbit Core
      ItemSaveOperation.perform
      1. org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:679)
      2. org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:1507)
      3. org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1537)
      4. org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:400)
      5. org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:354)
      6. org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:375)
      7. org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:275)
      8. org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:258)
      8 frames