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

GitHub | blelem | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    GitHub | 9 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. Pilleo 1 times, last 3 weeks ago
  2. batwalrus76 3 times, last 4 weeks ago
  3. Andreas Häber 1 times, last 1 month ago
  4. tomthomas 1 times, last 1 month ago
  5. SteVio1989 1046 times, last 2 months ago
5 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