question

iamar1260 avatar image
iamar1260 asked

IllegalStateException in LoadedApk

Since late September we have seen a steadily increasing number of crashes caused by an IllegalStateException in android.app.LoadedApk.initializeJavaContextClassLoader(). The crash has been occurring with all version of our app in use during that time interval and the initial appearance of this was not correlated with a release of our application. We believe that the crash occurs before any of our code is invoked. The crash is being reported with OS versions 4.4.3, 5.1 and 5.1.1. Does any one know what might cause this? Sample stack trace from 4.4.3 java.lang.IllegalStateException at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:391) at android.app.LoadedApk.getClassLoader(LoadedApk.java:344) at android.app.ContextImpl.getClassLoader(ContextImpl.java:1007) at android.app.ContextImpl.initVendorExtenstions(ContextImpl.java:2578) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4545) at android.app.ActivityThread.access$1500(ActivityThread.java:145) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1276) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:5266) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:826) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:642) at dalvik.system.NativeStart.main(Native Method) Sample stack trace for OS version 5.1 and 5.1.1 java.lang.RuntimeException at android.app.LoadedApk.makeApplication(LoadedApk.java:617) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4630) at android.app.ActivityThread.access$1500(ActivityThread.java:155) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1384) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5376) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703) Caused by: java.lang.IllegalStateException at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:463) at android.app.LoadedApk.makeApplication(LoadedApk.java:609)
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers