[Bug] DatabaseUtils: java.lang.IllegalArgumentException: bad base-64
See original GitHub issueLogs and Network traces Via the Authenticator app I sent feedback with logging, incident id: RH9JA8G3.
04-16 16:15:13.868 11565 11790 E DatabaseUtils: Writing exception to parcel
04-16 16:15:13.868 11565 11790 E DatabaseUtils: java.lang.IllegalArgumentException: bad base-64
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.util.Base64.decode(Base64.java:162)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.util.Base64.decode(Base64.java:137)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.util.Base64.decode(Base64.java:119)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at com.microsoft.identity.client.BrokerContentProvider.query(BrokerContentProvider.java:126)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.content.ContentProvider.query(ContentProvider.java:1235)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.content.ContentProvider.query(ContentProvider.java:1328)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.content.ContentProvider$Transport.query(ContentProvider.java:267)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:104)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.os.Binder.execTransactInternal(Binder.java:1056)
04-16 16:15:13.868 11565 11790 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:1029)
04-16 16:15:13.869 10514 11474 I mono-stdout: MSAL: Error (False) MSAL 4.29.0.0 MSAL.Xamarin.Android 29 [04/16/2021 14:15:13] [Android broker] Failed to get accounts from the broker. Sender=AzureAdAuthTokenProvider
Which Version of MSAL are you using ? Msal 4.29.0
Platform Xamarin.Android
What authentication flow has the issue?
- Desktop / Mobile
- Interactive
- Integrated Windows Auth
- Username Password
- Device code flow (browserless)
- Web App
- Authorization code
- OBO
- Daemon App
- Service to Service calls
Is this a new or existing app? The app is in production (MSAL 4.24.0), and I have upgraded to a new version of MSAL (4.29.0)
Repro We have several mobile apps that use Authenticator as a broker. This happens consistently while logging in to one of our apps.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
java.lang.IllegalArgumentException: bad base-64
I am trying to encode and decode a String using android.util.Base64, but it gives a bad base-64 error. The code with the problem...
Read more >java.lang.IllegalArgumentException: bad base-64 · Issue #8
This is the code block where the error originates, from our Application object, ( io.company.android.CompanyApp.onCreate(CompanyApp.java:109) ):.
Read more >Crash: java.lang.IllegalArgumentException: bad Base64 input ...
Type: Icon: Bug Bug · Resolution: Duplicate · Fix Version/s: None · Affects Version/s: Minecraft 1.10 · Labels: None · Environment: OS: Windows...
Read more >java.lang.IllegalArgumentException: bad Base64 input ... - Bugs
This issue can be fixed by deleting the file servers.dat: Open the launcher; Click Edit Profile; Click Open Game Dir; Delete servers.dat.
Read more >Android – java.lang.IllegalArgumentException: bad base-64
I am trying to encode and decode a String using android.util.Base64, but it gives a bad base-64 error. The code with the problem...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is included in MSAL 4.30.1 release.
cc: @timdriever
Thanks! I have sent logging to you. We are not live with 4.29.0 yet, it is still on the test environment. We do hope to be able to use version 29 soon because of the improvements.