com.alibaba.fastjson.JSONException: For input string: "2016-07-18 14:01"

GitHub | aaronhuang | 8 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

    字符串"yyyy-MM-dd HH:mm"发序列化成Date类型出错

    GitHub | 8 months ago | aaronhuang
    com.alibaba.fastjson.JSONException: For input string: "2016-07-18 14:01"
  2. 0

    NumberFormatException at function evaluateStatically in NumberLiteral

    GitHub | 3 years ago | janosch715
    java.lang.NumberFormatException: For input string: "18446744073709551615"
  3. 0

    CharsetEncodingFilter should check for XSS attacks

    GitHub | 4 years ago | joseorsini
    com.dotmarketing.exception.DotRuntimeException: java.lang.NumberFormatException: For input string: "<script>alert('xss')</script>"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java exceptions when running tests

    GitHub | 3 years ago | mtkuntz
    java.lang.NumberFormatException: For input string: "*ERROR for mkuntz!* File `/home/mkuntz/twister/logs/pearl326_EP-1001_CLI.log` doesn't exist! Using master config `/home/mkuntz/twister/config/fwmconfig.xml` and suites config `/home/mkuntz/twister/config/testsuites.xml`"
  6. 0

    Task #14760 for dynmap v1.7.1-714 generated an exception

    GitHub | 4 years ago | fungreenfox
    java.lang.NumberFormatException: For input string: "1.36978587152E12"

  1. jesse 1 times, last 3 weeks ago
  2. poroszd 1 times, last 2 months ago
  3. treefolk 1 times, last 4 months ago
  4. MoYapro 5 times, last 4 months ago
  5. Handemelindo 6 times, last 7 days ago
15 more registered users
17 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: "2016-07-18 14:01"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Long.parseLong
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Long.parseLong(Unknown Source)
    3. java.lang.Long.parseLong(Unknown Source)
    3 frames
  3. fastjson
    JavaBeanDeserializer.deserialze
    1. com.alibaba.fastjson.serializer.DateCodec.cast(DateCodec.java:298)
    2. com.alibaba.fastjson.serializer.DateCodec.deserialze(DateCodec.java:240)
    3. com.alibaba.fastjson.parser.DefaultFieldDeserializer.parseField(DefaultFieldDeserializer.java:39)
    4. com.alibaba.fastjson.parser.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:595)
    5. com.alibaba.fastjson.parser.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:97)
    5 frames