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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

,
Expert tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

Solutions on the web

via GitHub by wzlee
, 1 year ago
The owner protected this stack trace.
via GitHub by tungSing
, 1 year ago
For input string: "2015-09-07"
via GitHub by cyberdak
, 1 year ago
For input string: "v"
via GitHub by anjia0532
, 10 months ago
Text '2017-01-04 13:21:39' could not be parsed at index 10
com.alibaba.fastjson.JSONException: For input string: "2016-07-18 14:01"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at com.alibaba.fastjson.serializer.DateCodec.cast(DateCodec.java:298)
at com.alibaba.fastjson.serializer.DateCodec.deserialze(DateCodec.java:240)
at com.alibaba.fastjson.parser.DefaultFieldDeserializer.parseField(DefaultFieldDeserializer.java:39)
at com.alibaba.fastjson.parser.JavaBeanDeserializer.deserialze(JavaBeanDeserializer.java:595)

Users with the same issue

3 times, 1 week ago
504 times, 1 week ago
Once, 2 months ago
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
230 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.