laptop and a wrench

Bug

MapView is unable to load FeatureLayers with the error message, "Tried to get a LayerCollisionInfo for an index that doesn't exist!" when more than one layer has a LabelClass visible on loading.

Last Published: September 5, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000115601
SubmittedJuly 24, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.8
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed4.9
StatusFixed

Workaround

  • Load MapView with only one of the labeled layers visible, then set up a watch on the 'updating' property of the FeatureLayerView. Once the layer is finished updating, display the next labeled layer.
  • See Sample here.

Steps to Reproduce

Bug ID: BUG-000115601

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options