java.lang.ClassCastException: org.raml.yagi.framework.nodes.snakeyaml.SYObjectNode cannot be cast to org.raml.yagi.framework.nodes.StringNode

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

    [TCK] TC016 Examples - Error when using maxProperties

    GitHub | 8 months ago | eleonoraortega
    java.lang.ClassCastException: org.raml.yagi.framework.nodes.snakeyaml.SYObjectNode cannot be cast to org.raml.yagi.framework.nodes.StringNode

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.raml.yagi.framework.nodes.snakeyaml.SYObjectNode cannot be cast to org.raml.yagi.framework.nodes.StringNode

      at org.raml.yagi.framework.grammar.rule.MaxPropertiesRule.apply()
    2. org.raml.yagi
      AllOfRule.apply
      1. org.raml.yagi.framework.grammar.rule.MaxPropertiesRule.apply(MaxPropertiesRule.java:48)
      2. org.raml.yagi.framework.grammar.rule.AllOfRule.apply(AllOfRule.java:98)
      3. org.raml.yagi.framework.grammar.rule.KeyValueRule.apply(KeyValueRule.java:136)
      4. org.raml.yagi.framework.grammar.rule.ObjectRule.apply(ObjectRule.java:153)
      5. org.raml.yagi.framework.grammar.rule.AllOfRule.apply(AllOfRule.java:98)
      5 frames
    3. org.raml.v2
      RamlValidator.main
      1. org.raml.v2.internal.impl.v10.phase.AnnotationValidationPhase.apply(AnnotationValidationPhase.java:57)
      2. org.raml.v2.internal.impl.v10.Raml10Builder.runPhases(Raml10Builder.java:88)
      3. org.raml.v2.internal.impl.v10.Raml10Builder.build(Raml10Builder.java:73)
      4. org.raml.v2.internal.impl.RamlBuilder.build(RamlBuilder.java:110)
      5. org.raml.v2.internal.impl.RamlBuilder.build(RamlBuilder.java:78)
      6. org.raml.v2.internal.impl.RamlBuilder.build(RamlBuilder.java:69)
      7. org.raml.v2.internal.impl.RamlValidator.validateRaml(RamlValidator.java:87)
      8. org.raml.v2.internal.impl.RamlValidator.validate(RamlValidator.java:59)
      9. org.raml.v2.internal.impl.RamlValidator.validate(RamlValidator.java:46)
      10. org.raml.v2.internal.impl.RamlValidator.main(RamlValidator.java:117)
      10 frames