syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYNCOPE-1387) ClassCast exception when pull realms
Date Tue, 23 Oct 2018 12:31:00 GMT

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

ASF GitHub Bot commented on SYNCOPE-1387:
-----------------------------------------

Github user ilgrosso commented on the issue:

    https://github.com/apache/syncope/pull/85
  
    @AlexTsvetkov I have reviewed the code in `DefaultRealmPullResultHandler` and found that
you were right about removing the additional `after()` calls - as proposed in #84 .
    
    This because the `link()` method eventually calls `update()` - thus I have tried to clean
up a bit the call hierarchy in 5e854e117594da3a1ba78c0af8d53d89a66a9c5a
    
    Please close this PR as well, sorry for the noise; at least, now the issue should be fixed.
    
    For future contributions, please submit an [ICLA](http://syncope.apache.org/contributing#How_do_I_become_a_contributor_or_a_committer.3F),
thanks.


> 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
>            Assignee: Francesco Chicchiriccò
>            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)

Mime
View raw message