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

Class Cast Exception when syncronization task starts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0-M1, 1.2.0
    • Fix Version/s: 1.2.1, 2.0.0-M1
    • Component/s: core
    • Labels:
      None
    • Environment:
      OpenDJ with connector configuration 'Use Blocks' set to true

      Description

      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) ~[?:?]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ilgrosso Francesco Chicchiriccò
                Reporter:
                giacomolm Giacomo Lamonaco
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: