parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.89k stars 735 forks source link

Attempted to find non-existent uuid #806

Open olheimer opened 6 years ago

olheimer commented 6 years ago

I'm using the local data store. Somehow after a while using my App I do get an IllegalStateException:

java.lang.IllegalStateException: Attempted to find non-existent uuid 2a5d65bb-29e1-4e8a-bcf9-b8ca1ec2d653 at com.parse.OfflineStore$3.then(OfflineStore.java:270) at com.parse.OfflineStore$3.then(OfflineStore.java:263) at bolts.Task$14.run(Task.java:872) at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105) at bolts.Task.completeImmediately(Task.java:863) at bolts.Task.continueWith(Task.java:661) at bolts.Task.continueWith(Task.java:672) at bolts.Task$12.then(Task.java:766) at bolts.Task$12.then(Task.java:754) at bolts.Task$15.run(Task.java:917) at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105) at bolts.Task.completeAfterTask(Task.java:908) at bolts.Task.access$100(Task.java:32) at bolts.Task$11.then(Task.java:708) at bolts.Task$11.then(Task.java:705) at bolts.Task.runContinuations(Task.java:956) at bolts.Task.trySetResult(Task.java:994) at bolts.TaskCompletionSource.trySetResult(TaskCompletionSource.java:39) at bolts.TaskCompletionSource.setResult(TaskCompletionSource.java:62) at bolts.Task$15$1.then(Task.java:934) at bolts.Task$15$1.then(Task.java:921) at bolts.Task$14.run(Task.java:872) at bolts.BoltsExecutors$ImmediateExecutor.execute(BoltsExecutors.java:105) at bolts.Task.completeImmediately(Task.java:863) at bolts.Task.continueWith(Task.java:661) at bolts.Task.continueWith(Task.java:672) at bolts.Task$15.run(Task.java:921) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764)

From this point on the only option is to delete data/uninstall the app. Otherwise app is crashing with the same error on and on.

I'm using Parse 1.16.7 The issue happens at least on Android 8 and Android 6.

I saw that the same bug exists for iOS and should have been fixed with 1.17 release.

Is there any action on this under Android?

olheimer commented 6 years ago

Ist there any idea how to fix this?

flovilmart commented 6 years ago

Do you have any steps to reproduce this issue?

olheimer commented 6 years ago

Unfortunately it happens as described after a while using local data store.

But it was discussed here also in 2015 by Parse: https://developers.facebook.com/bugs/614018488703097/

olheimer commented 6 years ago

...initially the discussion was about iOS but in the end also Android gets discussed