java.text.ParseException: Unparseable date: "21-DEC-03"

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

,

Try this-

SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ssaa");

Solutions on the web

via Coderanch by Lenin Chada, 1 year ago
Unparseable date: "21-DEC-03"
via GitHub by Joholland
, 1 year ago
Unparseable date: "20 Wed Jul 20 00:39:23"
via Coderanch by jaya kemmannu, 4 months ago
via Oracle Community by 807546, 1 year ago
Unparseable date: "10-29-02 03:18PM"
via GitHub by skibi
, 11 months ago
Unparseable date: "Mon Dec 08 20:00:20 +0000 2014"
java.text.ParseException: Unparseable date: "21-DEC-03"
at java.text.DateFormat.parse(DateFormat.java:324)
at Sample.StringCompare1.compare(Sample.java:121)
at java.util.Arrays.mergeSort(Arrays.java:1181)
at java.util.Arrays.mergeSort(Arrays.java:1188)
at java.util.Arrays.sort(Arrays.java:1128)
at Sample.Sample.main(Sample.java:75)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
186 times, 1 month ago
9 times, 3 months ago
97 times, 3 months ago
Once, 4 months ago
45 more bugmates

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