Getting NullPointerException in Android SDK's method updateLocaleListFromAppContext
AndroidGoogle PlayAndroid Problem Overview
I have an app uploaded on PlayStore and getting crash on it java.lang.NullPointerException
from android.app.ActivityThread.updateLocaleListFromAppContext
I have tried searching a lot online to check where this error could be coming from. I'm not natively using this method call specifically for anything in the code.
java.lang.NullPointerException:
at android.app.ActivityThread.updateLocaleListFromAppContext (ActivityThread.java:5892)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6127)
at android.app.ActivityThread.access$1200 (ActivityThread.java:240)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1797)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7076)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
Please help if anyone knows the solution or where I can start looking to resolve this.
To clarify, this is not an issue of how to avoid a common NullPointerException, this does not happen in the developers code but rather on the side of Android API itself and the question is on how to avoid it, as it cannot be resolved directly. The issue still exists.