java.lang.RuntimeException: 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()

GitHub | nidi3 | 6 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

    Default type of parameters in v0.8 should be string

    GitHub | 6 months ago | nidi3
    java.lang.RuntimeException: 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()

    Root Cause Analysis

    1. java.lang.RuntimeException

      Invalid node for type creation class org.raml.yagi.framework.nodes.KeyValueNodeImpl

      at org.raml.v2.internal.impl.commons.model.factory.TypeDeclarationModelFactory.create()
    2. org.raml.v2
      TypeDeclarationModelFactory.create
      1. org.raml.v2.internal.impl.commons.model.factory.TypeDeclarationModelFactory.create(TypeDeclarationModelFactory.java:81)
      2. org.raml.v2.internal.impl.commons.model.factory.TypeDeclarationModelFactory.create(TypeDeclarationModelFactory.java:60)
      2 frames
    3. org.raml.yagi
      ModelProxyBuilder$SimpleProxy.invoke
      1. org.raml.yagi.framework.model.ModelProxyBuilder$SimpleProxy.resolveValue(ModelProxyBuilder.java:192)
      2. org.raml.yagi.framework.model.ModelProxyBuilder$SimpleProxy.resolveValue(ModelProxyBuilder.java:164)
      3. org.raml.yagi.framework.model.ModelProxyBuilder$SimpleProxy.fromNodeKey(ModelProxyBuilder.java:88)
      4. org.raml.yagi.framework.model.ModelProxyBuilder$SimpleProxy.invoke(ModelProxyBuilder.java:70)
      4 frames
    4. com.sun.proxy
      $Proxy9.queryParameters
      1. com.sun.proxy.$Proxy9.queryParameters(Unknown Source)
      1 frame
    5. guru.nidi.ramltester
      HeaderTest.undefinedRequestHeader
      1. guru.nidi.ramltester.HeaderTest.undefinedRequestHeader(HeaderTest.java:47)
      1 frame
    6. 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
    7. JUnit
      JUnitCore.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.rules.Verifier$1.evaluate(Verifier.java:35)
      14. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      16. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      16 frames
    8. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
      2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      2 frames
    9. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames