java.lang.NumberFormatException: For input string: "nan"

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

    GitHub comment 261#243535834

    GitHub | 6 months ago | JoshRosen
    java.lang.NumberFormatException: For input string: "nan"
  2. 0

    GitHub comment 55#73280300

    GitHub | 2 years ago | lsampaioweb
    java.lang.NumberFormatException: For input string: "2,75"
  3. 0

    Slick codegen 3.0.3 crashes with Postgres real or double types e.g.

    GitHub | 1 year ago | bravegag
    java.lang.NumberFormatException: For input string: "0::real"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jdbc.query tries to map datetime as float - Java Spring H2

    Stack Overflow | 1 year ago | user3157264
    java.lang.NumberFormatException: For input string: "2015-11-27 03:00:00.0"

  1. paulgureghian 2 times, last 8 months ago
  2. Christopher 1 times, last 9 months ago
  3. tone5992 10 times, last 10 months ago
  4. Larten 1 times, last 11 months ago
6 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: "nan"

    at sun.misc.FloatingDecimal.readJavaFormatString()
  2. Java RT
    Float.parseFloat
    1. sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
    2. sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
    3. java.lang.Float.parseFloat(Float.java:451)
    3 frames