Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to iterate a cursor that doesn't exist #368

Open
nbrustein opened this issue Nov 3, 2022 · 0 comments
Open

Attempt to iterate a cursor that doesn't exist #368

nbrustein opened this issue Nov 3, 2022 · 0 comments

Comments

@nbrustein
Copy link

Rarely, when trying to write to the database in the wild, we see a Attempt to iterate a cursor that doesn't exist error in our error reporting services.

I found this issue that sounded kind of similar. But that issue seemed to only be happening to people when the app was backgrounded. In our case it's happening when someone is actively using the app.

Do you have any idea what could lead to an error like this?

I haven't tried just building in a retry for this error, but maybe that's worth it?

I'm using Dexie, cordova-sqlite-storage and setting things like this:

const shim = {};
setGlobalVars(shim, { win: window.sqlitePlugin /* DEBUG: true */ });

dexieConfig.indexedDB = shim.indexedDB;
dexieConfig.IDBKeyRange = shim.IDBKeyRange;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant