laptop and a wrench

Bug

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.

Last Published: September 18, 2018 ArcGIS Online
Bug ID Number BUG-000115222
SubmittedJuly 9, 2018
Last ModifiedAugust 21, 2020
Applies toArcGIS Online
Version found6.1
Operating SystemN/A
Version Fixed6.3
StatusFixed

Workaround

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. 

Steps to Reproduce

Bug ID: BUG-000115222

Software:

  • ArcGIS Online

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic