You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
There is a NullPointerException invocating the method getAllMutualFriends of org.springframework.social.facebook.api.SocialContextOperations.
According to the facebook graph API documentation, the attribute ID can be optional.
The ID will be returned for a mutual friend only if the given user has installed your app and granted the user_friends permission.
So, the NPE occurs iterating the response, when the attribute is accessed to retrieve the value.
Method org.springframework.social.facebook.api.impl.SocialContextTemplate#getSocialContext, line 135: itemNode.get("id") is null and we get NPE:
There is a NullPointerException invocating the method
getAllMutualFriends
oforg.springframework.social.facebook.api.SocialContextOperations
.According to the facebook graph API documentation, the attribute ID can be optional.
So, the NPE occurs iterating the response, when the attribute is accessed to retrieve the value.
Method
org.springframework.social.facebook.api.impl.SocialContextTemplate#getSocialContext
, line 135:itemNode.get("id")
is null and we get NPE:The text was updated successfully, but these errors were encountered: