java.lang.RuntimeException: Internal error while trying to call public abstract java.lang.Boolean org.raml.v2.api.model.v10.datamodel.TypeDeclaration.required()

GitHub | quilicicf | 9 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

    Exception on trait-defined query parameter when facet value is parameterized

    GitHub | 9 months ago | quilicicf
    java.lang.RuntimeException: Internal error while trying to call public abstract java.lang.Boolean org.raml.v2.api.model.v10.datamodel.TypeDeclaration.required()

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.lang.Boolean

      at org.raml.v2.internal.impl.commons.model.type.TypeDeclaration.required()
    2. org.raml.v2
      TypeDeclaration.required
      1. org.raml.v2.internal.impl.commons.model.type.TypeDeclaration.required(TypeDeclaration.java:146)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. org.raml.yagi
      ModelProxyBuilder$SimpleProxy.invoke
      1. org.raml.yagi.framework.model.ModelProxyBuilder$SimpleProxy.fromMethod(ModelProxyBuilder.java:98)
      2. org.raml.yagi.framework.model.ModelProxyBuilder$SimpleProxy.invoke(ModelProxyBuilder.java:74)
      2 frames
    5. com.sun.proxy
      $Proxy3.required
      1. com.sun.proxy.$Proxy3.required(Unknown Source)
      1 frame
    6. com.restlet.definitions
      Test.main
      1. com.restlet.definitions.raml10.reader.Test.main(Test.java:25)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame