2024-10-01 00:28:40:639 +0000 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework 2024-10-01 00:28:40:642 +0000 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16 2024-10-01 00:28:40:656 +0000 [main] DEBUG io.netty.util.concurrent.GlobalEventExecutor - -Dio.netty.globalEventExecutor.quietPeriodSeconds: 1 2024-10-01 00:28:40:668 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 2024-10-01 00:28:40:668 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 2024-10-01 00:28:40:712 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false 2024-10-01 00:28:40:713 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 21 2024-10-01 00:28:40:714 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available 2024-10-01 00:28:40:715 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe base methods: all available 2024-10-01 00:28:40:715 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available 2024-10-01 00:28:40:716 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available 2024-10-01 00:28:40:717 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled 2024-10-01 00:28:40:717 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true 2024-10-01 00:28:40:718 +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 @4b013c76 2024-10-01 00:28:40:719 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.(long, {int,long}): unavailable 2024-10-01 00:28:40:719 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available 2024-10-01 00:28:40:720 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 2024-10-01 00:28:40:720 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model) 2024-10-01 00:28:40:723 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes 2024-10-01 00:28:40:723 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1 2024-10-01 00:28:40:725 +0000 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available 2024-10-01 00:28:40:725 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false 2024-10-01 00:28:40:727 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false 2024-10-01 00:28:40:727 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512 2024-10-01 00:28:40:760 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available 2024-10-01 00:28:40:844 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.processId: 51642 (auto-detected) 2024-10-01 00:28:40:852 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false 2024-10-01 00:28:40:852 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false 2024-10-01 00:28:40:855 +0000 [main] DEBUG io.netty.util.NetUtilInitializations - Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) 2024-10-01 00:28:40:856 +0000 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 4096 2024-10-01 00:28:40:857 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 02:42:4e:ff:fe:76:b4:20 (auto-detected) 2024-10-01 00:28:40:884 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple 2024-10-01 00:28:40:884 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4 2024-10-01 00:28:40:927 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 16 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 16 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 9 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 4194304 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192 2024-10-01 00:28:40:928 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimIntervalMillis: 0 2024-10-01 00:28:40:929 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: false 2024-10-01 00:28:40:929 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 2024-10-01 00:28:40:929 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.disableCacheFinalizersForFastThreadLocalThreads: false 2024-10-01 00:28:40:944 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled 2024-10-01 00:28:40:944 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 0 2024-10-01 00:28:40:944 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384 2024-10-01 00:28:40:946 +0000 [main] DEBUG io.netty.bootstrap.ChannelInitializerExtensions - -Dio.netty.bootstrap.extensions: null 2024-10-01 00:28:40:977 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:49505 2024-10-01 00:28:40:977 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@2003311844 2024-10-01 00:28:41:014 +0000 [nioEventLoopGroup-2-2] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xc007a1bd, L:/127.0.0.1:35762 - R:/127.0.0.1:49505]]@2003311844 2024-10-01 00:28:41:042 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: 4096 2024-10-01 00:28:41:042 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8 2024-10-01 00:28:41:042 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.chunkSize: 32 2024-10-01 00:28:41:042 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.blocking: false 2024-10-01 00:28:41:043 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.batchFastThreadLocalOnly: true 2024-10-01 00:28:41:054 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkAccessible: true 2024-10-01 00:28:41:054 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkBounds: true 2024-10-01 00:28:41:055 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@1a511000 2024-10-01 00:28:41:273 +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-01 00:28:41:282 +0000 [defaultEventExecutorGroup-3-2] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-10-01 00:28:41:284 +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-01 00:28:41:297 +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-01 00:28:41:298 +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:994) 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:1583) 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:153) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:552) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:505) at com.google.gson.Gson.fromJson(Gson.java:1361) at com.google.gson.Gson.fromJson(Gson.java:1262) at com.google.gson.Gson.fromJson(Gson.java:1171) at com.google.gson.Gson.fromJson(Gson.java:1137) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:114) ... 18 more 2024-10-01 00:28:41:299 +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-01 00:28:41:302 +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-01 00:28:41:307 +0000 [defaultEventExecutorGroup-3-1] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0xc007a1bd, L:/127.0.0.1:35762 - R:/127.0.0.1:49505] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-10-01 00:28:41:307 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-10-01 00:28:41:308 +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:49505, sessionType=REQ, hashCode=2003311844] 2024-10-01 00:28:41:312 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xc007a1bd, L:/127.0.0.1:35762 - R:/127.0.0.1:49505]]@2003311844 2024-10-01 00:28:41:319 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:49505@280397810] 2024-10-01 00:28:41:333 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:45619 2024-10-01 00:28:41:333 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@210278405 2024-10-01 00:28:41:338 +0000 [nioEventLoopGroup-2-5] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x966cc8ac, L:/127.0.0.1:55724 - R:/127.0.0.1:45619]]@210278405 2024-10-01 00:28:41:438 +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-01 00:28:41:440 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-10-01 00:28:41:440 +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-01 00:28:41:442 +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-01 00:28:41:443 +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:994) 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:1583) 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:153) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:552) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:505) at com.google.gson.Gson.fromJson(Gson.java:1361) at com.google.gson.Gson.fromJson(Gson.java:1262) at com.google.gson.Gson.fromJson(Gson.java:1171) at com.google.gson.Gson.fromJson(Gson.java:1137) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:114) ... 18 more 2024-10-01 00:28:41:445 +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-01 00:28:41:446 +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-01 00:28:41:448 +0000 [defaultEventExecutorGroup-3-3] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x966cc8ac, L:/127.0.0.1:55724 - R:/127.0.0.1:45619] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-10-01 00:28:41:448 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-10-01 00:28:41:449 +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:45619, sessionType=REQ, hashCode=210278405] 2024-10-01 00:28:41:449 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x966cc8ac, L:/127.0.0.1:55724 - R:/127.0.0.1:45619]]@210278405 2024-10-01 00:28:41:449 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:45619@132065521] 2024-10-01 00:28:41:454 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:47447 2024-10-01 00:28:41:454 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1365611185 2024-10-01 00:28:41:456 +0000 [nioEventLoopGroup-2-8] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x08be4003, L:/127.0.0.1:35122 - R:/127.0.0.1:47447]]@1365611185 2024-10-01 00:28:41:555 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-10-01 00:28:41:556 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-10-01 00:28:41:557 +0000 [defaultEventExecutorGroup-3-6] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-10-01 00:28:41:559 +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-01 00:28:41:559 +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:994) 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:1583) 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:153) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:552) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:505) at com.google.gson.Gson.fromJson(Gson.java:1361) at com.google.gson.Gson.fromJson(Gson.java:1262) at com.google.gson.Gson.fromJson(Gson.java:1171) at com.google.gson.Gson.fromJson(Gson.java:1137) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:114) ... 18 more 2024-10-01 00:28:41:560 +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-01 00:28:41:560 +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.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) at java.base/java.lang.reflect.Method.invoke(Method.java:580) 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:994) 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:1583) Caused by: java.lang.IllegalArgumentException at org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(ObjectParameterTest.java:39) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 17 more 2024-10-01 00:28:41:564 +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.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) at java.base/java.lang.reflect.Method.invoke(Method.java:580) 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:994) 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:1583) Caused by: java.lang.IllegalArgumentException at org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(ObjectParameterTest.java:39) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 17 more 2024-10-01 00:28:41:569 +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-01 00:28:41:570 +0000 [defaultEventExecutorGroup-3-5] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x08be4003, L:/127.0.0.1:35122 - R:/127.0.0.1:47447] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Internal error"}} 2024-10-01 00:28:41:571 +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:47447, sessionType=REQ, hashCode=1365611185] 2024-10-01 00:28:41:571 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x08be4003, L:/127.0.0.1:35122 - R:/127.0.0.1:47447]]@1365611185 2024-10-01 00:28:41:571 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:47447@966567431]