-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Yaml.createYamlDump(Enum).dump().toString() produces StackOverflowError #578
Comments
@CuteLuoBo thank you for reporting this. I'll assign someone to take care of it soon. |
@amihaiemil I couldn't find any assignee for this task. This is either because there are no contributors with role Please, make sure there is at least one available contributor with the required role and the project can afford to pay them. |
2 similar comments
@amihaiemil I couldn't find any assignee for this task. This is either because there are no contributors with role Please, make sure there is at least one available contributor with the required role and the project can afford to pay them. |
@amihaiemil I couldn't find any assignee for this task. This is either because there are no contributors with role Please, make sure there is at least one available contributor with the required role and the project can afford to pay them. |
After passing the enumeration class into the Yaml.createYamlDump(Object).dump() method, calling YamlNode.toString() will cause a StackOverflowError
Usage version
eo-yaml 7.0.9
jdk 11
How i found out
My JavaBean contains enumeration properties. When I directly call this method to get the YamlNode, this error occurred. After troubleshooting, I finally found out that the problem was caused by the enumeration passed in. Currently I solved it by implementing additional logic.
How to reproduce
Crash log
The text was updated successfully, but these errors were encountered: