Skip to content

java.util.ConcurrentModificationException in some places #2

@phinfinity

Description

@phinfinity

There are some places where we iterate and modify collections concurrently, make a survey of entire library and remove these:

e.g StackTrace:

E/AndroidRuntime( 9519): FATAL EXCEPTION: main
E/AndroidRuntime( 9519): java.util.ConcurrentModificationException
E/AndroidRuntime( 9519): at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
E/AndroidRuntime( 9519): at java.util.HashMap$KeyIterator.next(HashMap.java:833)
E/AndroidRuntime( 9519): at com.phinvader.libjdcpp.DCClient.get_nick_list(DCClient.java:267)
E/AndroidRuntime( 9519): at com.phinmadvader.andcpp.DCPPService.get_nick_list(DCPPService.java:402)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions