Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
fixing npe
Browse files Browse the repository at this point in the history
  • Loading branch information
hpmtissera committed May 20, 2015
1 parent 98ec290 commit c3d4388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ private static void buildFacebookAuthenticationConfiguration(IdentityProvider fe
property = new Property();
property.setName(IdentityApplicationConstants.Authenticator.Facebook.USER_INFO_FIELDS);
String fbUserInfoFields = paramMap.get("fbUserInfoFields");
if(fbUserInfoFields.endsWith(",")) {
if(fbUserInfoFields != null && fbUserInfoFields.endsWith(",")) {
fbUserInfoFields = fbUserInfoFields.substring(0, fbUserInfoFields.length() - 1);
}
property.setValue(fbUserInfoFields);
Expand Down

0 comments on commit c3d4388

Please sign in to comment.