delight-im / delight-im/Android-DDP

java.util.ConcurrentModificationException if i execute the query

Open
#117 21 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
274
Forks
51
PR merge metrics
No merged PRs in 30d

Description

if i call the Query in side the on data added i am getting the below exception how to solve this one

java.util.ConcurrentModificationException
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:346)
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:375)
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:375)
at java.util.HashMap.constructorPutAll(HashMap.java:208)
at java.util.LinkedHashMap.(LinkedHashMap.java:133)
at im.delight.android.ddp.db.memory.InMemoryCollection$DocumentsMap.(InMemoryCollection.java:0)
at im.delight.android.ddp.db.memory.InMemoryQuery.(InMemoryQuery.java:37)
at im.delight.android.ddp.db.memory.InMemoryCollection.whereEqual(InMemoryCollection.java:65)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.