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.

FATAL EXCEPTION: firebase-iid-executor

See original GitHub issue

Bug

Hello folks, thanks for this awesome lib! I’m getting a native issue from Android, can you help me please?

Environment info

react-native info output:

info Fetching system and libraries information...
System:
    OS: macOS Mojave 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 615.39 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 12.16.3 - /usr/local/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28
      Build Tools: 23.0.1, 25.0.2, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.3
  IDEs:
    Android Studio: 4.0 AI-193.6911.18.40.6514223
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmGlobalPackages:
    create-react-native-app: 1.0.0
    react-native-create-library: 3.1.2
    react-native-device-info: 0.22.4
    react-native-git-upgrade: 0.2.7
    react-native-inappbrowser-reborn: 3.4.0

Library version: 6.1.3

Steps To Reproduce

  1. Build Android application in release mode
  2. Open the app …

Describe what you expected to happen:

  1. Open the app without crashing because a fatal exception
2020-12-24 12:32:59.304 12370-15927/? E/AndroidRuntime: FATAL EXCEPTION: firebase-iid-executor
    Process: com.myapp.prestaging, PID: 12370
    java.lang.NoClassDefFoundError: com.google.firebase.iid.Store$Token
        at com.google.firebase.iid.Store$Token.parse(com.google.firebase:firebase-iid@@21.0.1:1)
        at com.google.firebase.iid.Store.getToken(com.google.firebase:firebase-iid@@21.0.1:1)
        at com.google.firebase.iid.FirebaseInstanceId.getTokenWithoutTriggeringSync(com.google.firebase:firebase-iid@@21.0.1:2)
        at com.google.firebase.iid.FirebaseInstanceId.lambda$getInstanceId$2$FirebaseInstanceId(Unknown Source:4)
        at com.google.firebase.iid.FirebaseInstanceId$$Lambda$0.then(Unknown Source:6)
        at com.google.android.gms.tasks.zzf.run(Unknown Source:2)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
        at java.lang.Thread.run(Thread.java:919)
     Caused by: java.lang.VerifyError: Verifier rejected class com.google.firebase.iid.Store$Token: com.google.firebase.iid.Store$Token com.google.firebase.iid.Store$Token.parse(java.lang.String) failed to verify: com.google.firebase.iid.Store$Token com.google.firebase.iid.Store$Token.parse(java.lang.String): [0x19] 'this' arg must be initialized (declaration of 'com.google.firebase.iid.Store$Token' appears in /data/app/com.myapp.prestaging-lSTMU8YPKpJVi39TnAEkIw==/base.apk!classes2.dex)
        at com.google.firebase.iid.Store$Token.parse(com.google.firebase:firebase-iid@@21.0.1:1)
        at com.google.firebase.iid.Store.getToken(com.google.firebase:firebase-iid@@21.0.1:1)
        at com.google.firebase.iid.FirebaseInstanceId.getTokenWithoutTriggeringSync(com.google.firebase:firebase-iid@@21.0.1:2)
        at com.google.firebase.iid.FirebaseInstanceId.getTokenWithoutTriggeringSync(com.google.firebase:firebase-iid@@21.0.1:1)
        at com.google.firebase.iid.FirebaseInstanceId.getToken(com.google.firebase:firebase-iid@@21.0.1:2)
        at com.google.firebase.messaging.FirebaseMessaging.lambda$new$0$FirebaseMessaging(Unknown Source:8)
        at com.google.firebase.messaging.FirebaseMessaging$$Lambda$0.run(Unknown Source:4)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
        at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6) 
        at java.lang.Thread.run(Thread.java:919) 

Thanks in advance and Merry Christmas! 🎄

Best, Juan

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
Pernett98commented, Dec 24, 2020

Hi,

Since it’s only in release and Android, you should look in issues for “proguard”, can’t help more from my phone 😉

Merry Christmas 🎁

Regards,

Hello @Dallas62 Do you know if this can be caused by expired certificates ?

2reactions
Dallas62commented, Dec 24, 2020

Hi,

Since it’s only in release and Android, you should look in issues for “proguard”, can’t help more from my phone 😉

Merry Christmas 🎁

Regards,

Read more comments on GitHub >

github_iconTop Results From Across the Web

FATAL EXCEPTION: firebase-installations-executor-2 (Android)
I have some problem here. When running in debug mode, it just looks fine. But when run in release mode, I got the...
Read more >
FirebaseMessagingService - Google
attachBaseContext(Context base). boolean. bindIsolatedService( Intent service, int flags, String instanceName, Executor executor, ServiceConnection conn ).
Read more >
Sending Notifications. ConcurrentModificationException ...
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group. To unsubscribe from this group and stop...
Read more >
notification error.txt - Moodle Tracker
... at com.google.firebase.iid.zzc.run(Unknown Source) 07-12 15:42:13.803 1993 2153 W FirebaseMessaging: at java.util.concurrent.ThreadPoolExecutor.
Read more >
firebase installations service is unavailable - You.com
runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent. ... Non-fatal Exception: cx1: Firebase Installations failed to get installation auth token ...
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