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ónJune 5, 2024
Relacionado conArcGIS Online
Versión encontrada6.1
Sistema operativoN/A
Versión corregida6.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

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga