jnan77 / jsonrpc4j

Automatically exported from code.google.com/p/jsonrpc4j
0 stars 0 forks source link

JsonRpcServer.handleNode() should send valid JSON-RPC response with error instead of throwing exception #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Setup RPC service
2. Send invalid JSON-RPC request (in my case GWT RPC, but it doesn't matter)

What is the expected output? What do you see instead?

JsonRpcServer should send valid JSON-RPC response with error = -32600, Invalid 
Request.

Instead it throws exception.

What version of the product are you using? On what operating system?
winxp, java 1.7, jsonrpc4j-0.24.jar

Please provide any additional information below.

Attached is suggested change patch

Original issue reported on code.google.com by js402...@gmail.com on 12 Sep 2012 at 3:42

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, i plan on resolving this any many other issues in the next day or two.

Original comment by brian.di...@gmail.com on 3 Oct 2012 at 11:24

GoogleCodeExporter commented 8 years ago
included in next release, thanks.

Original comment by brian.di...@gmail.com on 5 Oct 2012 at 11:58