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.

Crash in datatransport com.google.android.datatransport.runtime.logging.Logging

See original GitHub issue

[READ] Step 1: Are you in the right place?

yes

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Android Studio Bumblebee | 2021.1.1 Patch 3
  • Firebase Component: Analytics, Auth, Performance, Dynamic links, Crashlytics, Remote Config, Messaging
  • Component version: Bom 30.0.0

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

Getting crashes in google play console but not in Firebase Crashlytics

java.lang.IllegalArgumentException: Log tag "TransportRuntime.Executor" exceeds limit of 23 characters

  at android.util.Log.isLoggable (Native Method)
  at com.google.android.datatransport.runtime.logging.Logging.e (Logging.java:63)
  at com.google.android.datatransport.runtime.SafeLoggingExecutor$SafeLoggingRunnable.run (SafeLoggingExecutor.java:49)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)
  at java.lang.Thread.run (Thread.java:776)

In com.google.android.datatransport:transport-runtime Library which firebase datatrasport library is using has a new Log.isLoggable() check which doesn’t check for a tag limit of 23 characters and can produce crash. Here is the pull request that added new Log.isLoggable check

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
argzdevcommented, May 20, 2022

Hi @AliA74, we expect this fix to be in a release that is targeted for next week. You can keep an eye on our release notes for bug fixes and features. As for Firebase SDK for the Unity platform, afaik it should be available once it’s been released for Android.

0reactions
carlonzocommented, May 23, 2022

the fix for this has been released as part of BOM 30.0.2 https://firebase.google.com/support/release-notes/android#bom_v30-0-2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crashlytics report could not be enqueued to DataTransport
I am having trouble with crashlytics, crash reports ...
Read more >
Consumer SDK for Android Release Notes - Google Developers
Crash monitoring. Added crash detection and logging. An addition was made to allow you to opt out of this functionality. This ...
Read more >
Get Android NDK crash reports | Firebase Crashlytics - Google
If you've refreshed the console and you're still not seeing the test crash after five minutes, enable debug logging to see if your...
Read more >
Having Crashes for android 9 and below with new google ...
I found ou that that were logs in the google play developer console. ... at com.google.android.datatransport.runtime.backends.
Read more >
App crash when trying to use Database Inspector [154871161]
I have managed to copy parts of the event log , if there are any clues for you there. Attaching idea.log also. ......
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