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
4
votes
1 answer

How to get json column as string in postgresql with jpa criteria builder?

I have a json column in table like: @Type(type = "jsonb") @Column(name = "json_data", columnDefinition = "json") private List jsonData = Collections.emptyList(); public class Persion implements Serializable { …
Harry
  • 41
  • 2
  • 4
4
votes
3 answers

Time parsing issue on Android

I am getting a parse exception when trying to parse the time string 02:22 p.m.. I have the following conversion function: public static long convertdatetotimestamp(String datestring, String newdateformat, String olddateformat){ SimpleDateFormat…
SARATH V
  • 500
  • 1
  • 7
  • 33
4
votes
4 answers

MismatchedTokenException on hive create table query

I'm trying to create a Hive table with the following query: CREATE TABLE IF NOT EXISTS BXDataSet (ISBN STRING, BookTitle STRING, BookAuthor STRING, YearOfPublication STRING, Publisher STRING, ImageURLS STRING, …
bachr
  • 5,780
  • 12
  • 57
  • 92
4
votes
2 answers

ParseException for org.osmdroid.DefaultResourceProxyTest

When I try to run this Android project in Eclipse Kepler 4.3.2 on Ubuntu 13.10. the dexer throws this ParseException: $ Dx UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.cf.iface.ParseException: class name …
JJD
  • 50,076
  • 60
  • 203
  • 339
4
votes
1 answer

org.apache.el.parser.ParseException: Encountered "(" at line X, column Y. Was expecting one of [...]

The below JSF snippet: Throws this exception: Encountered "(" at line 1, column 18. Was expecting one of: "}" ... "." ... "[" ... ">" ... "gt" ... "<" ... "lt" ... ">=" ... "ge" ... "<=" ...…
Shankar
  • 175
  • 2
  • 7
  • 17
3
votes
4 answers

struck in parsing custom data format in java

I am trying to parse the date in a particular custom format. WEDNESDAY 25th JAN 2012 - 12:44:07 PM like this.. I created a SimpleDateFormat for this.. SimpleDateFormat sdf = new SimpleDateFormat("EEEE DD MMM YYYY - HH:MM:SS aa" ); the problem is…
karthik
  • 463
  • 1
  • 6
  • 16
3
votes
1 answer

SEVERE: Parse error in application web.xml file

I'm trying to deploy an application on tomcat 7.0.23 (the web app is all compiled and built), and I've been getting this error in catalina.out: INFO: validateJarFile(/Library/Tomcat/webapps/app2/WEB-INF/lib/javaee-api-6.0.jar) - jar not loaded. See…
David Zhao
  • 4,284
  • 11
  • 46
  • 60
3
votes
5 answers

Java ParseException while attempting String to Date parsing

I'm having a hard time Parsing/Formatting a Date string received back from a web service. I've attempted multiple approaches, but with no luck. Sample Date String: 2011-10-05T03:00:00Z Exception: W/System.err(10072): java.text.ParseException:…
hooked82
  • 6,336
  • 4
  • 41
  • 46
3
votes
6 answers

Calculating days between two dates in JAVA (catch ParseException error)

I’m trying to calculate the number of days between 2 dates. When I run this, it throws the catch (ParseException ex). import java.text.SimpleDateFormat; import java.text.ParseException; import java.util.Date; import…
M0nzter
  • 53
  • 5
3
votes
1 answer

Handle SAX parserexception

I have a problem with a SAX xml parser. I want to parse a xml file which obviously is not valid (I get an ExpatParser$ParseException: At line 5, column 169: not well-formed (invalid token)). I know what is wrong, but the xml file ist not created by…
jpm
  • 3,300
  • 1
  • 19
  • 29
3
votes
2 answers

SQL code error mismatched input 'from' expecting

Hi below is my SQL code and it gives me error and I do not know why. If anyone can help. select time_dif, count(time_dif) as count from ( select datediff(so_so_close_time,date_closed) as time_dif from…
Aimee
  • 77
  • 1
  • 2
  • 9
3
votes
2 answers

Android Parse Exception when I build

I am developing an app for my family business and I can't figure out what the source of this build time error is? Error:com.android.dx.cf.iface.ParseException: class name (BaseHTTPServer$py) does not match path (Lib/BaseHTTPServer$py.class) I…
Fischerk12
  • 125
  • 1
  • 9
3
votes
3 answers

java.lang.IllegalArgumentException: Parse error - Date format error?

I am storing the current date in SQLite db using the variable CURRENT_DATE. I found that the date format used is yyyy-mm-dd in the same. I want to parse the date in the code but I get this error: java.lang.IllegalArgumentException: Parse error: …
Java Enthusiast
  • 1,161
  • 2
  • 15
  • 30
3
votes
2 answers

How to parse String to BigDecimal without getting error

When I want to parse value from String array to BigDecimal I have this error: Exception in thread "main" java.text.ParseException: Unparseable number: "86400864008640086400222" I am searching on internet for the solution how to fix this. Maybe you…
Agnes
  • 33
  • 1
  • 5
3
votes
3 answers

SimpleDateFormat possible error in method parse

I receive a string that represent a date, I need convert this string to date, and validate that the string is a valid date. I receive the string 33-12-2013 a the parse method return a date 01-01-2014, the code: Date…
victorpacheco3107
  • 822
  • 3
  • 10
  • 32
1
2
3
12 13