com.jayway.jsonpath.InvalidPathException: Function with name: get does not exists.

GitHub | kkrawczy | 5 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

    GitHub comment 85#249612636

    GitHub | 5 months ago | kkrawczy
    com.jayway.jsonpath.InvalidPathException: Function with name: get does not exists.
  2. 0

    GitHub comment 85#253584777

    GitHub | 4 months ago | kkrawczy
    com.jayway.jsonpath.InvalidPathException: Function with name: get does not exists.
  3. 0

    Filter: [?] can not be applied to primitives.

    GitHub | 12 months ago | marcingrzejszczak
    com.jayway.jsonpath.InvalidPathException: Filter: [?] can not be applied to primitives. Current context is: { "path" : "/api/12", "correlationId" : 123456 }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception occurred while trying to match JSON Path

    GitHub | 2 months ago | bandfernmohn
    com.jayway.jsonpath.InvalidPathException: Filter: [?] can not be applied to primitives. Current context is: eyJyYXRlZEl0ZW1JZCI6Ijk5MmU0NmQ4LWFiMDUtNGEyNi1hNzQwLTZlZjdiMGRhZWFiMyIsImV2ZW50VHlwZSI6IkNSRUFURUQifQ==
  6. 0

    JsonPath with lambda expressions behaves differently than heroku app

    GitHub | 9 months ago | vasanthykolluri
    com.jayway.jsonpath.InvalidPathException: Filter: [?]['store']['book'][?]['pages']['count'] can not be applied to primitives. Current context is: [{"store":{"book":[{"category":"reference","pages":{"count":10}}]},"source":"me"}]

    Root Cause Analysis

    1. com.jayway.jsonpath.InvalidPathException

      Function with name: get does not exists.

      at com.jayway.jsonpath.internal.function.PathFunctionFactory.newFunction()
    2. com.jayway.jsonpath
      CompiledPath.evaluate
      1. com.jayway.jsonpath.internal.function.PathFunctionFactory.newFunction(PathFunctionFactory.java:70)
      2. com.jayway.jsonpath.internal.path.FunctionPathToken.evaluate(FunctionPathToken.java:36)
      3. com.jayway.jsonpath.internal.path.RootPathToken.evaluate(RootPathToken.java:62)
      4. com.jayway.jsonpath.internal.path.CompiledPath.evaluate(CompiledPath.java:53)
      5. com.jayway.jsonpath.internal.path.CompiledPath.evaluate(CompiledPath.java:61)
      5 frames
    3. Json Path
      JsonContext.read
      1. com.jayway.jsonpath.JsonPath.read(JsonPath.java:187)
      2. com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:164)
      3. com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:151)
      3 frames
    4. org.springframework.cloud
      FraudTest.validate_shouldMarkClientAsNotFraud
      1. org.springframework.cloud.contract.verifier.tests.FraudTest.validate_shouldMarkClientAsNotFraud(FraudTest.java:52)
      1 frame