laptop and a wrench

Error

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.

Última publicación: September 18, 2018 ArcGIS Online
Número de ID del error BUG-000115222
EnviadoJuly 9, 2018
Última modificaciónAugust 21, 2020
Relacionado conArcGIS Online
Versión encontrada6.1
Plataforma del servidorN/A
Version Fixed6.3
EstadoFixed

Solución alternativa

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. 

Pasos para reproducir

ID del error: BUG-000115222

Software:

  • ArcGIS Online

Obtener ayuda de expertos en ArcGIS

Contactar con soporte técnico

Descargar la aplicación de soporte de Esri

Ir a las opciones de descarga

Descubrir más sobre este tema