Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Provide more descriptive error message when removing a marker that doesn't exist #7961

Closed

Description

@danswick

Platform: Android
Mapbox SDK version: 4.2.2

Steps to trigger behavior

Attempt to remove a marker that does not exist.

Expected behavior

Graceful failure with descriptive error message and/or Java exception (instead of native).

Actual behavior

Crash with an error message similar to:

void mbgl::AnnotationManager::removeAnnotation(const AnnotationID &): assertion "false" failed

Activity

  1. added
    Android
    on Feb 7, 2017
  2. tobrun commented on Apr 19, 2017

    @tobrun
    Member

    We should prevent calling into core when the marker hasn't been added to the map. Adding this to the next milestone for visibility.

  3. added this to the android-v5.1.0 milestone on Apr 19, 2017
  4. self-assigned this
    on Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Androidfeature

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions