Questions tagged [unparseable]
30 questions
1
vote
1 answer
simpleDateFormat throws unparseable date exception
I have been trying to parse a string to a Date and i have searched this everywhere and could not find a solution to it. I have a String formatted. And when I try to parse it it always throws an exception though i have tried setting Locale.English…

Shoaib Anwar
- 1,555
- 12
- 26
1
vote
1 answer
PDFBox PDFMergerUtility: how do I tell which sources failed?
So, I'm doing this:
PDFMergerUtility mergePdf = new PDFMergerUtility();
for (int i = 0; i < filePaths.size(); i++)
mergePdf.addSource(filePaths.get(i));
mergePdf.setDestinationFileName(tempFile.getAbsolutePath());…

Greg Valcourt
- 691
- 6
- 13
1
vote
2 answers
java.text.ParseException: Unparseable date exception at date UTC conversion
I am trying to convert my date in UTC format, for that I have to parse it using SimpleDateFormat class. But it is giving me Unparseable date exception. My code is given below:
//My date coming from server: Wed Dec 23 13:00:00 GMT+04:00…

Usman Khan
- 3,739
- 6
- 41
- 89
1
vote
1 answer
Error to parse date: "Unparseable date: "Jue 28-05-2016 22:30" (at offset 0)"
i'm new in Android and I want to parse a string with a date to convert it to a calendar object and then send it to the Android Calendar. My string value is Jue 28-05-2015 22:30 (Jue for Jueves, thursday in spanish) and my code looks like this:
…

miguelacio
- 152
- 1
- 15
1
vote
1 answer
Unparsable Date in Android Volley JsonArrayRequest
I am requesting a WCF Windows Service an array of objects, and these objects contain the DateTime type. When my Android application tries to read the data from the object that is in the JSONObject message is below:
Windows Log:
11/6/2014 1:42:00…

Renan Barbosa
- 1,046
- 3
- 11
- 31
1
vote
1 answer
ParseDate Unparseable
I have Strings representing dates with the format 2014-11-01T18:57:24.497Z which I want to parse
as SimpleDateFormat.
I am using the following code
// 2014-11-01T18:57:24.497Z
SimpleDateFormat startAnalyzing = new…

Luixv
- 8,590
- 21
- 84
- 121
0
votes
2 answers
java: ParseException: Unparseable date
i have a SimpleDateFormat format = new SimpleDateFormat("d M y H:m"); and i try to parse the String "8 Jan 2019 16:47" with it, but i get a ParseException. Did i create it the wrong way?
According to docs.oracle.com the M should recognize…

Ginso
- 459
- 17
- 33
0
votes
1 answer
How can i get input type "date" value from html form into java variable and SQL date format?
I tried to get the value of html input type "date" using request.getParameter() in servlet class, converted it into java date in JDBC Class, then to sql date format.
but there is this exception java.text.ParseException: Unparseable
date.
This is…

A. Maher
- 1
- 2
- 4
0
votes
2 answers
ParseException trying to parse Date from string with + in it
I have a problem to parse my date from string
This is my date
String startedFrom = "Fri,+31+Dec+3999+23:00:00+GMT"
DateFormat df = new SimpleDateFormat("EEE, dd MMM yyyy kk:mm:ss z", Locale.ENGLISH);
Date result = df.parse(startedFrom);
what I…

mbrc
- 3,523
- 13
- 40
- 64
0
votes
1 answer
Talend date and time combine
I combine two columns; date and time. When I pass the date and time hot coded it works fine but when I pass it through a column it throws the error:
Unparseable date: "05/05/1992"
I already tried this:
MaterialCodeCSV.xdate == null ?…

Maniraj
- 33
- 5
0
votes
1 answer
Unparseable Number in Google Analytics Talend Pull
I'm using the tGoogleAnalyticsInput component to extract some basic Google Analytics dimensions and metrics and write them to a sql database.
However, I keep getting a java error when it tries to pull the source "(direct)" it flags it as an…

Micah E
- 11
- 2
0
votes
1 answer
Unparseable date, but using the correct locale - Java
I'm having a problem with parsing my date.
I have the date "Mittwoch, 28. 06. 2017" as a string and using the following code for parsing it:
date = new SimpleDateFormat("EEEE, dd. MM. yyyy", Locale.GERMAN).parse("Mittwoch, 28. 06. 2017");
But this…

SO1992
- 127
- 1
- 13
0
votes
1 answer
Simpledateformat Error - unparseable date Mon Dec 14 13:25:00 CET 2015
I am receiving this standard date time from server:
Mon Dec 14 13:25:00 CET 2015
I use this code to covert it into date:
DateFormat formatter;
//"Mon Dec 14 13:25:00 CET 2015
formatter = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy");
But…

Kunsang Wangyal
- 39
- 3
-1
votes
1 answer
ParseException when parsing a date of yyyy-MM-dd format
private SimpleDateFormat dateFormatMonth = new SimpleDateFormat("dd/MM/yyyy", Locale.getDefault());
Date date = dateFormatMonth.parse(strtdate[0]);
strdate[0] contains "2018-06-11"
I'm getting a unparsable exception on this…

Moni
- 1
- 1
-1
votes
2 answers
java.text.ParseException: Unparseable date in JAVA Android
I am getting datetime Default CURRENT_TIMESTAMP result from MSSQL server database, Now i need to parse this date,time etc.
Database result is like 2016-05-14 12:54:01.363
All i need is to traverse this datetime format. As i am doing it below.
…
user5779538