Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE in GoogleAppAuthAuthenticator$1.onTokenRequestCompleted() #94

Open
barbeau opened this issue Jun 21, 2018 · 0 comments
Open

NPE in GoogleAppAuthAuthenticator$1.onTokenRequestCompleted() #94

barbeau opened this issue Jun 21, 2018 · 0 comments
Labels

Comments

@barbeau
Copy link
Collaborator

barbeau commented Jun 21, 2018

Summary:

Originally mentioned at #88 (comment).

In the OneBusAway Google Developer console I'm seeing a stack trace being reported for the v2.3.8 release (first unobfuscated ES SDK) on a Samsung Galaxy Note8 (greatqlteue), 6144MB RAM, Android 8.0:

java.lang.NullPointerException: 
  at android.content.ContextWrapper.getResources (ContextWrapper.java:93)
  at android.view.ContextThemeWrapper.getResourcesInternal (ContextThemeWrapper.java:127)
  at android.view.ContextThemeWrapper.getResources (ContextThemeWrapper.java:121)
  at android.support.v4.app.Fragment.getResources (Fragment.java:678)
  at android.support.v4.app.Fragment.getString (Fragment.java:700)
  at com.microsoft.embeddedsocial.auth.GoogleAppAuthAuthenticator$1.onTokenRequestCompleted (GoogleAppAuthAuthenticator.java:129)
  at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute (AuthorizationService.java:308)
  at net.openid.appauth.AuthorizationService$TokenRequestTask.onPostExecute (AuthorizationService.java:238)
  at android.os.AsyncTask.finish (AsyncTask.java:695)
  at android.os.AsyncTask.-wrap1 (Unknown Source)
  at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:712)
  at android.os.Handler.dispatchMessage (Handler.java:105)
  at android.os.Looper.loop (Looper.java:164)
  at android.app.ActivityThread.main (ActivityThread.java:6940)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)

Steps to reproduce:

Unknown

Expected behavior:

Not crash

Observed behavior:

Crash

Device, Android, and Embedded Social SDK version:

OBA v2.3.8 release w/ 'com.acrowntest.test:sdk:0.7.1:release@aar'

Samsung Galaxy Note8 (greatqlteue), 6144MB RAM, Android 8.0 (reported via Android Developer Console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant