"No content to map due to end-of-input" exception while reading message from InputStream...

4,146 views
Skip to first unread message

sudhee...@gmail.com

unread,
May 28, 2014, 2:31:20 AM5/28/14
to json...@googlegroups.com

Hi,

 

While reading JSON-RPC message by using JsonRpcClient::readResponse() API, sometimes it throws the following exception:

 

---------------------------------------------

Caused by: com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input

at [Source: com.googlecode.jsonrpc4j.NoCloseInputStream@52853dcb; line: 1, column: 1]

          at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164)

          at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:2836)

          at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapp...

----------------------------------------------

 

Why this exception occurs?

 

How to handle this exception?

 

Do I need to reset the connection when this exception occurs?

 

Please let me know.

 

Thanks,

Sudheer

Erik Nedwidek

unread,
May 28, 2014, 3:21:00 AM5/28/14
to json...@googlegroups.com

This mailing list deals worth the specification of the JSON-RPC protocol. Specific implementations and their support it's the responsibility of the maintainer of that library.

That said, perhaps the maintainer of that library is on the list and can respond to you privately. If not, you'll need to go to their website, bug tracker, mailing list, etc for support.

--
You received this message because you are subscribed to the Google Groups "JSON-RPC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-rpc+u...@googlegroups.com.
To post to this group, send email to json...@googlegroups.com.
Visit this group at http://groups.google.com/group/json-rpc.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages