Opendaylight(Nitrogen SR3)中的DataObject(LazyDataObject)的序列化/序列化问题

时间:2019-07-23 18:45:20

标签: opendaylight sdn

MyBase.Channel

## {原因:java.io.NotSerializableException:org.opendaylight.yangtools.binding.data.codec.impl.LazyDataObject                 在java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)                 在java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)                 在java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)                 在java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)** strong text 在java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)                 在java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)                 com.hazelcast.internal.serialization.impl.JavaDefaultSerializers $ JavaSerializer.write(JavaDefaultSerializers.java:114)**

i am getting serialization exception while retrieving opendaylight operational datastore information from remote VM to local VM using Hazelcast remote operation.

java.util.concurrent.ExecutionException: com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to serialize 'com.sun.proxy.$Proxy184'
        at com.hazelcast.spi.impl.operationservice.impl.InvocationFuture.resolveAndThrowIfException(InvocationFuture.java:92)
        at com.hazelcast.spi.impl.AbstractInvocationFuture.get(AbstractInvocationFuture.java:162)
        at com.hazelcast.util.executor.DelegatingFuture.get(DelegatingFuture.java:83)
        at com.fujitsu.fnc.apporchestrator.requestrouter.impl.MDSALRequestRouterImpl.getAllNodes(MDSALRequestRouterImpl.java:501)
        at com.fujitsu.fnc.apporchestrator.requestrouter.impl.RequestRouterOsgiCmd.doExecute(RequestRouterOsgiCmd.java:152)
        at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:34)
        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)



**

0 个答案:

没有答案