processing string of large size

19 views
Skip to first unread message

Kand

unread,
Jun 17, 2011, 12:59:18 AM6/17/11
to jpoxy
Hi all,

I am using jackson core and jackson mapper to convert my java object
to json string for my json-rpc service which i did with jpoxy. When
the json string length is large say around 5000, i am getting
exception while i try to access the service in android.

The following is the error i am getting "06-16 19:49:19.463: WARN/
System.err(1357): org.alexd.jsonrpc.JSONRPCException: Invalid JSON
response
06-16 19:49:19.482: WARN/System.err(1357): at
org.alexd.jsonrpc.JSONRPCHttpClient.doJSONRequest(JSONRPCHttpClient.java:
108)
06-16 19:49:19.482: WARN/System.err(1357): at
org.alexd.jsonrpc.JSONRPCClient.doRequest(JSONRPCClient.java:44)
06-16 19:49:19.482: WARN/System.err(1357): at
org.alexd.jsonrpc.JSONRPCClient.callString(JSONRPCClient.java:145)"


The method call is working fine if the json string length is small.

Can some one help me how to rectify this.

Regards,
Kand

Wes Widner

unread,
Jun 17, 2011, 10:04:49 AM6/17/11
to jp...@googlegroups.com
Is there any chance you can post a sample string that is causing the error?
I'd like to create a unit test for it if possible.

-Wes
Reply all
Reply to author
Forward
0 new messages