Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

viewcrawler NPE crash #515

Closed
yuanliu666 opened this issue Nov 16, 2017 · 1 comment
Closed

viewcrawler NPE crash #515

yuanliu666 opened this issue Nov 16, 2017 · 1 comment

Comments

@yuanliu666
Copy link

yuanliu666 commented Nov 16, 2017

Hi I am running app on emulator API 16, using com.mixpanel.android:mixpanel-android:5.2.1 And it's causing below NPE crash. It works fine on other devices with API 19, 23 and 26. Could you help me with this issue? Thanks.


11-16 16:34:15.540 3429-3485/? E/AndroidRuntime: FATAL EXCEPTION: com.mixpanel.android.viewcrawler.ViewCrawler
java.lang.NullPointerException
at android.util.Pair.hashCode(Pair.java:62)
at java.util.HashMap.put(HashMap.java:390)
at java.util.HashSet.add(HashSet.java:95)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.loadEventBindings(ViewCrawler.java:463)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.loadKnownChanges(ViewCrawler.java:394)
at com.mixpanel.android.viewcrawler.ViewCrawler$ViewCrawlerHandler.handleMessage(ViewCrawler.java:330)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)


@argenisf
Copy link
Contributor

Hey @yuanliu666

Thanks for the report! This relates to issue 507 which has been patched and will be included in our next release.

@patedit patedit closed this as completed Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants