the graph explorer shows this post that returns json that causes a NPE in Post.getLikeCount().
Since it has no likes node, the ReferenceListAndCountDeserializer will return null, making calls that use like throw NPE.Code:{ "id": "100003283444808_189987347787379", "from": { "name": "RobInq BlairInq", "id": "100003283444808" }, "message": "more fun", "actions": [ { "name": "Comment", "link": "http://www.facebook.com/100003283444808/posts/189987347787379" }, { "name": "Like", "link": "http://www.facebook.com/100003283444808/posts/189987347787379" } ], "privacy": { "description": "Public", "value": "EVERYONE" }, "type": "status", "created_time": "2012-04-12T19:59:28+0000", "updated_time": "2012-04-12T19:59:28+0000", "comments": { "count": 0 } }
This is, as they say, a problem.
Added comments at https://jira.springsource.org/browse/SOCIALFB-41
Will have to work around it locally for the time.


Reply With Quote
