[Midpoint-dev] none serializable AttributeDelta
Daniel Sommer
daniel.sommer at cognitum-software.com
Wed Apr 15 10:11:37 CEST 2020
Hello,
we have switched to newer version of the evolveum ldap connector. It only supports the newer UpdateDeltaApiOp.
However we are also using the remote ConnectorServer. This results in the exception, that AttributeDelta (param oft he delta op)
cannot be serialized:
org.identityconnectors.framework.common.exceptions.ConnectorException: No serializer for class: class org.identityconnectors.framework.common.objects.AttributeDelta
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeClass(BinaryObjectEncoder.java:171) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeObject(BinaryObjectEncoder.java:115) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeObjectContents(BinaryObjectEncoder.java:425) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.Primitives$26.lambda$serialize$0(Primitives.java:517) ~[connector-framework-internal-1.5.0.0.jar:na]
at java.base/java.lang.Iterable.forEach(Iterable.java:75) ~[na:na]
at org.identityconnectors.framework.impl.serializer.Primitives$26.serialize(Primitives.java:516) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeObject(BinaryObjectEncoder.java:133) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeObjectContents(BinaryObjectEncoder.java:425) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.Primitives$25.lambda$serialize$0(Primitives.java:475) ~[connector-framework-internal-1.5.0.0.jar:na]
at java.base/java.util.ArrayList.forEach(ArrayList.java:1540) ~[na:na]
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1085) ~[na:na]
at org.identityconnectors.framework.impl.serializer.Primitives$25.serialize(Primitives.java:474) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeObject(BinaryObjectEncoder.java:133) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeObjectField(BinaryObjectEncoder.java:432) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.MessageHandlers$3.serialize(MessageHandlers.java:120) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder$InternalEncoder.writeObject(BinaryObjectEncoder.java:133) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.serializer.binary.BinaryObjectEncoder.writeObject(BinaryObjectEncoder.java:317) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.api.remote.RemoteFrameworkConnection.writeObject(RemoteFrameworkConnection.java:148) ~[connector-framework-internal-1.5.0.0.jar:na]
at org.identityconnectors.framework.impl.api.remote.RemoteOperationInvocationHandler.invoke(RemoteOperationInvocationHandler.java:88) ~[connector-framework-internal-1.5.0.0.jar:na]
at com.sun.proxy.$Proxy289.updateDelta(Unknown Source) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(DelegatingTimeoutProxy.java:99) ~[connector-framework-internal-1.5.0.0.jar:na]
at com.sun.proxy.$Proxy289.updateDelta(Unknown Source) ~[na:na]
at org.identityconnectors.framework.impl.api.AbstractConnectorFacade.updateDelta(AbstractConnectorFacade.java:206) ~[connector-framework-internal-1.5.0.0.jar:na]
...
Please help.
Best regards,
Daniel Sommer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolveum.com/pipermail/midpoint-dev/attachments/20200415/ecd308df/attachment.htm>
More information about the midPoint-dev
mailing list