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

[BUG] - Crash when clicking on vehicle overlay marker. #1244

Closed
amrhossamdev opened this issue Sep 7, 2024 · 0 comments · Fixed by #1245
Closed

[BUG] - Crash when clicking on vehicle overlay marker. #1244

amrhossamdev opened this issue Sep 7, 2024 · 0 comments · Fixed by #1245
Assignees

Comments

@amrhossamdev
Copy link
Member

amrhossamdev commented Sep 7, 2024

Summary:

Crash when clicking on the vehicle overlay marker, a lot of reports on the Google Play console, happened to me when I clicked the marker unexpected behavior

Fatal Exception: java. lang.NullPointerException
Attempt to invoke virtual method 'org.onebusaway.android.io.elements.ObaTripStatus org.onebusaway.android.map.googlemapsv2.VehicleOverlay$MarkerData.getStatusFromMarker(com.google.android.gms.maps.model.Marker)' on a null object reference
org.onebusaway.android.map.googlemapsv2.VehicleOverlay.markerClicked (VehicleOverlay.java:552)
org.onebusaway.android.map.googlemapsv2.BaseMapFragment$MapClickListeners.onMarkerClick (BaseMapFragment.java:1487)
com.google.android.gms.maps.zza.zzb (com.google.android.gms:play-services-maps@@18.2.0:1)

image

Steps to reproduce:

Unexpected... not sure yet maybe due to poor network conditions and the marker is not initiated yet.

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

Successfully merging a pull request may close this issue.

1 participant