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

GitHub | blelem | 4 months ago
  1. 0

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

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

    not using default values causes stacktrace for integers

    GitHub | 12 months 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 | 11 months ago | zhugw
    java.lang.NumberFormatException: For input string: ""
  5. 0

    Reg Swagger-UI

    GitHub | 11 months ago | VLaxminarayana
    java.lang.NumberFormatException: For input string: ""

  1. marcbouvierdav 2 times, last 3 months ago
  2. kuldeep 4 times, last 3 months ago
  3. Piz 2 times, last 4 months ago
  4. mortalman7 4 times, last 5 months ago
  5. bpbhat77 681 times, last 8 months ago
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