FATAL EXCEPTION: com.mixpanel.android.viewcrawler.ViewCrawler -- java.lang.AssertionError
See original GitHub issue@patedit Please all my crash events recorded on mixpanel are coming from the SDK Guess it’s somewhere in this file
public boolean isOpen() {
assert ( readystate == READYSTATE.OPEN ? !flushandclosestate : true );
return readystate == READYSTATE.OPEN;
}
Full stacktrace
FATAL EXCEPTION: com.mixpanel.android.viewcrawler.ViewCrawler
java.lang.AssertionError
at com.mixpanel.android.java_websocket.WebSocketImpl.isOpen(WebSocketImpl.java:675)
at com.mixpanel.android.java_websocket.client.WebSocketClient.connectBlocking(WebSocketClient.java:123)
at com.mixpanel.android.viewcrawler.EditorConnection.<init>(EditorConnection.java:51)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.connectToEditor(ViewCrawler.java:494)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.handleMessage(ViewCrawler.java:333)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Fatal Exception: java.lang.AssertionError - Android
Description Fatal Exception: java.lang.AssertionError at com.zipow.videobox.util.PreferenceUtil.initialize(PreferenceUtil.java:1)
Read more >Assertion Error in Android Studio when trying to compile the ...
It works fine when I build via CLI. java.lang.AssertionError at com.android.tools.idea.gradle.compiler.AndroidGradleBuildProcessParametersProvider.
Read more >SDK Integration: Android Advanced | Mixpanel Developer Docs
Read our advanced documentation on Mixpanel's Android SDK integration. You'll dive deeper into additional configurations and use cases ...
Read more >Official Mixpanel Android SDK - AndroidRepo
Our app crashes with the following stack traces. java.lang.RuntimeException: Unable to start activity ComponentInfo{<packagename>/com.mixpanel.
Read more >AssertionError: Assertion failed caused by unbound Android ...
What is the expected result? Correct build. What happens instead? e: java.lang ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Ezike - thanks for bringing this up to my attention. Production devices should not be trying to use
ViewCrawler
. Could you add this meta-tag inside your application tag in yourAndroidManifest.xml
file?This will solve your issue. Thanks!
Thanks.