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

Hive QL runs fine in SQL Workbench but fails on Tableau

with loan_apps as ( SELECT m.LA_LOAN_ID Loan_ID, m.aid BORROWER_ACTOR_ID, m.app_create_dt APPLICATION_DATE, CASE WHEN m.PROD_ID in (1006 ,1008) THEN 'TERM LOAN' WHEN m.PROD_ID in(2000,2001,2002) THEN 'LOC' ELSE m.PROD_ID END AS…
0
votes
3 answers

unparseable date with timezone

I have to parse this two date private static final String d1 = "2013­-04­-02T08:37:56Z"; private static final String d2 = "2013-­04-­02T10:37:56+02:00"; for the first one I'm using the pattern "yyyy-MM-dd'T'HH:mm:ss'Z'" and for the second one…
Andrea
  • 190
  • 1
  • 20
0
votes
1 answer

"Unparseable date exception at offset 0" in Java

I am working on Android application in which I am trying to format my date according to my 2/1/16 5:20 AM Date. But I am getting java.text.ParseException: Unparseable date: "2/1/16 5:20 AM" (at offset 1). My code is given below: DateFormat…
Usman Khan
  • 3,739
  • 6
  • 41
  • 89
0
votes
0 answers

why parse exception Exception in thread "main" java.text.ParseException: Unparseable date: "Thu Jan 24 00:00:00 EET 2018

this programe should subtract 2 days tare3 and tare4. tare3 valued from current day (from system) tare4 value from text file (element[3]), when I parsed string (element[3]) to date (tare4) its give`me parseexception date saved in file looked like…
0
votes
1 answer

SimpleDateFormat throws ParseException in AndroidStudio before compiling

I'm making an app, that is storing some dates in a SQLite db on an android device. Currently, most of it works as intended, except for parsing the text string that i store the date as. private final String ALARMS_COLUMN_TIME = "time"; …
Ronin
  • 65
  • 1
  • 9
0
votes
3 answers

Parsing date with SimpleDateFormat Class Android

I know It's very known and easy solution for the issue that I'm going to describe here. I'm trying to parse following date format but getting parse exception only even if passing right format to parse that String. try{ String mDateFormat = "Tue…
Jai
  • 1,974
  • 2
  • 22
  • 42
0
votes
4 answers

Convert String to Timestamp Java

So I am having this issue that I can't wrap my head around. I've read similar questions posed but very case I've found there is an issue with the format, and my format is correct. Basically I am trying to convert a String into a Timestamp, and I get…
jensd
  • 51
  • 1
  • 2
  • 6
0
votes
1 answer

JSTL Number parsing error

I need the current year as an integer value (e.g. 2015) stored in a variable in a JSP page. This is the JSTL tags i'm using:
Oneiros
  • 4,328
  • 6
  • 40
  • 69
0
votes
0 answers

Unparseable date exception while converting UTC time

So there is my problem- i am using this format to convert my string into a date : SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zZ yyyy", Locale.US); and there is the code that i am trying to convert with him ("s" is an…
Tal
  • 235
  • 5
  • 13
0
votes
1 answer

Parse.com httpRequest timeout

I am using Parse.com's httpRequest to retrieve the source code of a website. Code: Parse.Cloud.define("extract_website_simple", function(request, response) { return Parse.Cloud.httpRequest({url: 'http://bet.hkjc.com/marksix/index.aspx?lang=en'…
pearmak
  • 4,979
  • 15
  • 64
  • 122
0
votes
2 answers

Parse a empty string into SimpleDateFormat

So, so far I have this: static SimpleDateFormat df = new SimpleDateFormat("dd MM yyyy"); jDateChooser8 = new com.toedter.calendar.JDateChooser(); when I parse the right date let's say this one: jDateChooser8.setDate(df.parse("24 07 1987")); it's…
mimi87
  • 53
  • 1
  • 9
0
votes
1 answer

error in converting String to Calendar?

i want to get arrival date of a client in string and pass it as a parameter to strToCal method,this method returns an Calendar object with that date,but it wouldn't work,id get parse exception error: static String pattern = "yyyy-MM-dd…
0
votes
2 answers

java.text.ParseException: Unparseable date from ("d MMM yyyy kk:mm:ss zzz")

I get ParseException in second line of the folowing code: SimpleDateFormat formatter = new SimpleDateFormat("d MMM yyyy kk:mm:ss zzz"); Date response = formatter.parse(dateStr); Exception: java.text.ParseException: Unparseable date: "1 Dec 2014…
user3782779
  • 1,669
  • 3
  • 22
  • 36
0
votes
2 answers

No results found error in Parse

I am using Parse in my android application. My aim is to retrieve all the names of quizTitle in my Class CSE_1234 for which the status is "no". But I am getting ParseException: No results found Here is my code: ParseQuery query =…
user4258172
0
votes
1 answer

hive command in bash script won't load file into table

I am writing a bash script that - among other things - has to create a hive table and load a csv file (whose name is not known a priori) into that table. I have exported the name of the file foo.csv into the environment variable myfile and have…
Shesandra
  • 1
  • 1
  • 1