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
Throwing IllegalArgumentException in background thread of ApplicationStarter #790
Comments
see issue MenoData/Time4J#790
Hm, I really miss the message of the exception shown above, and I don't know or remember any place in Time4A-code where an Can you please check your exception handling or look for any other Time4A-related logs which might show more details? |
Thanks for responding to our question. This is all we got from the play store crash report. We agree with you that the exception message is missing. If we get more info we will let you know. Thanks for your time. |
Maybe this link contains some helpful info how to look for the detail message. Another link which might be useful, too: |
The first link I had given to you states that it might be possible to see the details after having downloaded csv-files as reports from Google. How to download (have not tested it myself though) is explained in the section "Download reports from Google Cloud Storage": https://support.google.com/googleplay/android-developer/answer/6083203?hl=en |
We examined your links but we did not get more information. The section "Download reports from Google Cloud Storage" has a link to the following page: In this page, the section "Crashes & ANRs" states that:
|
Sorry to hear this. So what can we do now? Without the detail message, there is no chance to fix or to reproduce your issue. I don't understand Google here. About practical consequences in the app:
Okay, I have now implemented/improved the logging, relevant part:
Maybe this change gives a chance to a) see the exception in Google Play Store (stacktrace and maybe timestamp of exception) and b) see the log files via downloadable reports (triggered by |
At the moment, we don't have a crash/exception tracker system as we don't ask users for Internet permission (in future if we add a feature that requires Internet permission then we will definitely consider adding crash/exception analytics). For now there is nothing much we can do on our side unless wait for Google solution for exception messages. We plan to not let throw an exception for this particular case (hope this helps). Thanks for releasing new version with |
I have also committed a small change in both Time4J and Time4A in order to improve the handling of customized zone identifiers. If such a non-standard id is found then the code will first check if it is the id of the current system time zone before throwing an exception. Maybe your issue will completely go away with this change. |
Not sure if this helps but we received again the same crash twice. We have got the crash only on Android 8.0 devices. We guess there is a problem with this version of Android. |
Now I have released Time4A-v3.44-2018e which might let your issue go away. |
The referenced issue given by @fnlctrl also indicates that this issue is solved. |
Please use v3.44.1-2018e (or later) with an important fix for a crash in determining the system timezone. |
Sorry, my previous comment is already outdated. Please use the new bugfix release v3.44.2-2018e. |
We have received an exception as below:
It sounds like the exception is thrown in background thread of net.time4j.android.ApplicationStarter class (line 153) when tries to format the current moment:
We are wondering if you have any idea why this happens? Please let us know if you require any further information. Thanks again for your kind help!
The text was updated successfully, but these errors were encountered: