Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1520

Exception when updating Group unique attribute with JPA JSON

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.5
    • Fix Version/s: 2.1.6, 3.0.0
    • Component/s: core
    • Labels:

      Description

      When updating a Group's unique attribute, the following exception is logged:

      java.util.ConcurrentModificationException: null
              at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1388) ~[?:1.8.0_232]
              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_232]
              at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_232]
              at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:1.8.0_232]
              at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:1.8.0_232]
              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_232]
              at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485) ~[?:1.8.0_232]
              at org.apache.syncope.core.persistence.jpa.dao.AbstractJPAJSONAnyDAO.checkBeforeSave(AbstractJPAJSONAnyDAO.java:317) ~[dao/:?]
              at org.apache.syncope.core.persistence.jpa.dao.PGJPAJSONAnyDAO.checkBeforeSave(PGJPAJSONAnyDAO.java:37) ~[dao/:?]
      

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: