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 Stack Overflow by Song
, 7 months ago
via Coderanch by jaya kemmannu, 6 months ago
via Oracle Community by 807546, 1 year ago
Unparseable date: "10-29-02 03:18PM"
via GitHub by skibi
, 1 year ago
Unparseable date: "Mon Dec 08 20:00:20 +0000 2014"
java.text.ParseException: Unparseable date: "21-DEC-03"
at java.text.DateFormat.parse(
at java.util.Arrays.mergeSort(
at java.util.Arrays.mergeSort(
at java.util.Arrays.sort(
at Sample.Sample.main(

Users with the same issue

5 times, 1 day ago
Once, 1 month ago
186 times, 3 months ago
3 times, 4 months ago
9 times, 5 months ago

Write tip

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