firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

java.lang.NoSuchFieldError for a "blank" field access from com.google.firebase.perf.transport.TransportManager.getLogcatMsg

Open WaterResistantCoder opened this issue 1 year ago • 2 comments

Crash Stack Trace: Fatal Exception: java.lang.NoSuchFieldError: No static field of type Ljava/util/Locale; in class Ljava/util/Locale; or its superclasses (declaration of 'java.util.Locale' appears in /system/framework/core-oj.jar) at com.google.firebase.perf.transport.TransportManager.getLogcatMsg(TransportManager.java:640) at com.google.firebase.perf.transport.TransportManager.getLogcatMsg(TransportManager.java:610) at com.google.firebase.perf.transport.TransportManager.syncLog(TransportManager.java:371) at com.google.firebase.perf.transport.TransportManager.lambda$log$3(TransportManager.java:330) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764)

Details: Screenshot 2024-09-30 at 3 06 15 PM

Screenshot 2024-09-30 at 3 06 40 PM

Android: 8.1.0 firebase-bom:32.1.1

Related Issue from Google Issue Tracker: From the above link: "Looking at the error message No static field of type Ljava/util/Locale there are two spaces between field and of indicating a field with an "invisible" name."

Please let us know if this can be handled from your side. As the number of crashes are more, even though only few users are being affected.

WaterResistantCoder avatar Sep 30 '24 09:09 WaterResistantCoder

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Sep 30 '24 09:09 google-oss-bot

Hi @WaterResistantCoder, thank you for reporting the issue. I tried reproducing the issue in a similar Android API version, however, I did not encounter the issue.

Based on the description and report you shared, this seems like an edge case scenario. I highly suggest updating to the latest Firebase SDK version to ensure that you have the latest fixes that might be causing the issue. I understand that you’re waiting for that version that has the fix for JobScheduler.

What we can do is leave this issue open for now, in case our engineers might have an idea what's causing the issue. We can prioritize a deeper investigation on this if this begins to affect more developers or we have more details on what’s causing the issue.

P.S. If anyone encounters the same issue, kindly leave a thumbs up on the author's original post. This'll help us prioritize issues based on severity and demand. Thanks!

lehcar09 avatar Sep 30 '24 17:09 lehcar09

Hey @WaterResistantCoder. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Dec 31 '24 02:12 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@WaterResistantCoder if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Jan 06 '25 02:01 google-oss-bot