[
https://issues.apache.org/jira/browse/SYNCOPE-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660303#comment-16660303
]
ASF GitHub Bot commented on SYNCOPE-1387:
-----------------------------------------
GitHub user AlexTsvetkov opened a pull request:
https://github.com/apache/syncope/pull/84
SYNCOPE-1387 fix class cast exception, remove redundant actions call
https://issues.apache.org/jira/browse/SYNCOPE-1387
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/AlexTsvetkov/syncope 2_0_X
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/syncope/pull/84.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #84
----
commit 48e2d25793cab40592c98efe84e1290f6f2e2a4c
Author: Alexander Tsvetkov <alexander.tsvetkov@...>
Date: 2018-10-23T08:59:18Z
SYNCOPE-1387 fix class cast exception, remove redundant actions call
----
> ClassCast exception when pull realms
> ------------------------------------
>
> Key: SYNCOPE-1387
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1387
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.8
> Reporter: Alexander Tsvetkov
> Priority: Major
> Fix For: 2.0.11, 2.1.2, 3.0.0
>
>
> I create pull task to import realms from Active Directory (AD)
> Pull task has Matching rule: LINK
>
> {code:java}
> 14:49:18.473 ERROR
> org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler -
> Could not update Realm MYOU1
> java.lang.ClassCastException: Cannot cast java.util.ArrayList to
> org.apache.syncope.common.lib.to.RealmTO
> at java.lang.Class.cast(Class.java:3369) ~[?:1.8.0_72]
> at
> org.apache.syncope.core.provisioning.java.pushpull.DefaultRealmPullResultHandler.link(DefaultRealmPullResultHandler.java:515)
> ~[syncope-core-provisioning-java-2.0.8.jar:2.0.8]
> at
> org.apache.syncope.core.provisioning.java.pushpull.DefaultRealmPullResultHandler.doHandle(DefaultRealmPullResultHandler.java:742)
> ~[syncope-core-provisioning-java-2.0.8.jar:2.0.8]
> at
> org.apache.syncope.core.provisioning.java.pushpull.DefaultRealmPullResultHandler.handle(DefaultRealmPullResultHandler.java:91)
> ~[syncope-core-provisioning-java-2.0.8.jar:2.0.8]
> at sun.reflect.GeneratedMethodAccessor845.invoke(Unknown Source) ~[?:?]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_72]
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)