Questions tagged [unparseable]
30 questions
6
votes
1 answer
DateFormat parse of dates changed behaviour from Java 8 to Java 9, are there any relevant environment settings?
I have a legacy web application with Java code compiled and running in Java 5, when trying to build a new environment to run the same code in Java 12 I came across a date formatting problem. I've tested this in Java 5, 7, 8, 9, 10, 11, 12 and the…

hairysocks
- 111
- 7
5
votes
5 answers
Unparseable date: "Fri Oct 10 23:11:07 IST 2014" (at offset 20)
I have created this funtion to parse date but this gives exception : Unparseable date: "Fri Oct 10 23:11:07 IST 2014" (at offset 20) . Please help as I am not able to figure out whats wrong with this code.
public Date parseDate() {
String…

Priya Singhal
- 1,261
- 11
- 16
3
votes
1 answer
SimpleDateFormat causing unparseable error
I kinda used the following source to create my own sdf-pattern:
https://docs.oracle.com/en/java/javase/13/docs/api/java.base/java/text/SimpleDateFormat.html
Unfortunately
SimpleDateFormat mFormatter = new SimpleDateFormat("EEE, dd MMM yyyy…

Taka
- 131
- 1
- 8
3
votes
3 answers
java.text.ParseException: Unparseable date: java.text.DateFormat.parse(DateFormat.java:579)
I have problem with SimpleDateFormat.
SimpleDateFormat dtfmt=new SimpleDateFormat("dd MMM yyyy hh:mm a", Locale.getDefault());
Date dt=dtfmt.parse(deptdt);
In Android Emulator works fine but in phone I have this error:
W/System.err:…

Piotr
- 31
- 1
- 3
2
votes
2 answers
java to mysql. I need convert from string parametre to timestamp
I'm trying to parser String to Timestamp because I need to save this data on bbdd mysql.
String dateString: "2018-10-17T22:37:10.000+0000";
java.sql.Timestamp timeStampDate = null;
try {
DateFormat formatter;
formatter = new…

Kara
- 145
- 1
- 8
2
votes
1 answer
Calendar set date causing exception with message "Unparsable date"
My code to get the calendar date frone the string "2018-04-14'T'15:38:14",
it is currently causing a exception WHEN i call setTime. The code
Calendar cal = Calendar.getInstance();
// format of date yyyy-MM-dd'T'HH:mm:ss
…

Ted pottel
- 6,869
- 21
- 75
- 134
2
votes
4 answers
Unparseable date: "2017-01-02T01:41:24Z" (at offset 10)
2017-01-02T01:41:24Z is my actual date format and I want to convert this date in yyyy-MM-dd hh:mma format.
Please see the following code I tried so far,
String newsDate = "2017-01-02T01:41:24Z";
SimpleDateFormat sdf = new…

Dnyanesh M
- 1,349
- 4
- 18
- 46
2
votes
2 answers
fromJson raises unparseable date exception
I develop android app which have client-server and DB.
I use gson to parse the objects between the server and the client.
My type of the date is java.sql.date
when I run this code (Message is an object which I created...):
public ArrayList…

binyamina
- 173
- 1
- 14
1
vote
1 answer
Changing the Session Languge leads to "java.text.ParseException: Unparseable date
whenever I'm defining the timeframe being in German session language after changing to English lang. session (and vice versa) I'm getting the:
java.text.ParseException: Unparseable date: "10.10.2018"
Here is the fragment:
Date startDateFormatted…

alexandru catanet
- 89
- 3
- 9
1
vote
1 answer
Unparseable date +01:00 groovy
How to parse this date format?
2019-05-14T15:07:19.000+01:00
I have used "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" but I am getting an unparseable date error.
have also tried these:
yyy-MM-dd'T'HH:mm:ss.SSSZZ…

Geo Padasian
- 11
- 1
1
vote
1 answer
Hazelcast caller member throws timeout exception when a serialization exception happens on callee member
I'm using Hazelcast (JAVA, version 3.7.5) in a scenario with 2 members. The first member delegates a task to the second member through an IExecutorService. After some processing, the second member tries to send back an unserializable response.
As…

Gordak
- 2,060
- 22
- 32
1
vote
0 answers
google actions UnparseableJsonResponse
I used to solution from this github: https://github.com/OpenDog/actions-on-aws and got it running with the given command "bst proxy lambda index.js"
I am working with Google Actions SDK (not dialogflow or templates).
When I am testing my app in the…

Lunex
- 99
- 1
- 6
1
vote
2 answers
Unparseable date: "Apr 5, 2018" in Java
I want an output in Month,Year wise only but I'm getting a problem. It is an Exception of Unparseable date: "Apr 5, 2018". I have stored the date in Bill_Date Column in sqlite and it has its format of "Apr 5, 2018" in its field. So how can I get…

md azaz
- 68
- 7
1
vote
3 answers
Java: Date parsing, why do I get an error
Date date = new Date();
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SZ");//2018-02-05T18:00:51.001+0000
String text = dateFormat.format(date);
Date test = dateFormat.parse(text);
The first three lines work…

NDDT
- 445
- 1
- 10
- 27
1
vote
1 answer
Unparseable date 'yyyy-MM-dd HH:mm:ss' during importing ARFF file
I'm trying to import an arff file using Java Weka Api but it gives me an error:
DataSource source = new DataSource("C:/Users/user/Documenti/file.arff");
Instances dataset = source.getDataSet();
java.io.IOException: unparseable date: 2014-03-30…

Gaetano
- 145
- 1
- 5
- 19