question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to initialize crash reporting RuntimeException

See original GitHub issue

Using Play Services 9.0.83 on a Nexus 5X I received the following stack trace when a crash occurred in my app.

E/DynamiteModule: Failed to load module descriptor class: Didn't find class "com.google.android.gms.dynamite.descriptors.com.google.android.gms.crash.ModuleDescriptor" on path: DexPathList[[zip file "/data/app/REDACTED-2/base.apk"],nativeLibraryDirectories=[/data/app/REDACTED/lib/arm64, /vendor/lib64, /system/lib64]]
E/Crash: Failed to initialize crash reporting
         java.lang.RuntimeException: com.google.android.gms.internal.zzqb$zza: Failed to instantiate module class: com.google.android.gms.crash.internal.api.CrashApiImpl
             at com.google.android.gms.internal.zzph.zztD(Unknown Source)
             at com.google.android.gms.crash.Crash.init(Unknown Source)
             at com.google.android.gms.crash.internal.provider.CrashInitContentProvider.onCreate(Unknown Source)
             at android.content.ContentProvider.attachInfo(ContentProvider.java:1748)
             at android.content.ContentProvider.attachInfo(ContentProvider.java:1723)
             at android.app.ActivityThread.installProvider(ActivityThread.java:5158)
             at android.app.ActivityThread.installContentProviders(ActivityThread.java:4753)
             at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4693)
             at android.app.ActivityThread.-wrap1(ActivityThread.java)
             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
             at android.os.Handler.dispatchMessage(Handler.java:102)
             at android.os.Looper.loop(Looper.java:148)
             at android.app.ActivityThread.main(ActivityThread.java:5422)
             at java.lang.reflect.Method.invoke(Native Method)
             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
          Caused by: com.google.android.gms.internal.zzqb$zza: Failed to instantiate module class: com.google.android.gms.crash.internal.api.CrashApiImpl
             at com.google.android.gms.internal.zzqb.zzdr(Unknown Source)
             at com.google.android.gms.internal.zzph.zztD(Unknown Source) 
             at com.google.android.gms.crash.Crash.init(Unknown Source) 
             at com.google.android.gms.crash.internal.provider.CrashInitContentProvider.onCreate(Unknown Source) 
             at android.content.ContentProvider.attachInfo(ContentProvider.java:1748) 
             at android.content.ContentProvider.attachInfo(ContentProvider.java:1723) 
             at android.app.ActivityThread.installProvider(ActivityThread.java:5158) 
             at android.app.ActivityThread.installContentProviders(ActivityThread.java:4753) 
             at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4693) 
             at android.app.ActivityThread.-wrap1(ActivityThread.java) 
             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405) 
             at android.os.Handler.dispatchMessage(Handler.java:102) 
             at android.os.Looper.loop(Looper.java:148) 
             at android.app.ActivityThread.main(ActivityThread.java:5422) 
             at java.lang.reflect.Method.invoke(Native Method) 
             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
          Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.crash.internal.api.CrashApiImpl" on path: DexPathList[[zip file "/data/user/0/com.google.android.gms/app_chimera/m/00000002/DynamiteModulesC_GmsCore_prodmnc_alldpi_release.apk"],nativeLibraryDirectories=[/data/user/0/com.google.android.gms/app_chimera/m/00000002/n/arm64-v8a, /vendor/lib64, /system/lib64]]
             at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
             at com.google.android.chimera.container.internal.DelegateLastPathClassLoader.loadClass(SourceFile:22)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
             at com.google.android.gms.internal.zzqb.zzdr(Unknown Source) 
             at com.google.android.gms.internal.zzph.zztD(Unknown Source) 
             at com.google.android.gms.crash.Crash.init(Unknown Source) 
             at com.google.android.gms.crash.internal.provider.CrashInitContentProvider.onCreate(Unknown Source) 
             at android.content.ContentProvider.attachInfo(ContentProvider.java:1748) 
             at android.content.ContentProvider.attachInfo(ContentProvider.java:1723) 
             at android.app.ActivityThread.installProvider(ActivityThread.java:5158) 
             at android.app.ActivityThread.installContentProviders(ActivityThread.java:4753) 
             at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4693) 
             at android.app.ActivityThread.-wrap1(ActivityThread.java) 
             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405) 
             at android.os.Handler.dispatchMessage(Handler.java:102) 
             at android.os.Looper.loop(Looper.java:148) 
             at android.app.ActivityThread.main(ActivityThread.java:5422) 
             at java.lang.reflect.Method.invoke(Native Method) 
             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
            Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.crash.internal.api.CrashApiImpl
             at java.lang.Class.classForName(Native Method)
             at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
             at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
             at com.google.android.chimera.container.internal.FilteringClassLoader.loadClass(SourceFile:472)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                    ... 19 more
          Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
samtsterncommented, Jun 6, 2016

@austynmahoney thanks for this bug report, I’ve forwarded the logs on to the Crash team and they will take a look.

0reactions
r-massanetcommented, Oct 11, 2016

I’m posting this here, because it seems pretty much the same error. Apologies if it is not the right place.

This happens with Firebase SDK 9.4.0 for Android.

E/FirebaseCrash(11373): Failed to initialize crash reporting E/FirebaseCrash(11373): java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare() E/FirebaseCrash(11373): at android.os.Handler.<init>(Handler.java:200) E/FirebaseCrash(11373): at android.os.Handler.<init>(Handler.java:114) E/FirebaseCrash(11373): at com.google.firebase.crash.internal.api.FirebaseCrashApiImpl.init(:com.google.android.gms.DynamiteModulesC:1175) E/FirebaseCrash(11373): at bss.onTransact(:com.google.android.gms.DynamiteModulesC:60) E/FirebaseCrash(11373): at android.os.Binder.transact(Binder.java:380) E/FirebaseCrash(11373): at com.google.firebase.crash.internal.zzd$zza$zza.zza(Unknown Source) E/FirebaseCrash(11373): at com.google.firebase.crash.FirebaseCrash.<init>(Unknown Source) E/FirebaseCrash(11373): at com.google.firebase.crash.FirebaseCrash.getInstance(Unknown Source) E/FirebaseCrash(11373): at java.lang.reflect.Method.invoke(Native Method) E/FirebaseCrash(11373): at java.lang.reflect.Method.invoke(Method.java:372) E/FirebaseCrash(11373): at com.google.firebase.FirebaseApp.zza(Unknown Source) E/FirebaseCrash(11373): at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) E/FirebaseCrash(11373): at com.google.firebase.FirebaseApp.initializeApp(Unknown Source) E/FirebaseCrash(11373): … from our client code

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase: Failed to initialize crash reporting - Stack Overflow
Crash reporting won't initialize if you don't have updated Google Play Services on your device or you haven't it installed at all.
Read more >
Android : Firebase - Failed to Initialize crash reporting
Caused by: java.lang.RuntimeException: com.google.android.gms.internal.zzqi$zza: No acceptable module found. Local version is 0 and remote version is 0. It's ...
Read more >
Windows Error Reporting ignoring some crashes
When a "__fastfail" occurs, this results in a "STATUS_STACK_BUFFER_OVERRUN" exception with a parameter of "FAST_FAIL_FATAL_APP_EXIT", which ...
Read more >
Runtime Exception Error Starting Quicken [System.Exception
AVG said its a rundll32.exe [16836] that is in quicken And these Messages Unable to initialize Quicken run time components, ...
Read more >
Crash: Unable to start receiver zendesk.support ... - Zendesk help
We currently see an extremely rare crash in our Crash Reporting: Fatal Exception: java.lang.RuntimeException: Unable to start receiver...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found