-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
Sentry fails to serialize Locale #2301
Comments
@marek-klima, did this work on any of the previous versions? If yes, which version was the last one it still worked? |
Unfortunately I'm now aware of any older version where this would work correctly. |
Hmm, do you really want to serialize the entire |
Right, there is no need to serialize the entire |
Yeah we definitely need to investigate it, that's for sure |
I'll take a look |
We could skip |
Integration
sentry
Java Version
17
Version
6.4.3
Steps to Reproduce
Running a code that tries to encode object of type
Locale
never ends. It probably stays insideJsonReflectionObjectSerializer
(here) becauseobject.getClass().getDeclaredFields()
returns long list.There were recent fixes for enums (#2220).
The same happens on newest version
6.5.0
.Expected Result
Locale is correctly serialized
Actual Result
Potential Out of Memory exception
The text was updated successfully, but these errors were encountered: