Issue while upgrading snakeyaml from 1.31 to 2.2

27 views
Skip to first unread message

Sangram Jagadale

unread,
Apr 2, 2024, 9:01:04 AMApr 2
to dropwizard-user
Hi,
While upgrading snakeyaml from 1.31 to 2.2 we are facing following error 
,
Caused by: org.yaml.snakeyaml.error.YAMLException: The incoming YAML document exceeds the limit: 3145728 code points.

Dropwizard internally uses jackson-dataformat-yaml which is dependent upon snakeyaml for parsing the yaml files. But moving from 1.31 to 2.2 snakeyaml has imposed a limitation on file size. 

We are not sure how to increase this size limit.
Please help
Reply all
Reply to author
Forward
0 new messages