{"action":"closed","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/193","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/193/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-Android/issues/193/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-Android/issues/193","id":111621538,"number":193,"title":"ParseDateForm doesn't work - getTime() Error","user":{"login":"dekrandroid","id":6017134,"avatar_url":"https://avatars.githubusercontent.com/u/6017134?v=3","gravatar_id":"","url":"https://api.github.com/users/dekrandroid","html_url":"https://github.com/dekrandroid","followers_url":"https://api.github.com/users/dekrandroid/followers","following_url":"https://api.github.com/users/dekrandroid/following{/other_user}","gists_url":"https://api.github.com/users/dekrandroid/gists{/gist_id}","starred_url":"https://api.github.com/users/dekrandroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dekrandroid/subscriptions","organizations_url":"https://api.github.com/users/dekrandroid/orgs","repos_url":"https://api.github.com/users/dekrandroid/repos","events_url":"https://api.github.com/users/dekrandroid/events{/privacy}","received_events_url":"https://api.github.com/users/dekrandroid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-15T13:52:08Z","updated_at":"2015-10-16T09:04:38Z","closed_at":"2015-10-16T09:04:38Z","body":"10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat: could not parse date: {\"__type\":\"Date\",\"iso\":\"2015-10-15T13:44:06.020Z\"}\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat: java.text.ParseException: Unparseable date: \"{\"__type\":\"Date\",\"iso\":\"2015-10-15T13:44:06.020Z\"}\" (at offset 0)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at java.text.DateFormat.parse(DateFormat.java:571)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseDateFormat.parse(ParseDateFormat.java:42)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseObject.mergeFromServer(ParseObject.java:986)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseObject.fromJSON(ParseObject.java:686)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseDecoder.decode(ParseDecoder.java:125)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseDecoder.convertJSONArrayToList(ParseDecoder.java:45)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseDecoder.decode(ParseDecoder.java:71)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseCloudCodeController.convertCloudResponse(ParseCloudCodeController.java:52)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at com.parse.ParseCloudCodeController$1.then(ParseCloudCodeController.java:36)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$14.run(Task.java:784)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.completeImmediately(Task.java:775)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.continueWith(Task.java:574)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.continueWith(Task.java:585)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$12.then(Task.java:679)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$12.then(Task.java:667)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$15.run(Task.java:825)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.completeAfterTask(Task.java:816)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.access$200(Task.java:32)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$11.then(Task.java:621)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$11.then(Task.java:618)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.runContinuations(Task.java:861)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.access$600(Task.java:32)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$TaskCompletionSource.trySetResult(Task.java:916)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$TaskCompletionSource.setResult(Task.java:950)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$15$1.then(Task.java:842)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$15$1.then(Task.java:829)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$14.run(Task.java:784)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.completeImmediately(Task.java:775)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.continueWith(Task.java:574)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.continueWith(Task.java:585)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$15.run(Task.java:829)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.completeAfterTask(Task.java:816)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.access$200(Task.java:32)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$11.then(Task.java:621)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$11.then(Task.java:618)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.runContinuations(Task.java:861)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.access$600(Task.java:32)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$TaskCompletionSource.trySetResult(Task.java:916)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$TaskCompletionSource.setResult(Task.java:950)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$15$1.then(Task.java:842)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$15$1.then(Task.java:829)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$14.run(Task.java:784)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.completeImmediately(Task.java:775)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.continueWith(Task.java:574)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task.continueWith(Task.java:585)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at bolts.Task$15.run(Task.java:829)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n10-15 15:44:08.895 15139-16265/com.kikocosmetics.android.app.debug V/ParseDateFormat:     at java.lang.Thread.run(Thread.java:818)\r\n10-15 15:44:08.925 15139-15139/com.kikocosmetics.android.app.debug W/System.err: com.parse.ParseException: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference\r\n10-15 15:44:08.925 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseTaskUtils$2$1.run(ParseTaskUtils.java:113)\r\n10-15 15:44:08.925 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at android.os.Handler.handleCallback(Handler.java:739)\r\n10-15 15:44:08.925 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:95)\r\n10-15 15:44:08.925 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at android.os.Looper.loop(Looper.java:145)\r\n10-15 15:44:08.925 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5832)\r\n10-15 15:44:08.925 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at java.lang.reflect.Method.invoke(Native Method)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at java.lang.reflect.Method.invoke(Method.java:372)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.util.Date.getTime()' on a null object reference\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseObject$State$Init.createdAt(ParseObject.java:133)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseObject.mergeFromServer(ParseObject.java:986)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseObject.fromJSON(ParseObject.java:686)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseDecoder.decode(ParseDecoder.java:125)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseDecoder.convertJSONArrayToList(ParseDecoder.java:45)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseDecoder.decode(ParseDecoder.java:71)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseCloudCodeController.convertCloudResponse(ParseCloudCodeController.java:52)\r\n10-15 15:44:08.935 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at com.parse.ParseCloudCodeController$1.then(ParseCloudCodeController.java:36)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$14.run(Task.java:784)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.completeImmediately(Task.java:775)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.continueWith(Task.java:574)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.continueWith(Task.java:585)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$12.then(Task.java:679)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$12.then(Task.java:667)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$15.run(Task.java:825)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.completeAfterTask(Task.java:816)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.access$200(Task.java:32)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$11.then(Task.java:621)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$11.then(Task.java:618)\r\n10-15 15:44:08.945 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.runContinuations(Task.java:861)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.access$600(Task.java:32)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$TaskCompletionSource.trySetResult(Task.java:916)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$TaskCompletionSource.setResult(Task.java:950)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$15$1.then(Task.java:842)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$15$1.then(Task.java:829)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$14.run(Task.java:784)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.completeImmediately(Task.java:775)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.continueWith(Task.java:574)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.continueWith(Task.java:585)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$15.run(Task.java:829)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.completeAfterTask(Task.java:816)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.access$200(Task.java:32)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$11.then(Task.java:621)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$11.then(Task.java:618)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.runContinuations(Task.java:861)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.access$600(Task.java:32)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$TaskCompletionSource.trySetResult(Task.java:916)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$TaskCompletionSource.setResult(Task.java:950)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$15$1.then(Task.java:842)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$15$1.then(Task.java:829)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$14.run(Task.java:784)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105)\r\n10-15 15:44:08.955 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.completeImmediately(Task.java:775)\r\n10-15 15:44:08.965 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.continueWith(Task.java:574)\r\n10-15 15:44:08.965 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task.continueWith(Task.java:585)\r\n10-15 15:44:08.965 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at bolts.Task$15.run(Task.java:829)\r\n10-15 15:44:08.965 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n10-15 15:44:08.965 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n10-15 15:44:08.965 15139-15139/com.kikocosmetics.android.app.debug W/System.err:     at java.lang.Thread.run(Thread.java:818)\r\n10-15 1"}}