java.lang.ClassCastException: org.yaml.snakeyaml.nodes.ScalarNode cannot be cast to org.yaml.snakeyaml.nodes.MappingNode

GitHub | KonstantinSviridov | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Command line tool: insufficient info as output

    GitHub | 2 years ago | ok11
    java.lang.ClassCastException: org.yaml.snakeyaml.nodes.ScalarNode cannot be cast to org.yaml.snakeyaml.nodes.MappingNode
  2. 0

    Errors with insufficient information about code position.

    GitHub | 2 years ago | KonstantinSviridov
    java.lang.ClassCastException: org.yaml.snakeyaml.nodes.ScalarNode cannot be cast to org.yaml.snakeyaml.nodes.MappingNode

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.yaml.snakeyaml.nodes.ScalarNode cannot be cast to org.yaml.snakeyaml.nodes.MappingNode

      at org.raml.parser.visitor.TemplateResolver.loopTemplateSequence()
    2. org.raml.parser
      YamlValidationService.validate
      1. org.raml.parser.visitor.TemplateResolver.loopTemplateSequence(TemplateResolver.java:145)
      2. org.raml.parser.visitor.TemplateResolver.init(TemplateResolver.java:129)
      3. org.raml.parser.visitor.RamlValidationService.preValidation(RamlValidationService.java:51)
      4. org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:64)
      5. org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:95)
      6. org.raml.parser.visitor.YamlValidationService.validate(YamlValidationService.java:77)
      6 frames