Closed OHoussein closed 1 year ago
hi @OHoussein, thanks for using Sentry. I'd be curious why do you think our SDK is the root cause here? The error says:
File /data/user/0/ng.com.fairmoney.fairmoney/databases/logger doesn't exist
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:254)
which can happen regardless of our database auto-instrumentation.
This looks more like an issue on one of the androidx libs (WorkManager or Room itself), e.g. this issue https://issuetracker.google.com/issues/152202040 or this https://issuetracker.google.com/issues/186443045
Hi @romtsn, thanks for your answer. It could be, but I expect the SDK not to work and make the failed access to the database a silent error instead of crashing the app, is that possible?
@OHoussein but this is not our SDK that is using Room (we don't have any 3rd-party dependencies in our SDK), but your app:
at in.finbox.logger.c.b.a(b.java:1)
at in.finbox.logger.Logger.deleteOldLogsIfNeeded$lambda-11(Logger.java:17)
We're just wrapping the underlying SQLiteOpenHelper to provide auto-instrumentation of database queries, but no doing any actual operations on our end.
Clear, thanks for your clarification. Closing this issue.
Integration
sentry-android
Build System
Gradle
AGP Version
7.4.0
Proguard
Enabled
Version
6.25.2
Steps to Reproduce
We spot the crash on production, but we are unable to reproduce it. it touches only a specific model: Transsion
Expected Result
App to be working correcly properly
Actual Result
Crasho on the app startup stack trace: