laptop and a wrench

Error

The feature layer's fields return null values when the query enumeration 'Enums.QueryFeatureFieldsLoadAll' is applied to the feature layer before applying the 'Enums.QueryFeatureFieldsMinimum' query enumeration.

Última publicación: January 18, 2022 ArcGIS Runtime SDK
Número de ID del error BUG-000129618
EnviadoMarch 24, 2020
Última modificaciónJune 5, 2024
Relacionado conArcGIS Runtime SDK
Versión encontrada100.7
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoWill Not Be Addressed

Información adicional

This issue seems to only happen when multiple queries with differing field options are executed simultaneously. If the minimum fields query is executed after the load all query is executed, but before it completes, the results seem to get modified such that the non-minimum fields are all null.

Solución alternativa

Apply the 'Enums.QueryFeatureFieldsMinimum' enumeration to the feature layer before applying the 'Enums.QueryFeatureFieldsLoadAll' enumeration to solve the issue.

Example:

Apply the first enumeration: featureTable.queryFeaturesWithFieldOptions(queryParameters,Enums.QueryFeatureFieldsMinimum)

Apply the second enumeration:

featureTable.queryFeaturesWithFieldOptions(queryParameters, Enums.QueryFeatureFieldsLoadAll)

After running the application, the issue is not reproduced.

The query does not return null values for the fields of the feature layer:

qml: {"address":"1800 WASHINGTON ST","district":"2","objectid":13032690,"req_date":"09/17/2009","req_id":"506763","req_time":"08:15","req_type":"Graffiti Complaint - Public Property","status":1}

Pasos para reproducir

ID del error: BUG-000129618

Software:

  • ArcGIS Runtime SDK

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