Questions tagged [parseexception]

A Java ParseException gets raised whenever a ParseObject issues an invalid request.

A Java ParseException gets raised whenever a ParseObject issues an invalid request, such as deleting or editing an object that no longer exists on the server, or when there is a network failure preventing communication with the Parse server.

188 questions
0
votes
1 answer

Parsing a date works in IDE but not when running from a runnable JAR file

I'm having a problem with Date Parsing. I am getting dates from JXDatePicker and need to re-format them in order to send a query to MySQL. the date I get from JXDatePicker is in the following format: Mon Oct 06 00:00:00 IDT 2014 I use this…
David Gidony
  • 1,243
  • 3
  • 16
  • 31
0
votes
0 answers

Parse SDK Android --> ParseException

I'm using saveInbackground() method with Parse passing a wrong class name (Xeveloper instead of Developer). Should'nt I have a ParseException of type INVALID_CLASS_NAME on the SaveCallback() instead of a NULL ? ParseObject developer = new…
WaMe
  • 31
  • 2
0
votes
4 answers

Java Date exception handling try catch

Is there some sort of exception in Java to catch an invalid Date object? I'm trying to use it in the following method, but I don't know what type of exception to look for. Is it a ParseException. public boolean setDate(Date date) { this.date…
user69514
  • 26,935
  • 59
  • 154
  • 188
0
votes
2 answers

Unparseable Date error - Talend

I am trying to copy data from Excel to a SQL table. I have dates generated in Excel file using RAND function. I am taking them as strings in an input and trying to convert them in date data type using tConvertType. I have setted its datatype as…
Quick-gun Morgan
  • 338
  • 12
  • 31
0
votes
2 answers

Issues converting String to Date in Java

I need to convert an array of strings into the type Date in Java. I looked up some sample codes, which they all pretty much ask to do the same straight forward thing. This is what I'm doing: String[] dateString = { "2014/05/01", "2014/05/02",…
theJuls
  • 6,788
  • 14
  • 73
  • 160
0
votes
0 answers

ParseException when trying to get Date from String

Well, I get a ParseException when executing this code: Date date = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy").parse("Sun Dec 01 00:05:03 CET 2013"); Where is the error?
0
votes
0 answers

Parse Exception Error

I am getting the below error on startup in informa.jar. I tried looking for this exception but couldn't find anything. Could you please provide any pointers. de.nava.informa.utils.FeedManagerException: ParseException: Error on line 57: The element…
StarFish
  • 77
  • 3
  • 11
0
votes
1 answer

String from\to GregorianCalendar cause java.text.ParseException: Unparseable date

I need to convert a GregorianCalendar to a String and reconvert this string to a GregorianCalendar again I use this to convert the String in a GregorianCalendar DateFormat format = new SimpleDateFormat(); Date date = null; …
AndreaF
  • 11,975
  • 27
  • 102
  • 168
0
votes
1 answer

lucene ParseException when the query is too long

org.apache.lucene.queryParser.QueryParser.parse(String arg0) throws ParseException when the String arg0 is too long, is there any idea on how to avoid this problem?
user3411226
  • 183
  • 1
  • 14
0
votes
1 answer

in networkX reading a gml file getting ParseException: Expected "]"

I am trying to read a GML (graph modelling language) file from networkX, but it returns a ParseError. I just wrote a couple of lines of code: import networkx as nx G = nx.read_gml('test.gml') print G.node This is the GML file: graph [ directed 1 …
0
votes
0 answers

Which class logs the error "The element type "XXXXX" must be terminated by the matching end-tag"?

I want t ofind out which class actually writes the message "The element type "XXXXX" must be terminated by the matching end-tag" to the logs in case end tag is missing in a JSP. Thanks
0
votes
6 answers

23/12/2013 is mapping with MM/dd/yyyy format why, why not ParseException

Can anybody help? public void dateCalender() throws ParseException{ System.out.println(new SimpleDateFormat("MM/dd/yyyy", Locale.ENGLISH).parse("120/12/2013").toString()); //OUTPUT (Unexpected): Mon Dec 12 00:00:00 IST 2022 …
Rupesh
  • 2,627
  • 1
  • 28
  • 42
0
votes
3 answers

SimpleDateFormat ParseException in some devices

I'm parsing a backoffice date (C#) \\/Date\\((\\d+)([-+]\\d+)?\\)\\/ with org.joda.time.DateTime Example: 1 - BO date = /Date(1380891215020+0100)/ 2 - DateTime BO date parsed = 2013-10-04T12:53:35.020+01:00 3 - Calendar.setTime(DateTime BO date…
GuilhE
  • 11,591
  • 16
  • 75
  • 116
0
votes
5 answers

String conversion into DateTime

I have a joda DateTime value stored in mysql as String. But when I try to get this string from mysql table, its format changes and when I try to convert this string into DateTime, it throws:- IllegalArgumentException: Invalid format: "2012-10-04…
vikas27
  • 563
  • 5
  • 14
  • 36
0
votes
1 answer

How to resolve java.text.ParseException

I'm having a directory which is having the folders with the name of date format. I have a code to delete the folders which are in format other than the date format.Its working but throwing Exception. My code is: DateFormat dateFormat=new…
Vignesh Vino
  • 1,242
  • 4
  • 25
  • 50