java.lang.RuntimeException

Internal error while trying to call public abstract java.util.List<org.raml.v2.api.model.common.ValidationResult> org.raml.v2.api.model.v10.datamodel.TypeDeclaration.validate(java.lang.String)

Solutions on the web48290

  • Internal error while trying to call public abstract java.util.List<org.raml.v2.api.model.common.ValidationResult> org.raml.v2.api.model.v10.datamodel.TypeDeclaration.validate(java.lang.String)
  • via MuleSoft JIRA by Ariel Segura, 11 months ago
    Internal error while trying to call public abstract java.util.List<org.raml.v2.api.model.common.ValidationResult> org.raml.v2.api.model.v10.datamodel.TypeDeclaration.validate(java.lang.String)
  • via GitHub by nidi3
    , 9 months ago
    Internal error while trying to call public abstract java.util.List<org.raml.v2.api.model.v08.parameters.Parameter> org.raml.v2.api.model.v08.methods.MethodBase.queryParameters()
  • Stack trace

    • java.lang.RuntimeException: Internal error while trying to call public abstract java.util.List<org.raml.v2.api.model.common.ValidationResult> org.raml.v2.api.model.v10.datamodel.TypeDeclaration.validate(java.lang.String) at org.raml.yagi.framework.model.ModelProxyBuilder$SimpleProxy.invoke(ModelProxyBuilder.java:79) at com.sun.proxy.$Proxy46.validate(Unknown Source) at org.mule.raml.implv2.v10.model.MimeTypeImpl.validate(MimeTypeImpl.java:72) at org.mule.module.apikit.HttpRestRequest.validateSchemaV2(HttpRestRequest.java:454) at org.mule.module.apikit.HttpRestRequest.validateBody(HttpRestRequest.java:346) Caused by: java.lang.NullPointerException at java.math.BigDecimal.<init>(BigDecimal.java:806) at org.raml.yagi.framework.nodes.jackson.JFloatingNode.getValue(JFloatingNode.java:44) at org.raml.yagi.framework.nodes.jackson.JFloatingNode.getValue(JFloatingNode.java:27) at org.raml.yagi.framework.grammar.rule.AbstractTypeRule.apply(AbstractTypeRule.java:35) at org.raml.yagi.framework.grammar.rule.AllOfRule.apply(AllOfRule.java:98) at org.raml.yagi.framework.grammar.rule.KeyValueRule.apply(KeyValueRule.java:136) at org.raml.yagi.framework.grammar.rule.ObjectRule.apply(ObjectRule.java:166) at org.raml.yagi.framework.grammar.rule.AllOfRule.apply(AllOfRule.java:98) at org.raml.v2.internal.impl.v10.phase.ExampleValidationPhase.validateJson(ExampleValidationPhase.java:139) at org.raml.v2.internal.impl.v10.phase.ExampleValidationPhase.validate(ExampleValidationPhase.java:112) at org.raml.v2.internal.impl.v10.phase.ExampleValidationPhase.validate(ExampleValidationPhase.java:92) at org.raml.v2.internal.impl.commons.model.type.TypeDeclaration.validate(TypeDeclaration.java:127) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 4 months ago
    Once, 1 year ago
    18 times, 6 months ago