When the map shape is removed from the visualization layer while zooming is in process then the NullReferenceException is thrown.