laptop and a wrench

Bug

Empty or Null M geometry returns the warning message: "WARNING 000635: Skipping feature <values> because of NULL or EMPTY geometry" when using the Calculate Geometry Attributes on a selected field for setting the point M-values.

ArcGIS Pro
Bug ID Number BUG-000173742
SubmittedJanuary 21, 2025
Last ModifiedJune 19, 2025
Applies toArcGIS Pro
Version found3.3.2
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusAs Designed

Additional Information

This warning message is the expected behavior, and the message accurately describes the issue. M values cannot be calculated when this part of the geometry is empty.

Workaround

If the desired M-values for every vertices in a field is available, use the below Python code:

import arcpy

# set workspace environment

arcpy.env.workspace = r"<the path to the geodatabase>"

# Feature class to update

fc = "BECSM"

# field name that contains values we want to assign to M

field_name = "Measures"

# Use Update cursor to update M-Values

with arcpy.da.UpdateCursor(fc, ["SHAPE@M", field_name]) as cursor:

 for row in cursor:

  # Get geometry and field value

  row[0] = row[1]

  # update the row with the new value

  cursor.updateRow(row)

Steps to Reproduce

Bug ID: BUG-000173742

Software:

  • ArcGIS Pro

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