2024-10-10 00:47:05:321 +0000 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework 2024-10-10 00:47:05:325 +0000 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16 2024-10-10 00:47:05:339 +0000 [main] DEBUG io.netty.util.concurrent.GlobalEventExecutor - -Dio.netty.globalEventExecutor.quietPeriodSeconds: 1 2024-10-10 00:47:05:351 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 2024-10-10 00:47:05:351 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 2024-10-10 00:47:05:390 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false 2024-10-10 00:47:05:391 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 17 2024-10-10 00:47:05:392 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available 2024-10-10 00:47:05:392 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available 2024-10-10 00:47:05:393 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available 2024-10-10 00:47:05:393 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available 2024-10-10 00:47:05:394 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled 2024-10-10 00:47:05:394 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true 2024-10-10 00:47:05:395 +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-10-10 00:47:05:396 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.(long, {int,long}): unavailable 2024-10-10 00:47:05:396 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available 2024-10-10 00:47:05:397 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 2024-10-10 00:47:05:397 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model) 2024-10-10 00:47:05:399 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes 2024-10-10 00:47:05:399 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1 2024-10-10 00:47:05:400 +0000 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available 2024-10-10 00:47:05:401 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false 2024-10-10 00:47:05:403 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false 2024-10-10 00:47:05:403 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512 2024-10-10 00:47:05:424 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available 2024-10-10 00:47:05:494 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.processId: 51960 (auto-detected) 2024-10-10 00:47:05:502 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false 2024-10-10 00:47:05:502 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false 2024-10-10 00:47:05:504 +0000 [main] DEBUG io.netty.util.NetUtilInitializations - Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) 2024-10-10 00:47:05:505 +0000 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 4096 2024-10-10 00:47:05:506 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 02:42:1a:ff:fe:61:ca:bb (auto-detected) 2024-10-10 00:47:05:522 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple 2024-10-10 00:47:05:522 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4 2024-10-10 00:47:05:563 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 16 2024-10-10 00:47:05:563 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 16 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 9 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 4194304 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimIntervalMillis: 0 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: false 2024-10-10 00:47:05:564 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 2024-10-10 00:47:05:580 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled 2024-10-10 00:47:05:580 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 0 2024-10-10 00:47:05:581 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384 2024-10-10 00:47:05:582 +0000 [main] DEBUG io.netty.bootstrap.ChannelInitializerExtensions - -Dio.netty.bootstrap.extensions: null 2024-10-10 00:47:05:615 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:37919 2024-10-10 00:47:05:616 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@812609309 2024-10-10 00:47:05:653 +0000 [nioEventLoopGroup-2-2] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xdb309048, L:/127.0.0.1:41294 - R:/127.0.0.1:37919]]@812609309 2024-10-10 00:47:05:682 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: 4096 2024-10-10 00:47:05:682 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8 2024-10-10 00:47:05:683 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.chunkSize: 32 2024-10-10 00:47:05:683 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.blocking: false 2024-10-10 00:47:05:683 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.batchFastThreadLocalOnly: true 2024-10-10 00:47:05:696 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkAccessible: true 2024-10-10 00:47:05:696 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkBounds: true 2024-10-10 00:47:05:697 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@355afc75 2024-10-10 00:47:05:912 +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-10-10 00:47:05:923 +0000 [defaultEventExecutorGroup-3-2] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-10-10 00:47:05:928 +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-10-10 00:47:05:939 +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-10-10 00:47:05:940 +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-10-10 00:47:05:942 +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-10-10 00:47:05:943 +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-10-10 00:47:05:947 +0000 [defaultEventExecutorGroup-3-1] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0xdb309048, L:/127.0.0.1:41294 - R:/127.0.0.1:37919] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-10-10 00:47:05:948 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-10-10 00:47:05:948 +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:37919, sessionType=REQ, hashCode=812609309] 2024-10-10 00:47:05:958 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xdb309048, L:/127.0.0.1:41294 - R:/127.0.0.1:37919]]@812609309 2024-10-10 00:47:05:964 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:37919@1899938605] 2024-10-10 00:47:05:978 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:49335 2024-10-10 00:47:05:978 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1916269505 2024-10-10 00:47:05:981 +0000 [nioEventLoopGroup-2-5] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x5b60edd3, L:/127.0.0.1:42042 - R:/127.0.0.1:49335]]@1916269505 2024-10-10 00:47:06:083 +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-10-10 00:47:06:085 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-10-10 00:47:06:085 +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-10-10 00:47:06:088 +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-10-10 00:47:06:088 +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-10-10 00:47:06:090 +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-10-10 00:47:06:091 +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-10-10 00:47:06:093 +0000 [defaultEventExecutorGroup-3-3] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x5b60edd3, L:/127.0.0.1:42042 - R:/127.0.0.1:49335] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-10-10 00:47:06:093 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-10-10 00:47:06:093 +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:49335, sessionType=REQ, hashCode=1916269505] 2024-10-10 00:47:06:094 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x5b60edd3, L:/127.0.0.1:42042 - R:/127.0.0.1:49335]]@1916269505 2024-10-10 00:47:06:094 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:49335@70482685] 2024-10-10 00:47:06:099 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:52371 2024-10-10 00:47:06:099 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1322623408 2024-10-10 00:47:06:101 +0000 [nioEventLoopGroup-2-8] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xf1001db2, L:/127.0.0.1:52428 - R:/127.0.0.1:52371]]@1322623408 2024-10-10 00:47:06:200 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-10-10 00:47:06:207 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-10-10 00:47:06:208 +0000 [defaultEventExecutorGroup-3-6] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-10-10 00:47:06:210 +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-10-10 00:47:06:210 +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-10-10 00:47:06:212 +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-10-10 00:47:06:213 +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-10-10 00:47:06:218 +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-10-10 00:47:06:221 +0000 [defaultEventExecutorGroup-3-6] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Internal error"}} 2024-10-10 00:47:06:223 +0000 [defaultEventExecutorGroup-3-5] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0xf1001db2, L:/127.0.0.1:52428 - R:/127.0.0.1:52371] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Internal error"}} 2024-10-10 00:47:06:223 +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:52371, sessionType=REQ, hashCode=1322623408] 2024-10-10 00:47:06:223 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xf1001db2, L:/127.0.0.1:52428 - R:/127.0.0.1:52371]]@1322623408 2024-10-10 00:47:06:224 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:52371@581770158]