aerogear-android-authz with Google Login

19 views
Skip to first unread message

Andrew Dittmer

unread,
Nov 2, 2020, 7:13:25 PM11/2/20
to Aerogear
Hello,
Is Google Login supported? When I attempt Google Login, I get a crash

The crash is 
java.lang.NullPointerException: println needs a message
        at android.util.Log.println_native(Native Method)
        at android.util.Log.d(Log.java:158)
        at org.jboss.aerogear.android.authorization.oauth2.OAuthWebViewDialog$OAuthViewClient.shouldOverrideUrlLoading(OAuthWebViewDialog.java:111)
        at android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:83)
        at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(chromium-TrichromeWebViewGoogle.aab-stable-424011033:16)
        at android.os.MessageQueue.nativePollOnce(Native Method)
        at android.os.MessageQueue.next(MessageQueue.java:335)
        at android.os.Looper.loop(Looper.java:183)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)


 (I've created a Jira ticket but not sure if it is supposed to be supported or not.)

Wojciech Trocki

unread,
Nov 3, 2020, 3:26:31 AM11/3/20
to Andrew Dittmer, Aerogear
Hi

What library are you using?
Is it push? Auth?

--
You received this message because you are subscribed to the Google Groups "Aerogear" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aerogear+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aerogear/f86e1f89-0206-4459-8130-b9d59fab1164n%40googlegroups.com.

Andrew Dittmer

unread,
Nov 8, 2020, 10:52:44 PM11/8/20
to Aerogear
Hi Wojciech, I'm using auth. Tested on Pixel 3a and Pixel 3XL.  

Massimiliano Ziccardi

unread,
Nov 19, 2020, 8:29:04 AM11/19/20
to Andrew Dittmer, Aerogear
I see you made a PR for https://github.com/aerogear-attic/aerogear-android-authz so I believe that is the library you are using.
Libraries in the `aerogear-attic` have reached their `end of life`

Andrew Dittmer

unread,
Dec 1, 2020, 7:53:01 PM12/1/20
to Massimiliano Ziccardi, Aerogear
I see. Thanks for the update. If possible, a note (saying end-of-life) on the aerogear-attic library github pages might be valuable in helping those looking for auth libraries to make an informed decision about which library will be best for them. Cheers.
--

Best Regards,
-
Andrew Dittmer
Software Developer
Reply all
Reply to author
Forward
0 new messages