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

GitHub | eleonoraortega | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [TCK] TC011 Annotations - java.lang.ClassCastException: org.raml.yagi.framework.nodes.snakeyaml.SYIntegerNode

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

    [TCK] TC012 API - Title must accept numbers

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

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at org.raml.yagi.framework.grammar.rule.MinLengthRule.apply()
    2. org.raml.yagi
      GrammarPhase.apply
      1. org.raml.yagi.framework.grammar.rule.MinLengthRule.apply(MinLengthRule.java:62)
      2. org.raml.yagi.framework.grammar.rule.AllOfRule.apply(AllOfRule.java:98)
      3. org.raml.yagi.framework.grammar.rule.AnyOfRule.apply(AnyOfRule.java:102)
      4. org.raml.yagi.framework.grammar.rule.FirstOfRule.apply(FirstOfRule.java:55)
      5. org.raml.yagi.framework.grammar.rule.KeyValueRule.apply(KeyValueRule.java:136)
      6. org.raml.yagi.framework.grammar.rule.ObjectRule.apply(ObjectRule.java:153)
      7. org.raml.yagi.framework.phase.GrammarPhase.apply(GrammarPhase.java:38)
      7 frames
    3. org.raml.v2
      RamlValidator.main
      1. org.raml.v2.internal.impl.v10.Raml10Builder.runPhases(Raml10Builder.java:88)
      2. org.raml.v2.internal.impl.v10.Raml10Builder.build(Raml10Builder.java:73)
      3. org.raml.v2.internal.impl.RamlBuilder.build(RamlBuilder.java:110)
      4. org.raml.v2.internal.impl.RamlBuilder.build(RamlBuilder.java:78)
      5. org.raml.v2.internal.impl.RamlBuilder.build(RamlBuilder.java:69)
      6. org.raml.v2.internal.impl.RamlValidator.validateRaml(RamlValidator.java:87)
      7. org.raml.v2.internal.impl.RamlValidator.validate(RamlValidator.java:59)
      8. org.raml.v2.internal.impl.RamlValidator.validate(RamlValidator.java:46)
      9. org.raml.v2.internal.impl.RamlValidator.main(RamlValidator.java:117)
      9 frames