mixpanel / mixpanel-android

Official Android Tracking Library for Mixpanel Analytics
http://mixpanel.com/
Apache License 2.0
1.02k stars 365 forks source link

Crash in v5.9.1, java.lang.AssertionError @ WebSocketImpl.java:675 #757

Closed MatthewWhitmer closed 3 years ago

MatthewWhitmer commented 3 years ago

I noticed an app crash in Crashlytics from the MixPanel SDK v5.9.1;

Fatal Exception: java.lang.AssertionError com.mixpanel.android.java_websocket.WebSocketImpl.isOpen (WebSocketImpl.java:675) com.mixpanel.android.java_websocket.client.WebSocketClient.connectBlocking (WebSocketClient.java:123) com.mixpanel.android.viewcrawler.EditorConnection. (EditorConnection.java:51) com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.connectToEditor (ViewCrawler.java:494) com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.handleMessage (ViewCrawler.java:333) android.os.Handler.dispatchMessage (Handler.java:106) android.os.Looper.loop (Looper.java:223) android.os.HandlerThread.run (HandlerThread.java:67)

zihejia commented 3 years ago

hi @MatthewWhitmer , the error is from the A/B testing. Are you using it right now? We are deprecating Messaging and Mobile A/B testing features(more details). It will be removed on Jan 1, 2022.