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
RejectedExecutionException #8402
Comments
Maybe this point is helpful: |
I have no idea how to fix this, not even where this comes from, the error log is not very specific... @UniQP |
We had a similar report in the past: #6388 which was "fixed" by @samueltardieu in 13d48ef |
This is the most prominent crash report right now for release 2020.06.14, however still "only" 545 reports for 486 users. |
RxJava is out of my scope of knowledge. Maybe @UniQP can help? |
FYI: If we miss knowledge about this topic, how about checking if a new RXjava version is available? Stack trace example of current version:
|
current:
An Update to |
As of today > 3.400 occurrences, in the last 60 days mainly happening with release versions 2020.08.04 and 2020.07.02, but also occurring with 2020.06.14. (Play Console does list for the last 60 days only, so older versions may be harmed as well, but no longer listed here.) Any ideas how to tackle this? |
The following line of the stack trace looks interesting: As far as I can see, we don't create a Of course, it would also help to know in which use case the problem occurs. |
I have no knowledge of RxJava. But following up on what @UniQP I did a usage search of package "rxjava3 I found at least one place where default schedulers of RxJava are used: class Also, can it be that this exception/crash only happens when users close the app anyway (and thus pending messages can't be delivered any more)? THis would mean imho that the problem is not so severe |
@UniQP @eddiemuc
Me neither.
IIRC we should have a few more places where
Not necessarily closing the app, but may be closing an activity as well. |
From https://github.com/ReactiveX/RxJava/wiki/What's-different-in-3.0#more-undeliverable-errors there is a link to a details page for error handling https://github.com/ReactiveX/RxJava/wiki/What's-different-in-3.0#more-undeliverable-errors . |
First of all, I'm also not an RxJava expert.
However, I missed two There are only a few uses of the We could also call |
Thanks @UniQP for your analysis! Looking for
Would you suggest a different scheduler for this type of call? |
@moving-bits A |
A little off-topic (and as already asked in another place): I see many occurences in c:geo code where anonymous instances of Examples of AsyncTask-usages can be found e.g. in |
With our new beta version 2020.11.14-RC (which should AFAICS include the try/catch implemented in #9167) the problem is still reported.
|
BTW: Was also already included in earlier releases as the try/catch change was done on |
Still happening in release 2020.11.23:
|
Still happening in 2020.12.22-RC AFAICS |
Just to confirm: We have a real small bunch of crashed (so the release seems to be very good :)) ) so this is one of the last remaining long-time issues by now on Google Play Console. Example for 2021.01.16:
|
Google Play reports 99,4% of sessions without crash, but this is still happening on 2022.01.13 and 2022.01.16 as most prominent crash.
|
Found an article mentioning a possible solution to the On the other hand some of the error messages look like the thread pool being used is in a shutdown state, so that it has to reject the new task (see screenshots above). How can this happen - how/when are pools being created and destroyed? |
I want to bring some attention back to this long-lasting error, as it is still the most prominent error for our new release 2022.06.06, with more than 50 occurrences in just a couple of days. It's being reported across several Android versions and different mobile models. Error log is still the same as mentioned above in @Lineflyer's report. |
Still happening with recent releases (e.g. 2022.11.13). Error log for 2022.11.13:
|
From Google Play flagged as new for beta version 2020.05.31-RC
1 report, Android 9
The text was updated successfully, but these errors were encountered: