java.lang.NumberFormatException: For input string: "${defaultValues.foo}"

GitHub | blelem | 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

    @RequestParam with placeholders syntax like ${x.y}

    GitHub | 8 months ago | blelem
    java.lang.NumberFormatException: For input string: "${defaultValues.foo}"
  2. 0

    not using default values causes stacktrace for integers

    GitHub | 1 year ago | imod
    java.lang.NumberFormatException: For input string: ""
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 1116#168360814

    GitHub | 1 year ago | zhugw
    java.lang.NumberFormatException: For input string: ""
  5. 0

    Reg Swagger-UI

    GitHub | 1 year ago | VLaxminarayana
    java.lang.NumberFormatException: For input string: ""

  1. tomthomas 1 times, last 6 days ago
  2. SteVio1989 1046 times, last 2 weeks ago
  3. marcbouvierdav 2 times, last 6 months ago
  4. kuldeep 4 times, last 6 months ago
  5. Piz 2 times, last 8 months ago
2 more registered users
14 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "${defaultValues.foo}"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Long.valueOf
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[na:1.8.0_91]
    2. java.lang.Long.parseLong(Long.java:578)[na:1.8.0_91]
    3. java.lang.Long.valueOf(Long.java:803)[na:1.8.0_91]
    3 frames
  3. io.swagger.models
    AbstractSerializableParameter.getDefault
    1. io.swagger.models.parameters.AbstractSerializableParameter.getDefault(AbstractSerializableParameter.java:193)[swagger-models-1.5.9.jar:1.5.9]
    1 frame