Forum Discussion

csaxena88's avatar
csaxena88
New Contributor
7 years ago

Router and Copy giving error - Failed to make copy

I am getting this error with Copy and Router . Support has not responded yet, thought will ask here and see if someone else had the same issue and if any resolutions

Failed to make copy, detail: null, java.util.ConcurrentModificationException

Resolution:

Please check if all objects in the document hierarchy are serializable. <a href=“Serialization - Wikipedia”>Click here</a> for more information on serialization.

Reason:

Failed to make copy, detail: null, java.util.ConcurrentModificationException

6 Replies

  • deepaks's avatar
    deepaks
    New Contributor

    Hi Friend,

    I am facing the same issue, Do you get any solution/workaround for this issue.

    Thanks,
    Deepak

  • winosky's avatar
    winosky
    New Contributor III

    Same, I’m running into the same problem and getting a deep copy error.

    • Supratim's avatar
      Supratim
      Contributor III

      @winosky I am not 100% sure about your data set , but is somehow any of the element you copied is an array and you using json split of that array in any of the output of copy snap?

      You can try that option - use group by N snap and make size as 0 for both the output view of copy, then use json splitter (data_set array) to get all required data you want after copy snap.

      • winosky's avatar
        winosky
        New Contributor III

        Hi @Supratim, it’s a copy of json from a execute snap into a aggregate. I believe the aggregate may be the problem, I’ve read it was resource intensive so I need to find an alternate solution.