I used to have a Facebook Login button for 5 months in my application and it worked just as intended... until today. This NullPointerException
came up:
I got the same exception, looks like something is wrong with the new facebook SDK, I suggest to switch back to the previous version.
I changed my build.gradle
from: compile 'com.facebook.android:facebook-android-sdk:4.+
to: compile 'com.facebook.android:facebook-android-sdk:4.12.1'
and that solved my problem.
The list of the sdk versions is here: https://developers.facebook.com/docs/android/downloads