Skip to content

🐛 Bug Report: Flutter Windows Concurrent Modification Error #59

@kekavc24

Description

@kekavc24

👟 Reproduction steps

When I try database.list() with Queries or teams.getMemberships() throws a Unhandled Exception: AppwriteException: null, Concurrent modification during iteration: Instance(length:2) of '_GrowableList'

👍 Expected behavior

It should fetch the polled results normally with results like in Flutter Android, iOS and Web.

👎 Actual Behavior

Constantly throws a Unhandled Exception: AppwriteException: null, Concurrent modification during iteration: Instance(length:2) of '_GrowableList' or may not. It was hard understanding the behaviour. When I debugged with VS Code debugger it shows that the cascade :

dart:_internal/iterable.dart file in flutter line 336 which throws the Concurrent modification error => triggered by client_io.dart at line 180 which is iterating i think => triggered by line 251 still in client_io.dart which throws the error at line 264 in same file => my code..

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Windows

🧱 Your Environment

Version 0.13.4

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions