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

Francesco Chicchiriccò commented on SYNCOPE-554:
------------------------------------------------

Bug confirmed when using OpenDJ and connector configuration 'Use Blocks' set to 
true.

Workaround: set 'Use Blocks' to false in connector configuration.

> Class Cast Exception when syncronization task starts
> ----------------------------------------------------
>
>                 Key: SYNCOPE-554
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-554
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.0-M1, 1.2.0
>         Environment: OpenDJ with connector configuration 'Use Blocks' set to 
> true
>            Reporter: Giacomo Lamonaco
>             Fix For: 1.2.1, 1.3.0
>
>
> Create an LDAP connector instance based on ConnID and configure it for an 
> external LDAP resource. Create a new resource based on the LDAP connector. 
> Now create a new syncronization task and try to execute it. In my case, i 
> receive this exception:
> 09:43:51.655 ERROR org.apache.syncope.core.quartz.AbstractTaskJob - While 
> executing task 188
> org.quartz.JobExecutionException: While syncing on connector
>       at 
> org.apache.syncope.core.sync.impl.SyncJob.executeWithSecurityContext(SyncJob.java:186)
>  ~[SyncJob.class:?]
>       at 
> org.apache.syncope.core.sync.impl.SyncJob.executeWithSecurityContext(SyncJob.java:56)
>  ~[SyncJob.class:?]
>       at 
> org.apache.syncope.core.sync.impl.AbstractSyncJob.doExecute(AbstractSyncJob.java:338)
>  ~[AbstractSyncJob.class:?]
>       at 
> org.apache.syncope.core.quartz.AbstractTaskJob.execute(AbstractTaskJob.java:125)
>  ~[AbstractTaskJob.class:?]
>       at org.quartz.core.JobRunShell.run(JobRunShell.java:202) 
> ~[quartz-2.2.1.jar:?]
>       at 
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) 
> ~[quartz-2.2.1.jar:?]
> Caused by: java.lang.ClassCastException: java.lang.NoClassDefFoundError 
> cannot be cast to 
> org.identityconnectors.framework.common.objects.ConnectorObject
>       at 
> org.identityconnectors.framework.impl.api.StreamHandlerUtil$ObjectStreamHandlerAdapter.handle(StreamHandlerUtil.java:89)
>  ~[connector-framework-internal-1.4.0.0.jar:?]
>       at 
> org.identityconnectors.framework.impl.api.BufferedResultsProxy.invoke(BufferedResultsProxy.java:255)
>  ~[connector-framework-internal-1.4.0.0.jar:?]
>       at 
> org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:94)
>  ~[connector-framework-internal-1.4.0.0.jar:?]
>       at com.sun.proxy.$Proxy213.search(Unknown Source) ~[?:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to