2024-08-10 01:01:51:201 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:34021 2024-08-10 01:01:51:201 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1122960426 2024-08-10 01:01:51:203 +0000 [nioEventLoopGroup-2-3] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x527c4602, L:/127.0.0.1:60022 - R:/127.0.0.1:34021]]@1122960426 2024-08-10 01:01:51:203 +0000 [nioEventLoopGroup-2-3] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: DusnNvOO5n67ynTQ/L9a+A==, expected response: Rq2/L97esxDBwclLq9RPgDl1FuQ= 2024-08-10 01:01:51:206 +0000 [nioEventLoopGroup-2-4] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0x19d5f700, L:/127.0.0.1:34021 - R:/127.0.0.1:60022] WebSocket version V13 server handshake 2024-08-10 01:01:51:206 +0000 [nioEventLoopGroup-2-4] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: DusnNvOO5n67ynTQ/L9a+A==, response: Rq2/L97esxDBwclLq9RPgDl1FuQ= 2024-08-10 01:01:51:207 +0000 [nioEventLoopGroup-2-3] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0x527c4602, L:/127.0.0.1:60022 - R:/127.0.0.1:34021] 2024-08-10 01:01:51:302 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test","params":["TEST",1,"ABCD"]} 2024-08-10 01:01:51:305 +0000 [defaultEventExecutorGroup-3-9] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"match_test","params":["TEST",1,"ABCD"]} 2024-08-10 01:01:51:308 +0000 [defaultEventExecutorGroup-3-9] 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-08-10 01:01:51:309 +0000 [defaultEventExecutorGroup-3-9] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"result":1} 2024-08-10 01:01:51:310 +0000 [defaultEventExecutorGroup-3-8] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x527c4602, L:/127.0.0.1:60022 - R:/127.0.0.1:34021] : {"jsonrpc":"2.0","id":1,"result":1} 2024-08-10 01:01:51:311 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.MethodMatchingTest - Response : JsonRpcReplyMessage [jsonrpc=2.0, id=1,result=1, error=null] 2024-08-10 01:01:51:311 +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:34021, sessionType=REQ, hashCode=1122960426] 2024-08-10 01:01:51:311 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x527c4602, L:/127.0.0.1:60022 - R:/127.0.0.1:34021]]@1122960426 2024-08-10 01:01:51:312 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:34021@376187927] 2024-08-10 01:01:51:319 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:60973 2024-08-10 01:01:51:319 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1017203956 2024-08-10 01:01:51:322 +0000 [nioEventLoopGroup-2-6] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x9e772bef, L:/127.0.0.1:46914 - R:/127.0.0.1:60973]]@1017203956 2024-08-10 01:01:51:323 +0000 [nioEventLoopGroup-2-6] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: dyZ4VeFXfgw7tgLzrIJfbg==, expected response: QcGs/eJLNJaY08WAkhdRUulJ7Sc= 2024-08-10 01:01:51:326 +0000 [nioEventLoopGroup-2-7] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0xe29e43a3, L:/127.0.0.1:60973 - R:/127.0.0.1:46914] WebSocket version V13 server handshake 2024-08-10 01:01:51:326 +0000 [nioEventLoopGroup-2-7] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: dyZ4VeFXfgw7tgLzrIJfbg==, response: QcGs/eJLNJaY08WAkhdRUulJ7Sc= 2024-08-10 01:01:51:328 +0000 [nioEventLoopGroup-2-6] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0x9e772bef, L:/127.0.0.1:46914 - R:/127.0.0.1:60973] 2024-08-10 01:01:51:421 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-08-10 01:01:51:424 +0000 [defaultEventExecutorGroup-3-11] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-08-10 01:01:51:427 +0000 [defaultEventExecutorGroup-3-11] 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-08-10 01:01:51:428 +0000 [defaultEventExecutorGroup-3-11] 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: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.JsonSyntaxException: java.lang.NumberFormatException: For input string: "ABCD" at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:251) at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:241) 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 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:651) at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1215) at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:249) ... 24 more 2024-08-10 01:01:51:429 +0000 [defaultEventExecutorGroup-3-11] 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-08-10 01:01:51:429 +0000 [defaultEventExecutorGroup-3-11] DEBUG org.opendaylight.jsonrpc.bus.messagelib.MethodCandidate - Invocation of method candidate 'match_test2' 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.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: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.IllegalStateException: Should fail at org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(MockHandler.java:57) ... 20 more 2024-08-10 01:01:51:430 +0000 [defaultEventExecutorGroup-3-11] ERROR org.opendaylight.jsonrpc.bus.messagelib.ResponderHandlerAdapter - Error while executing method: match_test2 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.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: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.IllegalStateException: Should fail at org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(MockHandler.java:57) ... 20 more 2024-08-10 01:01:51:431 +0000 [defaultEventExecutorGroup-3-11] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-08-10 01:01:51:433 +0000 [defaultEventExecutorGroup-3-10] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x9e772bef, L:/127.0.0.1:46914 - R:/127.0.0.1:60973] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-08-10 01:01:51:433 +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-08-10 01:01:51:443 +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:60973, sessionType=REQ, hashCode=1017203956] 2024-08-10 01:01:51:443 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x9e772bef, L:/127.0.0.1:46914 - R:/127.0.0.1:60973]]@1017203956 2024-08-10 01:01:51:444 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:60973@998004967]