11 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": 1} 126 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - RpcMessageIntArrayParams [req=JsonRpcRequestMessage [jsonrpc=2.0, id=1, method=subtract, params=[42,23]], params=[42, 23]] 137 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - Request : JsonRpcRequestMessage [jsonrpc=2.0, id=1, method=test, params={"data":{"accept":{"array-element":null}}}] 139 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc":"2.0","id":1,"method":"echo","params":["first","second"]} 140 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "result": 19, "id": 4} 141 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - [{"jsonrpc": "2.0", "result": 7, "id": "1"}, {"jsonrpc": "2.0", "result": 19, "id": "2"}, {"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid Request"}, "id": null}, {"jsonrpc": "2.0", "error": {"code": -32601, "message": "Method not found"}, "id": "5"}, {"jsonrpc": "2.0", "result": ["hello", 5], "id": "9"} ] 142 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "error": {"code": -32601, "message": "Method not found"}, "id": "1"} 142 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "error": {"code": -32700, "message": "Parse error"}, "id": null} 142 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - [{"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid Request"}, "id": null}] 144 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "subtract", "params": [42, 23]} 145 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"foo": "boo"} 146 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "1.0", "method": "foo.get", "params": {"name": "myself"}, "id": "5"} 146 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "get_data", "id": "9" 146 [main] DEBUG org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializer - Unable to parse JSON message com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 1 column 52 path $.id at com.google.gson.Gson.fromJson(Gson.java:1370) 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:1107) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializer.fromJson(JsonRpcSerializer.java:143) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest.testMessagesHelper(JsonRpcSerializerTest.java:79) at org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest.testErrorMessages(JsonRpcSerializerTest.java:162) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) Caused by: java.io.EOFException: End of input at line 1 column 52 path $.id at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1542) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:565) at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:498) at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:875) at com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:820) at com.google.gson.internal.bind.TypeAdapters$34$1.read(TypeAdapters.java:1144) at com.google.gson.Gson.fromJson(Gson.java:1361) ... 47 more 150 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "subtract", "params": [42, 23], "id": 1} 150 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "subtract", "params": {"subtrahend": 23, "minuend": 42}, "id": 2} 150 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "foobar", "id": "3"} 150 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "update", "params": [1,2,3,4,5], "id": 4} 151 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": "foobar", "params": ["bar", "baz"], "id": 5} 151 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - {"jsonrpc": "2.0", "method": 1, "params": "bar", "id": 6} 151 [main] INFO org.opendaylight.jsonrpc.bus.jsonrpc.JsonRpcSerializerTest - [{"jsonrpc": "2.0", "method": "notify_sum", "params": [1,2,4], "id": 7}, {"jsonrpc": "2.0", "method": "notify_hello", "params": [7], "id": 8}]