Skip to content

java.lang.NullPointerException: point must not be null.Β #1634

@jruston

Description

@jruston

I am seeing a small number of crashes coming from this library. I have seen several hundred occurrences over the past few months. The crash looks like the following:

Fatal Exception: java.lang.NullPointerException: point must not be null.
at com.google.android.gms.common.internal.Preconditions.checkNotNull(com.google.android.gms:play-services-basement@@18.9.0:2)
       at com.google.android.gms.maps.model.LatLngBounds.contains(com.google.android.gms:play-services-maps@@19.2.0:1)
       at com.google.maps.android.clustering.view.DefaultClusterRenderer$RenderTask.run(DefaultClusterRenderer.java:495)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
       at java.lang.Thread.run(Thread.java:929)

I can't seem to replicate it myself, but it seems to affect mostly Samsung, Xiaomi and Vivo devices, 90% of which are on Android 10. I also see some occurrences on Android 11, 12 and 13.

I am using v3.19.1 of the library. It seems to occur in this version and also previous versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions