<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Handling geoevent stream service with null values in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1081919#M3599</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/504632"&gt;@kavi88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything looks in order, but just to be sure, here is the equation I would use:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;'{ "x":' + X + ', "y":' + Y + ', "spatialReference" : { "wkid" : 4326 } }'&lt;/LI-CODE&gt;&lt;P&gt;An alternative would be to convert the X and Y to strings, but I don't think this is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;'{"x":' + valueOf(X) + ',"y":' + valueOf(Y) + ',"spatialReference" : { "wkid" : 4326 } }'&lt;/LI-CODE&gt;&lt;P&gt;If that doesn't work, then there is something in your schema that isn't what you expect. So I would send the events to a JSON File output and inspect the structure there to see if there is any remaining grouping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Thu, 22 Jul 2021 18:52:06 GMT</pubDate>
    <dc:creator>EricIronside</dc:creator>
    <dc:date>2021-07-22T18:52:06Z</dc:date>
    <item>
      <title>Handling geoevent stream service with null values</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1081721#M3598</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I am using the Poll an External Website for JSON input connector to stream data, I have a multi-cardinal JSON structure (attached bellow) so i am using the multicardinal field splitter processor in order to flatten the structure and be able to access the coordinates, knowing that the coordinates (lon, lat) are typed as string and need to be converted to double and then construct a geometry using a regular expression ( ['{'+' "x":' + X + ',' + ' "y":' + Y + ',' + ' "spatialReference":{"wkid":4326} }']).&lt;/P&gt;&lt;P&gt;I think that the multicardinal field splitter processor is doing a great job flattening the structure the way i want to be , thus i am getting this error :&lt;/P&gt;&lt;P&gt;Expression ['{'+' "x":' + X + ',' + ' "y":' + Y + ',' + ' "spatialReference":{"wkid":4326} }'] evaluation failed: operator+(arg0:[NonGroup], arg1:[NonGroup]) evaluation failed because of GeoEvent field 'X' of type [Double] and value 'null' cannot be used as an argument arg1:[NonGroup]&lt;/P&gt;&lt;P&gt;I am wondering if i am doing it the right way ? or what am i missing ?&amp;nbsp; &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115391"&gt;@RJSunderman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 13:50:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1081721#M3598</guid>
      <dc:creator>kavi88</dc:creator>
      <dc:date>2021-07-22T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Handling geoevent stream service with null values</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1081919#M3599</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/504632"&gt;@kavi88&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything looks in order, but just to be sure, here is the equation I would use:&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;'{ "x":' + X + ', "y":' + Y + ', "spatialReference" : { "wkid" : 4326 } }'&lt;/LI-CODE&gt;&lt;P&gt;An alternative would be to convert the X and Y to strings, but I don't think this is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;'{"x":' + valueOf(X) + ',"y":' + valueOf(Y) + ',"spatialReference" : { "wkid" : 4326 } }'&lt;/LI-CODE&gt;&lt;P&gt;If that doesn't work, then there is something in your schema that isn't what you expect. So I would send the events to a JSON File output and inspect the structure there to see if there is any remaining grouping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 22 Jul 2021 18:52:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1081919#M3599</guid>
      <dc:creator>EricIronside</dc:creator>
      <dc:date>2021-07-22T18:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Handling geoevent stream service with null values</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082282#M3600</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/504632"&gt;@kavi88&lt;/a&gt;&amp;nbsp;--&lt;/P&gt;&lt;P&gt;When using a&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt;&amp;nbsp;to construct a "Geometry" you are actually calculating a String representation of a Geometry. When I need to confirm the string calculation I will often configure a&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt;&amp;nbsp;to write its string representation to a&amp;nbsp;&lt;EM&gt;String&lt;/EM&gt;&amp;nbsp;attribute field and then map the&amp;nbsp;&lt;EM&gt;String&lt;/EM&gt;&amp;nbsp;to a&amp;nbsp;&lt;EM&gt;Geometry&lt;/EM&gt;&amp;nbsp;attribute field. You can configure a&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt;&amp;nbsp;to write its string representation directly into a&amp;nbsp;&lt;EM&gt;Geometry&lt;/EM&gt; attribute field, but the single step means that you are asking for an implicit type cast from &lt;EM&gt;String&lt;/EM&gt;&amp;nbsp;-- the value calculated as a single-quoted literal -- to a&amp;nbsp;&lt;EM&gt;Geometry&lt;/EM&gt;. If the string value does not exactly match the required formatting for a &lt;A href="https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm" target="_self"&gt;Point&lt;/A&gt; geometry object, the &lt;EM&gt;Field Calculator's&lt;/EM&gt; attempt to write its string into a&amp;nbsp;&lt;EM&gt;Geometry&lt;/EM&gt; field will fail.&lt;/P&gt;&lt;P&gt;So, to Eric's point, you might want to route event records emitted from the&amp;nbsp;&lt;FONT size="2"&gt;&lt;EM&gt;&lt;STRONG&gt;GEOM_CONSTRUCTION&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;EM&gt; Field Calculator&lt;/EM&gt; you configured to a JSON File so that you can get a good look at the&amp;nbsp;&lt;EM&gt;String&lt;/EM&gt; the processor constructed for you, to make sure it matches the formatting of a Point geometry object.&lt;/P&gt;&lt;P&gt;You can probably drop the two Field Calculator processors&amp;nbsp;&lt;FONT size="2"&gt;&lt;EM&gt;&lt;STRONG&gt;LatConverter&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; and&amp;nbsp;&lt;FONT size="2"&gt;&lt;EM&gt;&lt;STRONG&gt;LonConverter&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; from the event processing workflow. You can configure the&amp;nbsp;&lt;FONT size="2"&gt;&lt;EM&gt;&lt;STRONG&gt;MAPPING FIELDS&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;&lt;EM&gt;Field Mapper&lt;/EM&gt; to map your&amp;nbsp;&lt;EM&gt;latitude&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;longitude&lt;/EM&gt; attribute values from&amp;nbsp;&lt;EM&gt;String&lt;/EM&gt; to&amp;nbsp;&lt;EM&gt;Double&lt;/EM&gt;&amp;nbsp;by simply mapping the attribute values into &lt;EM&gt;Double&lt;/EM&gt;&amp;nbsp;fields. This is just another implicit cast, like when using&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt; to compute a string representation of a geometry, but writing the computed string into a&amp;nbsp;&lt;EM&gt;Geometry&lt;/EM&gt; field.&lt;/P&gt;&lt;P&gt;If I had to guess, the problem you're having is probably in the serialized event schema flattening. Placing five&amp;nbsp;&lt;EM&gt;Multicardinal Field Splitter&lt;/EM&gt; processors in series is more than I've ever had to do to simplify a hierarchical data structure. It's either that, or the string representation Point geometry object being calculated doesn't match the ArcGIS REST API specification of a Point geometry.&lt;/P&gt;&lt;P&gt;As a debugging step, you might try using dot notation to pull a single pair of latitude and longitude values our of the hierarchical data structure, using a Field Mapper to map the entirety of the data structure down to an event record whose GeoEvent Definition has exactly two&amp;nbsp;&lt;EM&gt;Double&lt;/EM&gt; attributes (one named&amp;nbsp;&lt;EM&gt;lat&lt;/EM&gt; and one named&amp;nbsp;&lt;EM&gt;lon&lt;/EM&gt;). Then work with that very simple event record to debug the field calculation you need to perform to construct a JSON representation of a Point geometry object.&lt;/P&gt;&lt;UL class="lia-list-style-type-disc"&gt;&lt;LI&gt;&lt;FONT face="courier new,courier" size="2"&gt;disruptions[0].impacted_objects[0].impacted_stops[0].stop_point.coord.lat&lt;FONT face="helvetica"&gt;&amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="helvetica"&gt;=&amp;gt;&amp;nbsp; lat&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="courier new,courier" size="2"&gt;disruptions[0].impacted_objects[0].impacted_stops[0].stop_point.coord.lon&lt;FONT face="helvetica"&gt;&amp;nbsp; &amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="helvetica"&gt;=&amp;gt;&amp;nbsp; &amp;nbsp;lon&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I wrote the above without actual data to look at and test, so I am not 100% sure I have the notation correct. If you need help with this I would ask that you open a technical support incident with Esri Support.&lt;/P&gt;&lt;P&gt;What I'm trying to do above is take the zero-th value from each group element whose cardinality is 'Many' (indicating the JSON element is a zero-based indexed list of values) to pull a single "stop point" coordinate's latitude and longitude out so that the values can be used in a&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt;. You'll still need to use the Multicardinal Field Splitters eventually so that you run calculations on all of the stop points, but the above can help you debug to make sure the string calculation of the Point geometry object is being done correctly.&lt;/P&gt;&lt;P&gt;Hope this helps --&lt;BR /&gt;RJ&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;cross-reference:&amp;nbsp;&amp;nbsp;&lt;LI-MESSAGE title="JSON Data Structures - Working with Hierarchy and Multicardinality" uid="889509" url="https://community.esri.com/t5/arcgis-geoevent-server-blog/json-data-structures-working-with-hierarchy-and/m-p/889509#U889509" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 17:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082282#M3600</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2021-07-23T17:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Handling geoevent stream service with null values</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082320#M3601</link>
      <description>&lt;P&gt;It occurred to me after reading RJ's response that the cause of the issue might be that the X or Y values are not being pulled out as expected.&amp;nbsp; Taking another look at the error "...&lt;SPAN&gt;evaluation failed because of GeoEvent field 'X' of type [Double] and value 'null' cannot be used as an argument arg1:[NonGroup]..." I believe it is trying to tell you that it was looking for a Double value from the X field, but got a NULL value instead. Writing your events out to a JSON file or using the Sampler will assist in figuring out what the real value of the X field is. And RJ's points about extracting the information from the group elements using the 'dot' notation is a good one to try as well.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 18:58:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082320#M3601</guid>
      <dc:creator>EricIronside</dc:creator>
      <dc:date>2021-07-23T18:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Handling geoevent stream service with null values</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082695#M3602</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115391"&gt;@RJSunderman&lt;/a&gt; , &lt;SPAN class="UserName lia-user-name lia-user-rank-Esri-Regular-Contributor lia-component-message-view-widget-author-username"&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/95633" target="_self"&gt;&lt;SPAN class=""&gt;EricIronside,&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for your insights and the explanation.&lt;/P&gt;&lt;P&gt;I routed event records emitted from the&amp;nbsp;&lt;FONT size="2"&gt;&lt;EM&gt;&lt;STRONG&gt;GEOM_CONSTRUCTION&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;EM&gt; Field Calculator&lt;/EM&gt; i configured to a JSON File using a dot notation to pull a single pair of latitude and longitude values our of the hierarchical data structure, using a Field Mapper to map the entirety of the data structure down to an event record whose GeoEvent Definition has exactly two&amp;nbsp;&lt;EM&gt;Double&lt;/EM&gt; attributes (lon, lat), in addition i calculated the eometry using the regular expression that was suggested by &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/95633"&gt;@EricIronside&lt;/a&gt; which resulted in having this kind of output :&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"Train_id": "ad37a93f-63f9-4bb4-980b-405b2996299e",&lt;BR /&gt;"lon": 6.14244,&lt;BR /&gt;"lat": 46.21022,&lt;BR /&gt;"geom": {&lt;BR /&gt;"x": 6.14244,&lt;BR /&gt;"y": 46.21022,&lt;BR /&gt;"spatialReference": {&lt;BR /&gt;"wkid": 4326&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;And also this kind of output&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Esri-Regular-Contributor lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;{&lt;BR /&gt;"Train_id": "ad37a93f-63f9-4bb4-980b-405b2996299e",&lt;BR /&gt;"lon": null,&lt;BR /&gt;"lat": null,&lt;BR /&gt;"geom": null&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Checking the Geoevent logs, i found this error :&lt;/P&gt;&lt;P&gt;Expression ['{ "x":' + lon + ', "y":' + lat + ', "spatialReference" : { "wkid" : 4326 } }'] evaluation failed: operator+(arg0:[NonGroup], arg1:[NonGroup]) evaluation failed because of GeoEvent field 'lon' of type [Double] and value 'null' cannot be used as an argument arg1:[NonGroup].&lt;/P&gt;&lt;P&gt;Which got me thinking that Geoevent is not capable of handling null values. Please correct me if I am wrong.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:49:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082695#M3602</guid>
      <dc:creator>kavi88</dc:creator>
      <dc:date>2021-07-26T14:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Handling geoevent stream service with null values</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082787#M3603</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/504632"&gt;@kavi88&lt;/a&gt;&amp;nbsp;... I would say that GeoEvent Server is able to handle&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; value input.&amp;nbsp;Attribute values can be null and there should not be a runtime exception generated that creates a fault in event record processing. That doesn't mean that you'll be able to calculate a derivative value if the input values are&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; or if attribute values cannot be used in the expression you configure a Field Calculator to use.&lt;/P&gt;&lt;P&gt;Suppose you receive some simple event record like:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;{ &lt;FONT color="#800000"&gt;"myDouble"&lt;/FONT&gt;: &lt;FONT color="#339966"&gt;3.14159&lt;/FONT&gt;, &lt;FONT color="#800000"&gt;"scaleFactor"&lt;/FONT&gt;: &lt;FONT color="#339966"&gt;3.1&lt;/FONT&gt;, &lt;FONT color="#800000"&gt;"calcResult"&lt;/FONT&gt;: null }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;A&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt; configured with an expression&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier" size="2"&gt;myDouble * scaleFactor&lt;/FONT&gt;&lt;/STRONG&gt; will be able to write the value&amp;nbsp;&lt;FONT face="courier new,courier" size="2"&gt;9.738929&lt;/FONT&gt; into an existing field&amp;nbsp;&lt;FONT face="courier new,courier" size="2"&gt;calcResult&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;But if one or more of the attribute fields contain&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; values:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;{ &lt;FONT color="#800000"&gt;"myDouble"&lt;/FONT&gt;: &lt;FONT color="#339966"&gt;3.14159&lt;/FONT&gt;, &lt;FONT color="#800000"&gt;"scaleFactor"&lt;/FONT&gt;: null, &lt;FONT color="#800000"&gt;"calcResult"&lt;/FONT&gt;: null }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;You should expect to see some sort of error. You cannot multiple a&amp;nbsp;&lt;EM&gt;Double&lt;/EM&gt; and a&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; value, or implicitly cast a&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; or a literal string to a numeric value to allow a&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt; to compute a value. We do try not to make up data in cases where invalid values are received. We wouldn't want, for example, to assume a location of 0.0 latitude / 0.0 longitude because&amp;nbsp;&lt;EM&gt;lat&lt;/EM&gt;&amp;nbsp;and&amp;nbsp;&lt;EM&gt;lon&lt;/EM&gt;&amp;nbsp;values pulled out of a data structure were &lt;EM&gt;null&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Suppose, rather than computing a&amp;nbsp;&lt;EM&gt;Double&lt;/EM&gt; value we were simply trying to place two&amp;nbsp;&lt;EM&gt;Double&lt;/EM&gt; values into a descriptive string. An expression like the following:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;'My Double is: ' + myDouble + ' and my Scale Factor is: ' + scaleFactor + '.'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Written into a&amp;nbsp;&lt;EM&gt;String&lt;/EM&gt;&amp;nbsp;attribute would calculate a value something like:&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;"My Double is: 3.14159 and my Scale Factor is: 3.1."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If a&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; value were received for the&amp;nbsp;&lt;FONT size="2"&gt;&lt;EM&gt;&lt;STRONG&gt;scaleFactor&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;an error message like the following is logged:&lt;BR /&gt;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;Expression ['My Double is: ' + myDouble + ' and my Scale Factor is: ' + scaleFactor + '.'] evaluation failed: EVALUABLE_EVALUATION_FAILED_CAUSE&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The error message above is what is produced at the 10.9.x release. It may be that&amp;nbsp;&lt;EM&gt;Field Calculator&lt;/EM&gt; is logging less readable error messages at an earlier release, which would explain why you are seeing messages talking about&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier" size="2"&gt;arg0:[NonGroup], arg1:[NonGroup]&lt;/FONT&gt;. I know we improved the error messages that Field Calculator was logging at some point, but I don't remember which s/w release has those changes. Regardless, if an expression uses attribute field(s) whose value(s) are&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; ... you should probably expect to see some sort of error logged and the computed result receive a&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The problem you are trying to solve has several different places where something can go wrong. I have frequently encountered, for example, data in a rich, complex hierarchical structure not necessarily being 100% homogenous across all of the levels in the hierarchy. It could easily be the case, for example, that the "impacted_objects" for a "disruption" do not have a &lt;SPAN&gt;"stop point" defined. It may be that there&amp;nbsp;&lt;EM&gt;&lt;U&gt;is&lt;/U&gt;&lt;/EM&gt; no value at a hierarchical path&amp;nbsp;&lt;FONT face="lucida sans unicode,lucida sans" size="2"&gt;disruptions[&lt;EM&gt;idx&lt;/EM&gt;].impacted_objects[&lt;EM&gt;idx&lt;/EM&gt;].impacted_stops[&lt;EM&gt;idx&lt;/EM&gt;].stop_point.coord.lat&lt;/FONT&gt; or if an attribute exists at that level in the data structure, its value is&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would assume that after you use the serialized multicardinal field splitter processors to flatten out all of the levels in the data structure, you'll have to use a couple of filters to test whether valid&amp;nbsp;&lt;EM&gt;lat&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;lon&lt;/EM&gt; values can be retrieved and log a "disruption" identifier to a file when a "stop_point" location cannot be calculated rather than trying to calculate a string representation of a geometry using&amp;nbsp;&lt;EM&gt;null&lt;/EM&gt; values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- RJ&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 19:09:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/handling-geoevent-stream-service-with-null-values/m-p/1082787#M3603</guid>
      <dc:creator>RJSunderman</dc:creator>
      <dc:date>2021-07-26T19:09:37Z</dc:date>
    </item>
  </channel>
</rss>

