Oracle Mobile Authenticator 8.6 Crashing on Android Only

(Doc ID 2406640.1)

Last updated on JUNE 06, 2018

Applies to:

Oracle Mobile and Social - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.2.3.0 version, IDaaS REST Service

Oracle Mobile Authenticator Crashing - but for Android only.    The version on iOS works fine.

After scanning a QR code, user is prompted for login credentials, after submitting credentials, the app crashes when our rest service returns successfully.



ERROR
-----------------------

OMA crashes and the Android log shows the following trace

05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1

05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: Process: oracle.idm.mobile.authenticator, PID: 3795
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:353)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:271)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Map.get(java.lang.Object)' on a null object reference
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at oracle.idm.mobile.connection.b.put(Unknown Source:102)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at com.android.okhttp.internal.http.HttpEngine.receiveHeaders(HttpEngine.java:878)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:612)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:471)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:407)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:538)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(Unknown Source:0)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at oracle.idm.mobile.connection.a.a(Unknown Source:279)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at oracle.idm.mobile.connection.a.a(Unknown Source:31)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at oracle.idm.mobile.authenticator.e.b(Unknown Source:7)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at oracle.idm.mobile.authenticator.configuration.OAMOnlineConfiguration$d.a(Unknown Source:64)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at oracle.idm.mobile.authenticator.configuration.OAMOnlineConfiguration$d.a(Unknown Source:31)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at oracle.idm.mobile.authenticator.configuration.OAMOnlineConfiguration$d.doInBackground(Unknown Source:2)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:333)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
05-08 11:21:44.278 10342 3795 3817 E AndroidRuntime: ... 4 more
05-08 11:21:44.282 1000 893 15008 W ActivityManager: Force finishing activity oracle.idm.mobile.authenticator/.ui.OAMOnlineConfigActivity
05-08 11:21:44.296 1000 893 15008 W ActivityManager: Force finishing activity oracle.idm.mobile.authenticator/.ui.QRCaptureActivity
05-08 11:21:44.363 1000 893 923 I ActivityManager: Showing crash dialog for package oracle.idm.mobile.authenticator u0



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. open oraclemobileauthenticator with appropriate settings for your environment
2. submit credentials
3. OMA version 8.6 on Android  crashes



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms