Crashing in downloaded AADSampleApp(access MS Graph API) #1304
Labels
Issue Triage
The engineering team has looked into the issue, understood the issue, labelled/classified the issue
More Info
Additional information is required to diagnose, troubleshoot, or confirm
The app just crashed as soon as i provided the credentials and gave the permission to "My Sample App" for the permission "Sign You in and Read your profile". See the backtrace.
08-28 11:55:08.853 19064-19102/? E/AndroidRuntime: FATAL EXCEPTION: AcquireTokenRequestHandlerThread
Process: com.azuresamples.azureadsampleapp.azureadsampleapp, PID: 19064
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Exception.toString()' on a null object reference
at com.azuresamples.azureadsampleapp.MainActivity$10.onError(MainActivity.java:393)
at com.microsoft.aad.adal.AcquireTokenRequest$CallbackHandler$1.run(AcquireTokenRequest.java:889)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
08-28 11:55:08.860 1651-1665/system_process W/ActivityManager: Force fin
The text was updated successfully, but these errors were encountered: