googlemaps / android-maps-compose

Jetpack Compose composables for the Maps SDK for Android

Home Page:https://developers.google.com/maps/documentation/android-sdk/maps-compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash `com.google.maps.api.android.lib6.phoenix.cv.d`

aritra-tech opened this issue · comments

Fatal Exception: java.lang.ClassCastException
java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode

Crash Log

       at java.util.HashMap$TreeNode.moveRootToFront(HashMap.java:1963)
       at java.util.HashMap$TreeNode.treeify(HashMap.java:2079)
       at java.util.HashMap.treeifyBin(HashMap.java:768)
       at java.util.HashMap.putVal(HashMap.java:640)
       at java.util.HashMap.put(HashMap.java:608)
       at com.google.maps.api.android.lib6.phoenix.cv.d(:com.google.android.gms.policy_maps_core_dynamite@240506509@240506504042.610497723.610497723:221)
       at com.google.maps.api.android.lib6.impl.eo.run(:com.google.android.gms.policy_maps_core_dynamite@240506509@240506504042.610497723.610497723:13)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)```

If you would like to upvote the priority of this issue, please comment below or react on the original post above with 👍 so we can see what is popular when we triage.

@aritra-tech Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

@aritra-tech , can you provide some steps to reproduce this issue?

aritra-tech, did you have the chance to check the message above?

@kikoso Hey, sorry for the late response. We are working together and we found out multiple instance of this from Firebase Crashlytics log. This is from the prod release crash log and never faced this ourselves, hence we can't reproduce it.

Hey, @kikoso in our debug build it's working fine but in prod it's getting multiple instances. It is mainly happening on Android 14and after checking the logs whenever the user comes to the Map Screen it crashes.

Is it occurring because the version of google maps compose?

Hey, @kikoso in our debug build it's working fine but in prod it's getting multiple instances. It is mainly happening on Android 14and after checking the logs whenever the user comes to the Map Screen it crashes.

Is it occurring because the version of google maps compose?

having the same exact issue, can not reproduce but seeing it in crashlytics. We however have an even spread of android 11, 12, 13 and 14.

Hi @aritra-tech and @eckoj433 .

Without a snippet that we could use to reproduce the issue it is hard to say. At a first glance it does not seem that this is triggered by the Compose layer. From what I see it could be related to a concurrency issue.

Let's keep this open until we can gather more information.