2024-11-26 00:29:14:580 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:42223 2024-11-26 00:29:14:580 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1303219904 2024-11-26 00:29:14:582 +0000 [nioEventLoopGroup-2-7] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x540deed6, L:/127.0.0.1:43400 - R:/127.0.0.1:42223]]@1303219904 2024-11-26 00:29:14:583 +0000 [nioEventLoopGroup-2-7] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: p1fTN2udhqBz5S3ks9pyUw==, expected response: f37O93xcbbR4NdaiMCyk+i/PqjA= 2024-11-26 00:29:14:585 +0000 [nioEventLoopGroup-2-8] ERROR io.netty.util.ResourceLeakDetector - LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information. Recent access records: Created at: io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:410) io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188) io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:124) io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:871) org.opendaylight.jsonrpc.bus.zmq.MessageDecoder.readObject(MessageDecoder.java:72) org.opendaylight.jsonrpc.bus.zmq.MessageDecoder.decode(MessageDecoder.java:44) io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:530) io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:469) io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1407) io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918) io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) java.base/java.lang.Thread.run(Thread.java:1583) 2024-11-26 00:29:14:586 +0000 [nioEventLoopGroup-2-8] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0xfc9293f2, L:/127.0.0.1:42223 - R:/127.0.0.1:43400] WebSocket version V13 server handshake 2024-11-26 00:29:14:586 +0000 [nioEventLoopGroup-2-8] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: p1fTN2udhqBz5S3ks9pyUw==, response: f37O93xcbbR4NdaiMCyk+i/PqjA= 2024-11-26 00:29:14:588 +0000 [nioEventLoopGroup-2-7] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0x540deed6, L:/127.0.0.1:43400 - R:/127.0.0.1:42223] 2024-11-26 00:29:14:682 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test","params":["TEST",1,"ABCD"]} 2024-11-26 00:29:14:684 +0000 [defaultEventExecutorGroup-3-10] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"match_test","params":["TEST",1,"ABCD"]} 2024-11-26 00:29:14:686 +0000 [defaultEventExecutorGroup-3-10] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public int org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test(java.lang.String,int,java.lang.String)] 2024-11-26 00:29:14:689 +0000 [defaultEventExecutorGroup-3-10] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"result":1} 2024-11-26 00:29:14:691 +0000 [defaultEventExecutorGroup-3-9] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x540deed6, L:/127.0.0.1:43400 - R:/127.0.0.1:42223] : {"jsonrpc":"2.0","id":1,"result":1} 2024-11-26 00:29:14:692 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.MethodMatchingTest - Response : JsonRpcReplyMessage [jsonrpc=2.0, id=1,result=1, error=null] 2024-11-26 00:29:14:692 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://127.0.0.1:42223, sessionType=REQ, hashCode=1303219904] 2024-11-26 00:29:14:693 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x540deed6, L:/127.0.0.1:43400 - R:/127.0.0.1:42223]]@1303219904 2024-11-26 00:29:14:693 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:42223@1860564101] 2024-11-26 00:29:14:700 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:54549 2024-11-26 00:29:14:700 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@2053481312 2024-11-26 00:29:14:702 +0000 [nioEventLoopGroup-2-10] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x10cecc1e, L:/127.0.0.1:46686 - R:/127.0.0.1:54549]]@2053481312 2024-11-26 00:29:14:703 +0000 [nioEventLoopGroup-2-10] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: LHeBNgyqf3zBosHk6Rvf+w==, expected response: +wFry8WD39/u7/Rr4W4UULO1HYU= 2024-11-26 00:29:14:704 +0000 [nioEventLoopGroup-2-11] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0x8d0ddcb0, L:/127.0.0.1:54549 - R:/127.0.0.1:46686] WebSocket version V13 server handshake 2024-11-26 00:29:14:705 +0000 [nioEventLoopGroup-2-11] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: LHeBNgyqf3zBosHk6Rvf+w==, response: +wFry8WD39/u7/Rr4W4UULO1HYU= 2024-11-26 00:29:14:706 +0000 [nioEventLoopGroup-2-10] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0x10cecc1e, L:/127.0.0.1:46686 - R:/127.0.0.1:54549] 2024-11-26 00:29:14:801 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-11-26 00:29:14:802 +0000 [defaultEventExecutorGroup-3-12] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-11-26 00:29:14:805 +0000 [defaultEventExecutorGroup-3-12] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public int org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(int,int)] 2024-11-26 00:29:14:806 +0000 [defaultEventExecutorGroup-3-12] DEBUG org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate - Unable to extract arguments for method org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcException: com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: For input string: "ABCD" at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseMessage.convertJsonElementToClass(JsonRpcBaseMessage.java:116) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcBaseRequestMessage.getParamsAtIndexAsObject(JsonRpcBaseRequestMessage.java:69) 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.http.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:34) at org.opendaylight.jsonrpc.bus.http.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:25) 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.JsonSyntaxException: java.lang.NumberFormatException: For input string: "ABCD" at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:277) at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:267) 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 Caused by: java.lang.NumberFormatException: For input string: "ABCD" at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054) at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110) at java.base/java.lang.Double.parseDouble(Double.java:792) at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1293) at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:275) ... 24 more 2024-11-26 00:29:14:807 +0000 [defaultEventExecutorGroup-3-12] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractProxyHandlerAdapter - Attempting method candidate MethodCandidate [method=public int org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(java.lang.String,java.lang.String)] 2024-11-26 00:29:14:810 +0000 [defaultEventExecutorGroup-3-12] DEBUG org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate - Invocation of method candidate 'match_test2' 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.http.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:34) at org.opendaylight.jsonrpc.bus.http.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:25) 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.IllegalStateException: Should fail at org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(MockHandler.java:57) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 17 more 2024-11-26 00:29:14:810 +0000 [defaultEventExecutorGroup-3-12] ERROR org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter - Error while executing method: match_test2 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.http.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:34) at org.opendaylight.jsonrpc.bus.http.WebSocketServerHandler.channelRead0(WebSocketServerHandler.java:25) 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.IllegalStateException: Should fail at org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(MockHandler.java:57) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ... 17 more 2024-11-26 00:29:14:811 +0000 [defaultEventExecutorGroup-3-12] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-11-26 00:29:14:812 +0000 [defaultEventExecutorGroup-3-11] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x10cecc1e, L:/127.0.0.1:46686 - R:/127.0.0.1:54549] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-11-26 00:29:14:812 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.MethodMatchingTest - Response : JsonRpcReplyMessage [jsonrpc=2.0, id=1,result=null, error=JsonRpcErrorObject [code=-32000, message=Should fail, data=null]] 2024-11-26 00:29:14:816 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractReconnectingClient [state=CONNECTED, uri=ws://127.0.0.1:54549, sessionType=REQ, hashCode=2053481312] 2024-11-26 00:29:14:816 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x10cecc1e, L:/127.0.0.1:46686 - R:/127.0.0.1:54549]]@2053481312 2024-11-26 00:29:14:817 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:54549@1736238361]