2024-11-09 01:01:14:619 +0000 [main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework 2024-11-09 01:01:14:623 +0000 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16 2024-11-09 01:01:14:637 +0000 [main] DEBUG io.netty.util.concurrent.GlobalEventExecutor - -Dio.netty.globalEventExecutor.quietPeriodSeconds: 1 2024-11-09 01:01:14:649 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 2024-11-09 01:01:14:649 +0000 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 2024-11-09 01:01:14:694 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false 2024-11-09 01:01:14:695 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 17 2024-11-09 01:01:14:696 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available 2024-11-09 01:01:14:696 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe base methods: all available 2024-11-09 01:01:14:697 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.storeFence: available 2024-11-09 01:01:14:697 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available 2024-11-09 01:01:14:698 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable: Reflective setAccessible(true) disabled 2024-11-09 01:01:14:699 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: available, true 2024-11-09 01:01:14:700 +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 @8519cb4 2024-11-09 01:01:14:701 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.(long, {int,long}): unavailable 2024-11-09 01:01:14:701 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available 2024-11-09 01:01:14:701 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /tmp (java.io.tmpdir) 2024-11-09 01:01:14:701 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model) 2024-11-09 01:01:14:704 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes 2024-11-09 01:01:14:704 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1 2024-11-09 01:01:14:706 +0000 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available 2024-11-09 01:01:14:706 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false 2024-11-09 01:01:14:708 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false 2024-11-09 01:01:14:708 +0000 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512 2024-11-09 01:01:14:742 +0000 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available 2024-11-09 01:01:14:822 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.processId: 51766 (auto-detected) 2024-11-09 01:01:14:830 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv4Stack: false 2024-11-09 01:01:14:830 +0000 [main] DEBUG io.netty.util.NetUtil - -Djava.net.preferIPv6Addresses: false 2024-11-09 01:01:14:833 +0000 [main] DEBUG io.netty.util.NetUtilInitializations - Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo) 2024-11-09 01:01:14:834 +0000 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 4096 2024-11-09 01:01:14:835 +0000 [main] DEBUG io.netty.channel.DefaultChannelId - -Dio.netty.machineId: 02:42:77:ff:fe:d3:85:ed (auto-detected) 2024-11-09 01:01:14:852 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple 2024-11-09 01:01:14:852 +0000 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4 2024-11-09 01:01:14:895 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numHeapArenas: 16 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.numDirectArenas: 16 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.pageSize: 8192 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxOrder: 9 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.chunkSize: 4194304 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.smallCacheSize: 256 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.normalCacheSize: 64 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedBufferCapacity: 32768 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimInterval: 8192 2024-11-09 01:01:14:896 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.cacheTrimIntervalMillis: 0 2024-11-09 01:01:14:897 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.useCacheForAllThreads: false 2024-11-09 01:01:14:897 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 2024-11-09 01:01:14:897 +0000 [main] DEBUG io.netty.buffer.PooledByteBufAllocator - -Dio.netty.allocator.disableCacheFinalizersForFastThreadLocalThreads: false 2024-11-09 01:01:14:916 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: pooled 2024-11-09 01:01:14:916 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 0 2024-11-09 01:01:14:916 +0000 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384 2024-11-09 01:01:14:918 +0000 [main] DEBUG io.netty.bootstrap.ChannelInitializerExtensions - -Dio.netty.bootstrap.extensions: null 2024-11-09 01:01:14:957 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:35039 2024-11-09 01:01:14:958 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@2070295086 2024-11-09 01:01:14:995 +0000 [nioEventLoopGroup-2-2] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xb421aa01, L:/127.0.0.1:47858 - R:/127.0.0.1:35039]]@2070295086 2024-11-09 01:01:15:023 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacityPerThread: 4096 2024-11-09 01:01:15:024 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8 2024-11-09 01:01:15:024 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.chunkSize: 32 2024-11-09 01:01:15:024 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.blocking: false 2024-11-09 01:01:15:024 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.batchFastThreadLocalOnly: true 2024-11-09 01:01:15:036 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkAccessible: true 2024-11-09 01:01:15:036 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.checkBounds: true 2024-11-09 01:01:15:037 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@6e4749c9 2024-11-09 01:01:15:254 +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-11-09 01:01:15:265 +0000 [defaultEventExecutorGroup-3-2] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-11-09 01:01:15:268 +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-11-09 01:01:15:278 +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-11-09 01:01:15:279 +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: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: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-11-09 01:01:15:281 +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-11-09 01:01:15:282 +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-11-09 01:01:15:287 +0000 [defaultEventExecutorGroup-3-1] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0xb421aa01, L:/127.0.0.1:47858 - R:/127.0.0.1:35039] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-11-09 01:01:15:287 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-11-09 01:01:15:288 +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:35039, sessionType=REQ, hashCode=2070295086] 2024-11-09 01:01:15:291 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xb421aa01, L:/127.0.0.1:47858 - R:/127.0.0.1:35039]]@2070295086 2024-11-09 01:01:15:297 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:35039@1092023914] 2024-11-09 01:01:15:309 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:49097 2024-11-09 01:01:15:310 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@655180711 2024-11-09 01:01:15:312 +0000 [nioEventLoopGroup-2-5] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x80a8605c, L:/127.0.0.1:48138 - R:/127.0.0.1:49097]]@655180711 2024-11-09 01:01:15:414 +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-11-09 01:01:15:416 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-11-09 01:01:15:417 +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-11-09 01:01:15:420 +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-11-09 01:01:15:420 +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: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: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-11-09 01:01:15:422 +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-11-09 01:01:15:423 +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-11-09 01:01:15:425 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest - Result : InputObject [propertyA=10, propertyB=45334.785, propertyC=TEST, propertyD=NestedObject [propertyD=TEST2]] 2024-11-09 01:01:15:425 +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:49097, sessionType=REQ, hashCode=655180711] 2024-11-09 01:01:15:425 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x80a8605c, L:/127.0.0.1:48138 - R:/127.0.0.1:49097]]@655180711 2024-11-09 01:01:15:424 +0000 [defaultEventExecutorGroup-3-3] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x80a8605c, L:/127.0.0.1:48138 - R:/127.0.0.1:49097] : {"jsonrpc":"2.0","id":1,"result":"InputObject [propertyA\u003d10, propertyB\u003d45334.785, propertyC\u003dTEST, propertyD\u003dNestedObject [propertyD\u003dTEST2]]"} 2024-11-09 01:01:15:426 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:49097@2069584894] 2024-11-09 01:01:15:433 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:59479 2024-11-09 01:01:15:434 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@857245202 2024-11-09 01:01:15:436 +0000 [nioEventLoopGroup-2-8] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x3701a855, L:/127.0.0.1:38496 - R:/127.0.0.1:59479]]@857245202 2024-11-09 01:01:15:535 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-11-09 01:01:15:536 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.zmq.ServerHandler - First empty frame discarded : DefaultMessage [isLast=false, content=EmptyByteBufBE] 2024-11-09 01:01:15:537 +0000 [defaultEventExecutorGroup-3-6] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"translate","params":{"value":10}} 2024-11-09 01:01:15:540 +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-11-09 01:01:15:540 +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: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: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-11-09 01:01:15:542 +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-11-09 01:01:15:543 +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: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:840) Caused by: java.lang.IllegalArgumentException at org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(ObjectParameterTest.java:39) ... 20 more 2024-11-09 01:01:15:548 +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: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:840) Caused by: java.lang.IllegalArgumentException at org.opendaylight.jsonrpc.bus.messagelib.ObjectParameterTest$ServiceImpl.translate(ObjectParameterTest.java:39) ... 20 more 2024-11-09 01:01:15:550 +0000 [defaultEventExecutorGroup-3-6] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Internal error"}} 2024-11-09 01:01:15:551 +0000 [defaultEventExecutorGroup-3-5] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x3701a855, L:/127.0.0.1:38496 - R:/127.0.0.1:59479] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Internal error"}} 2024-11-09 01:01:15:552 +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:59479, sessionType=REQ, hashCode=857245202] 2024-11-09 01:01:15:552 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x3701a855, L:/127.0.0.1:38496 - R:/127.0.0.1:59479]]@857245202 2024-11-09 01:01:15:553 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@zmq://0.0.0.0:59479@1133288103]