Skip to content

ConcurrentModificationException in Tweaks #414

Closed
@agrawalsuneet09

Description

@agrawalsuneet09

Hi team,

I am facing a crash randomly (logs below) even if we I am not trying to change any tweak value.
I tried to downgrade the mixpanel version number to 4.9.0 but it didn't help.
Please look into the matter as the number of crashes getting increase rapidly.

Thanks

Fatal Exception: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:851)
at java.util.HashMap$EntryIterator.next(HashMap.java:891)
at java.util.HashMap$EntryIterator.next(HashMap.java:890)
at java.util.HashMap.putAllForCreate(HashMap.java:485)
at java.util.HashMap.(HashMap.java)
at com.mixpanel.android.mpmetrics.Tweaks.getDefaultValues(Tweaks.java:61)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.applyVariantsAndEventBindings(ViewCrawler.java:874)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.initializeChanges(ViewCrawler.java:431)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.handleEventBindingsReceived(ViewCrawler.java:773)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.handleMessage(ViewCrawler.java:317)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions