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

GitHub | aaronhuang | 10 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 | 10 months ago | aaronhuang
    com.alibaba.fastjson.JSONException: For input string: "2016-07-18 14:01"
  2. 0

    Crash by clicking Kendzi 3D View

    GitHub | 10 months ago | Maskulinum
    java.lang.NumberFormatException: For input string: "1.5"
  3. 0

    NumberFormatException at function evaluateStatically in NumberLiteral

    GitHub | 3 years ago | janosch715
    java.lang.NumberFormatException: For input string: "18446744073709551615"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Rate limiting in WSO2 is not happening

    Stack Overflow | 8 months ago | siddhesh
    java.lang.NumberFormatException: For in put string: "0:0:0:0:0:0:0:1"
  6. 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>"

  1. tvrmsmith 1 times, last 4 days ago
  2. jesse 1 times, last 2 months ago
  3. poroszd 1 times, last 3 months ago
  4. treefolk 1 times, last 6 months ago
  5. MoYapro 5 times, last 6 months ago
16 more registered users
18 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