java.text.ParseException: Unparseable date: "19/11/2004"

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 miguel lisboa, 1 year ago
Unparseable date: "19/11/2004"
via Coderanch by Adam J Smith, 1 year ago
Unparseable date: "197401060200"
via Stack Overflow by Arun Shankar
, 2 months ago
Unparseable date: "2017-08-31 01:40:00+00:00"
via Stack Overflow by Poni
, 2 years ago
Unparseable date: "Thu Aug 14 16:45:37 UTC 2011"
via Stack Overflow by Juliagu
, 3 months ago
Unparseable date: "Aug 01, 10:30:00" (at offset 0)
via sysaid.com by Unknown author, 1 year ago
Unparseable date: "27-11-2012 13.03.00 +0100"
java.text.ParseException: Unparseable date: "19/11/2004"
at java.text.DateFormat.parse(DateFormat.java:335)
at utilitarios.Datas.entraStringSaiDate(Datas.java:23)
at utilitarios.DatasTeste.testSaiDate(DatasTeste.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)

Users with the same issue

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

Write tip

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