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

Exception during "getObject" from external resource

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.10, 2.1.1
    • Fix Version/s: 2.0.11, 2.1.2, 3.0.0
    • Component/s: core
    • Labels:
      None

      Description

      Exception is raised performing getObject from resource.

       

      09:06:18.573 ERROR org.apache.syncope.core.provisioning.java.ConnectorFacadeProxy - Connector request execution failure
      java.util.concurrent.ExecutionException: java.lang.ClassCastException: org.apache.syncope.core.provisioning.java.AsyncConnectorFacade$1 cannot be cast to org.identityconnectors.framework.spi.SearchResultsHandler
          at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_141]
          at java.util.concurrent.FutureTask.get(FutureTask.java:206) ~[?:1.8.0_141]
          at org.apache.syncope.core.provisioning.java.ConnectorFacadeProxy.getObject(ConnectorFacadeProxy.java:417) ~[syncope-core-provisioning-java-2.0.10.jar:?]
          at org.apache.syncope.core.provisioning.java.propagation.AbstractPropagationTaskExecutor.getRemoteObject(AbstractPropagationTaskExecutor.java:641) ~[syncope-core-provisioning-java-2.0.10.jar:2.0.10]
          at org.apache.syncope.core.provisioning.java.propagation.AbstractPropagationTaskExecutor.execute(AbstractPropagationTaskExecutor.java:421) ~[syncope-core-provisioning-java-2.0.10.jar:2.0.10]
          at org.apache.syncope.core.provisioning.java.propagation.DefaultPropagationTaskCallable.call(DefaultPropagationTaskCallable.java:89) ~[syncope-core-provisioning-java-2.0.10.jar:2.0.10]
          at org.apache.syncope.core.provisioning.java.propagation.DefaultPropagationTaskCallable.call(DefaultPropagationTaskCallable.java:38) ~[syncope-core-provisioning-java-2.0.10.jar:2.0.10]
          at sun.reflect.GeneratedMethodAccessor888.invoke(Unknown Source) ~[?:?]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141]
          at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141]
          at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) ~[spring-tx-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.apache.syncope.core.persistence.jpa.spring.DomainTransactionInterceptor.invoke(DomainTransactionInterceptor.java:64) ~[syncope-core-persistence-jpa-2.0.10.jar:2.0.10]
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at com.sun.proxy.$Proxy603.call(Unknown Source) ~[?:?]
          at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_141]
          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_141]
          at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_141]
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_141]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_141]
          at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
      Caused by: java.lang.ClassCastException: org.apache.syncope.core.provisioning.java.AsyncConnectorFacade$1 cannot be cast to org.identityconnectors.framework.spi.SearchResultsHandler
          at org.identityconnectors.framework.impl.api.StreamHandlerUtil$ObjectStreamHandlerAdapter.handle(StreamHandlerUtil.java:103) ~[connector-framework-internal-1.4.4.0.jar:?]
          at org.identityconnectors.framework.impl.api.BufferedResultsProxy.invoke(BufferedResultsProxy.java:262) ~[connector-framework-internal-1.4.4.0.jar:?]
          at org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:94) ~[connector-framework-internal-1.4.4.0.jar:?]
          at com.sun.proxy.$Proxy602.search(Unknown Source) ~[?:?]
          at org.identityconnectors.framework.impl.api.AbstractConnectorFacade.search(AbstractConnectorFacade.java:179) ~[connector-framework-internal-1.4.4.0.jar:?]
          at org.apache.syncope.core.provisioning.java.AsyncConnectorFacade.getObject(AsyncConnectorFacade.java:107) ~[syncope-core-provisioning-java-2.0.10.jar:?]
          at org.apache.syncope.core.provisioning.java.AsyncConnectorFacade$$FastClassBySpringCGLIB$$886ae36a.invoke(<generated>) ~[syncope-core-provisioning-java-2.0.10.jar:?]
          at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:115) ~[spring-aop-4.3.18.RELEASE.jar:4.3.18.RELEASE]
          ... 4 more

        Attachments

          Activity

            People

            • Assignee:
              fmartelli fabio martelli
              Reporter:
              fmartelli fabio martelli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: