amitbatajoo / opensocial-java-client

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

NPE in Client.send #25

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:49

GoogleCodeExporter commented 9 years ago
Any news on this one? This one is a little annoying since when you check if 
people are friends you get no body in the negative case.

Original comment by deci...@gmail.com on 22 Dec 2010 at 10:50

GoogleCodeExporter commented 9 years ago
Looks like this project is dead.

Original comment by Christia...@googlemail.com on 16 Apr 2012 at 9:58