2024-07-04 11:48:46:433 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:36839 2024-07-04 11:48:46:433 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@354980344 2024-07-04 11:48:46:449 +0000 [nioEventLoopGroup-2-7] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0xb4da2c48, L:/127.0.0.1:38900 - R:/127.0.0.1:36839]]@354980344 2024-07-04 11:48:46:453 +0000 [nioEventLoopGroup-2-7] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: IDEZdGyVqvVk+hXZdgR3rA==, expected response: xB0TfQ/L598QeUFYKdxZkRlfLvo= 2024-07-04 11:48:46:506 +0000 [nioEventLoopGroup-2-8] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0x9c1bd132, L:/127.0.0.1:36839 - R:/127.0.0.1:38900] WebSocket version V13 server handshake 2024-07-04 11:48:46:507 +0000 [nioEventLoopGroup-2-8] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: IDEZdGyVqvVk+hXZdgR3rA==, response: xB0TfQ/L598QeUFYKdxZkRlfLvo= 2024-07-04 11:48:46:521 +0000 [nioEventLoopGroup-2-7] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0xb4da2c48, L:/127.0.0.1:38900 - R:/127.0.0.1:36839] 2024-07-04 11:48:46:536 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test","params":["TEST",1,"ABCD"]} 2024-07-04 11:48:46:543 +0000 [defaultEventExecutorGroup-3-5] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"match_test","params":["TEST",1,"ABCD"]} 2024-07-04 11:48:46:552 +0000 [defaultEventExecutorGroup-3-5] 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-07-04 11:48:46:553 +0000 [defaultEventExecutorGroup-3-5] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"result":1} 2024-07-04 11:48:46:555 +0000 [defaultEventExecutorGroup-3-4] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0xb4da2c48, L:/127.0.0.1:38900 - R:/127.0.0.1:36839] : {"jsonrpc":"2.0","id":1,"result":1} 2024-07-04 11:48:46:556 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.MethodMatchingTest - Response : JsonRpcReplyMessage [jsonrpc=2.0, id=1,result=1, error=null] 2024-07-04 11:48:46:561 +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:36839, sessionType=REQ, hashCode=354980344] 2024-07-04 11:48:46:561 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0xb4da2c48, L:/127.0.0.1:38900 - R:/127.0.0.1:36839]]@354980344 2024-07-04 11:48:46:567 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:36839@1754096028] 2024-07-04 11:48:46:574 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:59657 2024-07-04 11:48:46:574 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@70061633 2024-07-04 11:48:46:579 +0000 [nioEventLoopGroup-2-10] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x5ceaf532, L:/127.0.0.1:43688 - R:/127.0.0.1:59657]]@70061633 2024-07-04 11:48:46:580 +0000 [nioEventLoopGroup-2-10] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: 8D62IBXF2nJjL2tZONdYuQ==, expected response: 6gkKY7DOXCdIP2VBpLWZW39wxII= 2024-07-04 11:48:46:589 +0000 [nioEventLoopGroup-2-11] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0x911a9105, L:/127.0.0.1:59657 - R:/127.0.0.1:43688] WebSocket version V13 server handshake 2024-07-04 11:48:46:589 +0000 [nioEventLoopGroup-2-11] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: 8D62IBXF2nJjL2tZONdYuQ==, response: 6gkKY7DOXCdIP2VBpLWZW39wxII= 2024-07-04 11:48:46:591 +0000 [nioEventLoopGroup-2-10] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0x5ceaf532, L:/127.0.0.1:43688 - R:/127.0.0.1:59657] 2024-07-04 11:48:46:678 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-07-04 11:48:46:680 +0000 [defaultEventExecutorGroup-3-7] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-07-04 11:48:46:684 +0000 [defaultEventExecutorGroup-3-7] 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-07-04 11:48:46:685 +0000 [defaultEventExecutorGroup-3-7] 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:833) 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-07-04 11:48:46:687 +0000 [defaultEventExecutorGroup-3-7] 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-07-04 11:48:46:688 +0000 [defaultEventExecutorGroup-3-7] 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:568) 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:833) Caused by: java.lang.IllegalStateException: Should fail at org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(MockHandler.java:57) ... 20 more 2024-07-04 11:48:46:691 +0000 [defaultEventExecutorGroup-3-7] 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:568) 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:833) Caused by: java.lang.IllegalStateException: Should fail at org.opendaylight.jsonrpc.bus.messagelib.MockHandler.match_test2(MockHandler.java:57) ... 20 more 2024-07-04 11:48:46:692 +0000 [defaultEventExecutorGroup-3-7] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-07-04 11:48:46:693 +0000 [defaultEventExecutorGroup-3-6] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x5ceaf532, L:/127.0.0.1:43688 - R:/127.0.0.1:59657] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-07-04 11:48:46:694 +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-07-04 11:48:46:698 +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:59657, sessionType=REQ, hashCode=70061633] 2024-07-04 11:48:46:698 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x5ceaf532, L:/127.0.0.1:43688 - R:/127.0.0.1:59657]]@70061633 2024-07-04 11:48:46:699 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:59657@475249993]