laptop and a wrench

Bug

An unexpected null value error is sometimes returned during an attribute rule execution on the registered feature service (Oracle and PostgreSQL) when the first Arcade function is on a FeatureSet obtained from a geometry function such as Intersect.

ArcGIS Pro
Bug ID Number BUG-000158635
SubmittedMay 26, 2023
Last ModifiedOctober 3, 2024
Applies toArcGIS Pro
Version found3.1.1
Operating SystemWindows OS
Operating System VersionN/A
Version Fixed3.3, 3.1.7, 3.2.4
StatusFixed

Additional Information

This issue is addressed in ArcGIS Pro 3.3, 3.1.7, and 3.2.4

Workaround

  • Use ArcGIS Pro 3.0.x or older or disable the attribute rule.
  • Use the following script:

var parcels = FeatureSetByName($datastore, "databasename.user.featureclassname")

//var filteredParcels = Filter(parcels, "retiredbyrecord IS NULL"); var intersectLayer = Intersects(parcels, $feature);

var parcelCount = Count(intersectLayer) var feat; //replace first by getting the first feature. for (feat in

intersectLayer) console(feat.objectid) if (parcelCount == 1) { return feat.parcelid; } else { if (parcelCount == 0) {

return 'Not on Parcel'; } else { return 'Multiple Parcels'; }; };.

Steps to Reproduce

Bug ID: BUG-000158635

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