laptop and a wrench

Bogue

Adding the expressions 'Geometry($feature).x' and 'Geometry($feature).y' on a map service layer pop-up returns the following error message, "Runtime Error: Cannot call member method on null", if the service has multiple layers when added to a web map.

Dernière publication: September 18, 2018 ArcGIS Online
Numéro d’ID de bogue BUG-000115222
EnvoiJuly 9, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS Online
Version trouvée6.1
Système d’exploitationN/A
Version de correction6.3
StatutFixed

Solution de contournement

Add the layers that need the geometry expression for the pop-up individually to the web map, instead of adding the entire service at once. The individually added layers returns the correct results from the expression. 

Étapes pour reproduire

ID de bogue: BUG-000115222

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement