2024-09-25 00:49:17:746 +0000 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework 2024-09-25 00:49:17:750 +0000 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16 2024-09-25 00:49:17:764 +0000 [main] DEBUG io.netty.util.concurrent.GlobalEventExecutor - -Dio.netty.globalEventExecutor.quietPeriodSeconds: 1 2024-09-25 00:49:17:776 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 2024-09-25 00:49:17:776 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 2024-09-25 00:49:17:823 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false 2024-09-25 00:49:17:823 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 17 2024-09-25 00:49:17:824 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available 2024-09-25 00:49:17:825 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available 2024-09-25 00:49:17:825 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available 2024-09-25 00:49:17:826 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available 2024-09-25 00:49:17:826 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled 2024-09-25 00:49:17:827 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true 2024-09-25 00:49:17:828 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable: class io.netty.util.internal.PlatformDependent0$7 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @1ca3b418 2024-09-25 00:49:17:829 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.(long, {int,long}): unavailable 2024-09-25 00:49:17:829 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available 2024-09-25 00:49:17:830 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 2024-09-25 00:49:17:830 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model) 2024-09-25 00:49:17:833 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes 2024-09-25 00:49:17:833 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1 2024-09-25 00:49:17:834 +0000 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available 2024-09-25 00:49:17:835 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false 2024-09-25 00:49:17:837 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false 2024-09-25 00:49:17:837 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512 2024-09-25 00:49:17:871 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available 2024-09-25 00:49:17:945 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.processId: 52301 (auto-detected) 2024-09-25 00:49:17:954 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false 2024-09-25 00:49:17:954 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false 2024-09-25 00:49:17:957 +0000 [main] DEBUG io.netty.util.NetUtilInitializations - Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) 2024-09-25 00:49:17:958 +0000 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 4096 2024-09-25 00:49:17:959 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 02:42:4a:ff:fe:57:e3:df (auto-detected) 2024-09-25 00:49:17:976 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple 2024-09-25 00:49:17:977 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4 2024-09-25 00:49:18:015 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 16 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 16 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 9 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 4194304 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192 2024-09-25 00:49:18:016 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimIntervalMillis: 0 2024-09-25 00:49:18:017 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: false 2024-09-25 00:49:18:017 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 2024-09-25 00:49:18:037 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled 2024-09-25 00:49:18:037 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 0 2024-09-25 00:49:18:037 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384 2024-09-25 00:49:18:039 +0000 [main] DEBUG io.netty.bootstrap.ChannelInitializerExtensions - -Dio.netty.bootstrap.extensions: null 2024-09-25 00:49:18:079 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:43079 2024-09-25 00:49:18:079 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@812609309 2024-09-25 00:49:18:118 +0000 [nioEventLoopGroup-2-2] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x7b990810, L:/127.0.0.1:35388 - R:/127.0.0.1:43079]]@812609309 2024-09-25 00:49:18:147 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: 4096 2024-09-25 00:49:18:147 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8 2024-09-25 00:49:18:147 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.chunkSize: 32 2024-09-25 00:49:18:147 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.blocking: false 2024-09-25 00:49:18:148 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.batchFastThreadLocalOnly: true 2024-09-25 00:49:18:161 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkAccessible: true 2024-09-25 00:49:18:161 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkBounds: true 2024-09-25 00:49:18:162 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@355afc75 2024-09-25 00:49:18:380 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"propertyA":10,"propertyB":45334.785,"propertyC":"TEST","propertyD":{"propertyD":"TEST2"}}} 2024-09-25 00:49:18:392 +0000 [defaultEventExecutorGroup-3-2] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-09-25 00:49:18:395 +0000 [defaultEventExecutorGroup-3-2] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"propertyA":10,"propertyB":45334.785,"propertyC":"TEST","propertyD":{"propertyD":"TEST2"}}} 2024-09-25 00:49:18:408 +0000 [defaultEventExecutorGroup-3-2] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public int org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject)] 2024-09-25 00:49:18:409 +0000 [defaultEventExecutorGroup-3-2] DEBUG org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate - Unable to extract arguments for method org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcException: com.google.gson.JsonIOException: Interfaces can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Interface name: org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:116) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseRequestMessage.getParamsAtIndexAsObject(JsonRpcBaseRequestMessage.java:72) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.getArgumentsForMethod(MethodCandidate.java:51) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.invoke(MethodCandidate.java:66) at org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter.invokeHandler(AbstractProxyHandlerAdapter.java:87) at org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter.handleRequest(ResponderHandlerAdapter.java:48) at org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl.onMessage(ResponderSessionImpl.java:52) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:54) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:27) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: com.google.gson.JsonIOException: Interfaces can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Interface name: org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject at com.google.gson.internal.ConstructorConstructor$3.construct(ConstructorConstructor.java:136) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:427) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:383) at com.google.gson.Gson.fromJson(Gson.java:1227) at com.google.gson.Gson.fromJson(Gson.java:1137) at com.google.gson.Gson.fromJson(Gson.java:1047) at com.google.gson.Gson.fromJson(Gson.java:1014) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:114) ... 18 more 2024-09-25 00:49:18:411 +0000 [defaultEventExecutorGroup-3-2] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public java.lang.String org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(org.opendaylight.jsonrpc.bus.messagelib.InputObject)] 2024-09-25 00:49:18:412 +0000 [defaultEventExecutorGroup-3-2] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-09-25 00:49:18:416 +0000 [defaultEventExecutorGroup-3-1] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x7b990810, L:/127.0.0.1:35388 - R:/127.0.0.1:43079] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-09-25 00:49:18:417 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-09-25 00:49:18:417 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=zmq://127.0.0.1:43079, sessionType=REQ, hashCode=812609309] 2024-09-25 00:49:18:422 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x7b990810, L:/127.0.0.1:35388 - R:/127.0.0.1:43079]]@812609309 2024-09-25 00:49:18:427 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:43079@1899938605] 2024-09-25 00:49:18:440 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:41533 2024-09-25 00:49:18:440 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1916269505 2024-09-25 00:49:18:443 +0000 [nioEventLoopGroup-2-5] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xe9c7ae4e, L:/127.0.0.1:40720 - R:/127.0.0.1:41533]]@1916269505 2024-09-25 00:49:18:545 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"propertyA":10,"propertyB":45334.785,"propertyC":"TEST","propertyD":{"propertyD":"TEST2"}}} 2024-09-25 00:49:18:547 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-09-25 00:49:18:547 +0000 [defaultEventExecutorGroup-3-4] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"propertyA":10,"propertyB":45334.785,"propertyC":"TEST","propertyD":{"propertyD":"TEST2"}}} 2024-09-25 00:49:18:550 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public int org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject)] 2024-09-25 00:49:18:551 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate - Unable to extract arguments for method org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcException: com.google.gson.JsonIOException: Interfaces can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Interface name: org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:116) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseRequestMessage.getParamsAtIndexAsObject(JsonRpcBaseRequestMessage.java:72) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.getArgumentsForMethod(MethodCandidate.java:51) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.invoke(MethodCandidate.java:66) at org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter.invokeHandler(AbstractProxyHandlerAdapter.java:87) at org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter.handleRequest(ResponderHandlerAdapter.java:48) at org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl.onMessage(ResponderSessionImpl.java:52) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:54) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:27) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: com.google.gson.JsonIOException: Interfaces can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Interface name: org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject at com.google.gson.internal.ConstructorConstructor$3.construct(ConstructorConstructor.java:136) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:427) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:383) at com.google.gson.Gson.fromJson(Gson.java:1227) at com.google.gson.Gson.fromJson(Gson.java:1137) at com.google.gson.Gson.fromJson(Gson.java:1047) at com.google.gson.Gson.fromJson(Gson.java:1014) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:114) ... 18 more 2024-09-25 00:49:18:553 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public java.lang.String org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(org.opendaylight.jsonrpc.bus.messagelib.InputObject)] 2024-09-25 00:49:18:554 +0000 [defaultEventExecutorGroup-3-4] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-09-25 00:49:18:557 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-09-25 00:49:18:557 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=zmq://127.0.0.1:41533, sessionType=REQ, hashCode=1916269505] 2024-09-25 00:49:18:557 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xe9c7ae4e, L:/127.0.0.1:40720 - R:/127.0.0.1:41533]]@1916269505 2024-09-25 00:49:18:557 +0000 [defaultEventExecutorGroup-3-3] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0xe9c7ae4e, L:/127.0.0.1:40720 - R:/127.0.0.1:41533] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-09-25 00:49:18:558 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:41533@70482685] 2024-09-25 00:49:18:563 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:53925 2024-09-25 00:49:18:563 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1322623408 2024-09-25 00:49:18:566 +0000 [nioEventLoopGroup-2-8] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x260af0c6, L:/127.0.0.1:33960 - R:/127.0.0.1:53925]]@1322623408 2024-09-25 00:49:18:664 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-09-25 00:49:18:666 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-09-25 00:49:18:666 +0000 [defaultEventExecutorGroup-3-6] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-09-25 00:49:18:669 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public int org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject)] 2024-09-25 00:49:18:669 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate - Unable to extract arguments for method org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcException: com.google.gson.JsonIOException: Interfaces can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Interface name: org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:116) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseRequestMessage.getParamsAtIndexAsObject(JsonRpcBaseRequestMessage.java:72) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.getArgumentsForMethod(MethodCandidate.java:51) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.invoke(MethodCandidate.java:66) at org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter.invokeHandler(AbstractProxyHandlerAdapter.java:87) at org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter.handleRequest(ResponderHandlerAdapter.java:48) at org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl.onMessage(ResponderSessionImpl.java:52) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:54) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:27) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: com.google.gson.JsonIOException: Interfaces can't be instantiated! Register an InstanceCreator or a TypeAdapter for this type. Interface name: org.opendaylight.jsonrpc.bus.messagelib.UninstantiableObject at com.google.gson.internal.ConstructorConstructor$3.construct(ConstructorConstructor.java:136) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:427) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:383) at com.google.gson.Gson.fromJson(Gson.java:1227) at com.google.gson.Gson.fromJson(Gson.java:1137) at com.google.gson.Gson.fromJson(Gson.java:1047) at com.google.gson.Gson.fromJson(Gson.java:1014) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:114) ... 18 more 2024-09-25 00:49:18:672 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public java.lang.String org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(org.opendaylight.jsonrpc.bus.messagelib.InputObject)] 2024-09-25 00:49:18:672 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate - Invocation of method candidate 'translate' failed java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.invoke(MethodCandidate.java:77) at org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter.invokeHandler(AbstractProxyHandlerAdapter.java:87) at org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter.handleRequest(ResponderHandlerAdapter.java:48) at org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl.onMessage(ResponderSessionImpl.java:52) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:54) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:27) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.IllegalArgumentException at org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(ObjectParameterTest.java:39) ... 20 more 2024-09-25 00:49:18:676 +0000 [defaultEventExecutorGroup-3-6] ERROR org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter - Error while executing method: translate java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate.invoke(MethodCandidate.java:77) at org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter.invokeHandler(AbstractProxyHandlerAdapter.java:87) at org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter.handleRequest(ResponderHandlerAdapter.java:48) at org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl.onMessage(ResponderSessionImpl.java:52) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:54) at org.opendaylight.jsonrpc.bus.zmq.ServerHandler.channelRead0(ServerHandler.java:27) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:61) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:425) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173) at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.IllegalArgumentException at org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(ObjectParameterTest.java:39) ... 20 more 2024-09-25 00:49:18:679 +0000 [defaultEventExecutorGroup-3-6] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Internal error"}} 2024-09-25 00:49:18:681 +0000 [defaultEventExecutorGroup-3-5] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x260af0c6, L:/127.0.0.1:33960 - R:/127.0.0.1:53925] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Internal error"}} 2024-09-25 00:49:18:681 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=zmq://127.0.0.1:53925, sessionType=REQ, hashCode=1322623408] 2024-09-25 00:49:18:682 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x260af0c6, L:/127.0.0.1:33960 - R:/127.0.0.1:53925]]@1322623408 2024-09-25 00:49:18:682 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:53925@581770158]