You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1111)
at java.util.ArrayList$Itr.next(ArrayList.java:1064)
at com.cisco.android.common.utils.extensions.ListExtKt.a(Unknown Source:25)
at com.cisco.android.common.utils.RootViewObserver.access$injectObserverIfNeeded(SourceFile:1)
at com.cisco.android.common.utils.RootViewObserver$c.doFrame(Unknown Source:9)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1592)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1603)
at android.view.Choreographer.doCallbacks(Choreographer.java:1125)
at android.view.Choreographer.doFrame(Choreographer.java:1026)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1567)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8790)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Expected Result
Able to access the app
Actual Result
App crash on start. After removing the PostHog Init, it works again. Was updating from PostHog 1 to PostHog 3 earlier.
The text was updated successfully, but these errors were encountered:
@ubeyou I wonder if it's conflicting with any dependencies.
As you can see in the stack trace, you see com.cisco.android, this is not part of our SDK.
Can you add a breakpoint to somewhere here:
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1111)
at java.util.ArrayList$Itr.next(ArrayList.java:1064)
at com.cisco.android.common.utils.extensions.ListExtKt.a(Unknown Source:25)
at com.cisco.android.common.utils.RootViewObserver.access$injectObserverIfNeeded(SourceFile:1)
at com.cisco.android.common.utils.RootViewObserver$c.doFrame(Unknown Source:9)
And see where this is happening? Thanks
Can you try the latest version? 3.9.3
Version
3+
Steps to Reproduce
I have initialize posthog 3+ in the App.kt
Then I'm getting Crash and I can't login anymore.
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1111)
at java.util.ArrayList$Itr.next(ArrayList.java:1064)
at com.cisco.android.common.utils.extensions.ListExtKt.a(Unknown Source:25)
at com.cisco.android.common.utils.RootViewObserver.access$injectObserverIfNeeded(SourceFile:1)
at com.cisco.android.common.utils.RootViewObserver$c.doFrame(Unknown Source:9)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1592)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1603)
at android.view.Choreographer.doCallbacks(Choreographer.java:1125)
at android.view.Choreographer.doFrame(Choreographer.java:1026)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1567)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:224)
at android.os.Looper.loop(Looper.java:318)
at android.app.ActivityThread.main(ActivityThread.java:8790)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)
Expected Result
Able to access the app
Actual Result
App crash on start. After removing the PostHog Init, it works again. Was updating from PostHog 1 to PostHog 3 earlier.
The text was updated successfully, but these errors were encountered: