-
Notifications
You must be signed in to change notification settings - Fork 1.9k
NPE during StackTraceRecovery exception creation #3031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, could you please elaborate on what devices this crash reproduces? From what I can see from the stacktrace, it looks like an Android issue: there are no nulls on the code path of A similar issue was faced in akaita/RxJava2Debug#2, where with the same symptoms it was concluded that it's an Android problem. I suspect you have an exception class in your app (or in any of the transitive dependencies) that has The very best we can do is to catch |
@qwwdfsad It reproducible on Android 11, I will check our logs to give more details about devices |
Sorry, you right, it crashes only on Android 5 or 6, I confused it with another issue.
Looks that we don't have such code, but looks that it exists in RxJava
I think it's a reasonable solution at least for such a feature as StackTraceRecovery, fail of stack trace recovery is IMO better than crash |
I would suggest contributing the fix to RxJava itself. I've investigated whether we can easily work around this problem and apparently we cannot -- we either should pay an additional |
We got crashes on prod caused by StackTraceRecoveryKt. Not very common (a few cases per day).
Don't have any reproduction steps.
The text was updated successfully, but these errors were encountered: