#4 use SnakeYaml for YAML provider

closed
nobody
5
2011-05-15
2011-05-12
prabhat
No

Currently YAML support is provided by jYaml which has been inactive since 2007. Specially when there is a problem, its stack trace is not very helpful. For example:
Caused by: java.lang.NullPointerException
at org.ho.yaml.JYamlParserEvent.getBean(Unknown Source)
at org.ho.yaml.YamlDecoder.readObject(Unknown Source)
at org.ho.yaml.YamlConfig.load(Unknown Source)
at org.ho.yaml.YamlConfig.load(Unknown Source)
at org.ho.yaml.Yaml.load(Unknown Source)

SnakeYAML seems to be a vibrant project and used across several other projects. We should use this instead.

Discussion

  • prabhat
    prabhat
    2011-05-12

    I have it working with SnakeYaml and will apply my changes to trunk.

     
  • prabhat
    prabhat
    2011-05-15

    • status: open --> closed