2024-10-21 10:37:51:386 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:45035 2024-10-21 10:37:51:387 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@666056635 2024-10-21 10:37:51:388 +0000 [nioEventLoopGroup-2-2] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x95603cc4, L:/127.0.0.1:46494 - R:/127.0.0.1:45035]]@666056635 2024-10-21 10:37:51:388 +0000 [nioEventLoopGroup-2-2] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: +EqRlQf49kIFviBiYQQPpA==, expected response: ergZsrkpzCCH53OTtBILP4Q5cHc= 2024-10-21 10:37:51:389 +0000 [nioEventLoopGroup-2-3] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0x24c292d1, L:/127.0.0.1:45035 - R:/127.0.0.1:46494] WebSocket version V13 server handshake 2024-10-21 10:37:51:390 +0000 [nioEventLoopGroup-2-3] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: +EqRlQf49kIFviBiYQQPpA==, response: ergZsrkpzCCH53OTtBILP4Q5cHc= 2024-10-21 10:37:51:391 +0000 [nioEventLoopGroup-2-2] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0x95603cc4, L:/127.0.0.1:46494 - R:/127.0.0.1:45035] 2024-10-21 10:37:51:488 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test","params":["TEST",1,"ABCD"]} 2024-10-21 10:37:51:490 +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-10-21 10:37:51:492 +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-10-21 10:37:51:497 +0000 [defaultEventExecutorGroup-3-10] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"result":1} 2024-10-21 10:37:51:498 +0000 [defaultEventExecutorGroup-3-9] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x95603cc4, L:/127.0.0.1:46494 - R:/127.0.0.1:45035] : {"jsonrpc":"2.0","id":1,"result":1} 2024-10-21 10:37:51:498 +0000 [main] INFO org.opendaylight.jsonrpc.bus.messagelib.MethodMatchingTest - Response : JsonRpcReplyMessage [jsonrpc=2.0, id=1,result=1, error=null] 2024-10-21 10:37:51:498 +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:45035, sessionType=REQ, hashCode=666056635] 2024-10-21 10:37:51:499 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x95603cc4, L:/127.0.0.1:46494 - R:/127.0.0.1:45035]]@666056635 2024-10-21 10:37:51:499 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:45035@955994360] 2024-10-21 10:37:51:504 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - (Re)connecting to /127.0.0.1:58897 2024-10-21 10:37:51:504 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from INITIAL to CONNECTING [N/A]@1676938400 2024-10-21 10:37:51:507 +0000 [nioEventLoopGroup-2-5] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTING to CONNECTED [[id: 0x60974ba7, L:/127.0.0.1:45232 - R:/127.0.0.1:58897]]@1676938400 2024-10-21 10:37:51:508 +0000 [nioEventLoopGroup-2-5] DEBUG io.netty.handler.codec.http.websocketx.WebSocketClientHandshaker13 - WebSocket version 13 client handshake key: BozP1EB9manOlOh52rDsmw==, expected response: B2r0VGkO3T3snWjq4wegPHNurDw= 2024-10-21 10:37:51:510 +0000 [nioEventLoopGroup-2-6] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - [id: 0xb857f8bb, L:/127.0.0.1:58897 - R:/127.0.0.1:45232] WebSocket version V13 server handshake 2024-10-21 10:37:51:511 +0000 [nioEventLoopGroup-2-6] DEBUG io.netty.handler.codec.http.websocketx.WebSocketServerHandshaker - WebSocket version 13 server handshake key: BozP1EB9manOlOh52rDsmw==, response: B2r0VGkO3T3snWjq4wegPHNurDw= 2024-10-21 10:37:51:513 +0000 [nioEventLoopGroup-2-5] DEBUG org.opendaylight.jsonrpc.bus.http.WebSocketClientHandshake - Client connected on [id: 0x60974ba7, L:/127.0.0.1:45232 - R:/127.0.0.1:58897] 2024-10-21 10:37:51:605 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Sending request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-10-21 10:37:51:607 +0000 [defaultEventExecutorGroup-3-12] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Request : {"jsonrpc":"2.0","id":1,"method":"match_test2","params":[5,"ABCD"]} 2024-10-21 10:37:51:609 +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-10-21 10:37:51:609 +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: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: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-10-21 10:37:51:610 +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-10-21 10:37:51:615 +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: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: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-10-21 10:37:51:615 +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: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: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-10-21 10:37:51:615 +0000 [defaultEventExecutorGroup-3-12] INFO org.opendaylight.jsonrpc.bus.messagelib.ResponderSessionImpl - Response : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-10-21 10:37:51:616 +0000 [defaultEventExecutorGroup-3-11] DEBUG org.opendaylight.jsonrpc.bus.messagelib.RequesterSessionImpl - Response from [id: 0x60974ba7, L:/127.0.0.1:45232 - R:/127.0.0.1:58897] : {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Should fail"}} 2024-10-21 10:37:51:617 +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-10-21 10:37:51:622 +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:58897, sessionType=REQ, hashCode=1676938400] 2024-10-21 10:37:51:622 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.spi.AbstractReconnectingClient - Changing connection state from CONNECTED to DONE [[id: 0x60974ba7, L:/127.0.0.1:45232 - R:/127.0.0.1:58897]]@1676938400 2024-10-21 10:37:51:622 +0000 [main] DEBUG org.opendaylight.jsonrpc.bus.messagelib.AbstractSession - Reference count reached 0, closing and removing AbstractSession [REP@ws://0.0.0.0:58897@1905766527]