Fatal Exception: java.lang.NoSuchFieldError

366 views
Skip to first unread message

Girish capt

unread,
Apr 26, 2023, 11:35:57 PM4/26/23
to Firebase Google Group
Hi Facing this issue in our app.
Fatal Exception: java.lang.NoSuchFieldError: No field $r8$clinit of type I in class Lj$/util/function/BiFunction$-CC; or its superclasses (declaration of 
       at j$.time.LocalDateTime.query()
       at j$.time.format.DateTimePrintContext.<init>(:1)
       at j$.time.format.DateTimeFormatter.format(:2)
       at j$.time.LocalDateTime.format(:2)
       at com.google.firebase.heartbeatinfo.HeartBeatInfoStorage.getFormattedDate(HeartBeatInfoStorage.java:141)
       at com.google.firebase.heartbeatinfo.HeartBeatInfoStorage.isSameDateUtc(HeartBeatInfoStorage.java:206)
       at com.google.firebase.heartbeatinfo.HeartBeatInfoStorage.shouldSendSdkHeartBeat(HeartBeatInfoStorage.java:216)
       at com.google.firebase.heartbeatinfo.HeartBeatInfoStorage.shouldSendGlobalHeartBeat(HeartBeatInfoStorage.java:232)
       at com.google.firebase.heartbeatinfo.DefaultHeartBeatController.getHeartBeatCode(DefaultHeartBeatController.java:167)
       at com.google.firebase.iid.GmsRpc.setDefaultAttributesToBundle(com.google.firebase:firebase-iid@@21.1.0:19)
       at com.google.firebase.iid.GmsRpc.startRpc(com.google.firebase:firebase-iid@@21.1.0:1)
       at com.google.firebase.iid.GmsRpc.getToken(com.google.firebase:firebase-iid@@21.1.0:1)
       at com.google.firebase.iid.FirebaseInstanceId.lambda$getInstanceId$2$FirebaseInstanceId(com.google.firebase:firebase-iid@@21.1.0:1)
       at com.google.firebase.iid.FirebaseInstanceId$$Lambda$3.start(:10)
       at com.google.firebase.iid.RequestDeduplicator.getOrStartGetTokenRequest(com.google.firebase:firebase-iid@@21.1.0:7)
       at com.google.firebase.iid.FirebaseInstanceId.lambda$getInstanceId$3$FirebaseInstanceId(com.google.firebase:firebase-iid@@21.1.0:5)
       at com.google.firebase.iid.FirebaseInstanceId$$Lambda$0.then(:6)
       at com.google.android.gms.tasks.zze.run(com.google.android.gms:play-services-tasks@@18.0.1:1)
       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(com.google.android.gms:play-services-basement@@18.1.0:2)
       at java.lang.Thread.run(Thread.java:920)

Arthur Thompson

unread,
Apr 28, 2023, 8:42:03 AM4/28/23
to fireba...@googlegroups.com
Hi Girish,

Please provide a bit more information about what you are trying to do when you get this error?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/23e62437-5e96-4a1d-a4e7-8befe0f619bfn%40googlegroups.com.

Haninder Singh

unread,
Apr 29, 2023, 12:44:42 PM4/29/23
to fireba...@googlegroups.com
Need to review the code

Girish capt

unread,
May 4, 2023, 1:21:40 PM5/4/23
to Firebase Google Group
Hi Arthur, 

After uploading build in play store for Internal testing. This issue got recorded in firebase.Not sure why this issue is coming.

Arthur Thompson

unread,
May 4, 2023, 2:29:15 PM5/4/23
to fireba...@googlegroups.com
From the stack trace it looks like you are using "com.google.firebase:firebase-iid" this API is deprecated, is it possible you could update a dependency directly or indirectly so that you are not depending on this SDK anymore?

Reply all
Reply to author
Forward
0 new messages