syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SYNCOPE-1520) Exception when updating Group unique attribute with JPA JSON
Date Mon, 02 Dec 2019 15:18:00 GMT

    [ https://issues.apache.org/jira/browse/SYNCOPE-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986127#comment-16986127
] 

ASF subversion and git services commented on SYNCOPE-1520:
----------------------------------------------------------

Commit 2f621fca20d67375d9cd49f2159aff582ef8da5e in syncope's branch refs/heads/2_1_X from
Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=2f621fc ]

[SYNCOPE-1520] Applying the suggested workaround


> Exception when updating Group unique attribute with JPA JSON
> ------------------------------------------------------------
>
>                 Key: SYNCOPE-1520
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1520
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1.5
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>            Priority: Major
>              Labels: jpa-json
>             Fix For: 2.1.6, 3.0.0
>
>
> When updating a Group's unique attribute, the following exception is logged:
> {code}
> 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/:?]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message