-
Notifications
You must be signed in to change notification settings - Fork 533
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
JavaProxyThrowable exceptions in Xamarin.Android #4218
Comments
I believe the reason the outer exception is a The problem in this case is that the information captured on the Google Play Console is missing the managed exception information that should in theory be stored in the Two initial ideas about why that information might be missing:
@jonpryor does this sound familiar at all? I searched a little to see if I could find any other cases where the string printed for the |
An update on the App Center issue:
It turns out this was related to the app process dying after the exception occurred. The App Center SDK would still register the exception and cache the report but couldn't upload the exception reports in time before the process died. And since this particular crash happened on boot it never got a chance to upload the reports in later user sessions of the app (since it would instantly die again). When we implemented a temporary "catch-all" fix for the exceptions that would occur at app boot (so the app process wouldn't die before App Center could do its thing) all related exceptions that were cached over the last few weeks suddenly appeared in our App Center reports. So this particular issue is unrelated to the missing information in the Google Play crash logs. |
Ahh, good to know. Thanks for that additional info! Based on that new info and chatting with the team about this, I'll mark this item as a duplicate of #1198 for further tracking. I'll also chat with the team about revisiting that earlier issue to improve the crash dump information for |
Duplicate of #1198 |
In one of our apps we currently have the following code in one of our Activity classes:
Some of our users seem to be getting a peculiar exception however, which appears in the Google Play Console crash logs as shown below.
While according to the crash log this exception occurs in our shared code (part of a .NET standard library), it seems the final exception sent to the Android Developer Console logs is a JavaProxyThrowable with no extra information.
The exception also does not appear in our Microsoft App Center crash reporting, so it seems the App Center crash reporting library is unable to pick it up for processing.
I assume a simple try/catch would solve the issue or allow us to investigate the issue further, but I am still curious on what exactly is causing the JavaProxyThrowable to appear in the logs instead of a proper exception, and why something like App Center (which should catch all unhandled exceptions) doesn't pick it up. Does this mean the exception occurred at the Java level rather than the managed C# level?
Version Information
Log File
The text was updated successfully, but these errors were encountered: