subhadipdas / opensocial-java-client

Automatically exported from code.google.com/p/opensocial-java-client
0 stars 0 forks source link

NPE in Client.send #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If a call fails in Client.submitRestRequest than Response.parseRestResponse
will throw a NPE because there is no response body to parse. This happens
for example if you get a 401 from the server.

I don't want to sound rude and maybe I have gotten something wrong here. If
so please excuse this, but I really think you guys should reconsider your
versions. How can a library be released as 1.0 if such a method doesn't
even check the response code?

Original issue reported on code.google.com by Daniel.D...@gmail.com on 14 Apr 2010 at 1:50

GoogleCodeExporter commented 9 years ago
Double submit because of server failure. Please delete

Original comment by Daniel.D...@gmail.com on 14 Apr 2010 at 1:52