laptop and a wrench

Error

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
Número de ID del error BUG-000158635
EnviadoMay 26, 2023
Última modificaciónOctober 3, 2024
Relacionado conArcGIS Pro
Versión encontrada3.1.1
Sistema operativoWindows OS
Versión de sistema operativoN/A
Versión corregida3.3, 3.1.7, 3.2.4
EstadoFixed

Información adicional

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

Solución alternativa

  • 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'; }; };.

Pasos para reproducir

ID del error: BUG-000158635

Software:

  • ArcGIS Pro

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