<?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 Problem when using geometryEngine: &amp;quot;TypeError: Unable to get property 'G' of undefined or null reference&amp;quot; in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-when-using-geometryengine-quot-typeerror/m-p/484285#M45135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Working here with the 4.17 API, I am trying to use the geometryEngine to check if 2 geometries intersects. The first geometry is a point and the second one is a polyline. Using the 'intersects()' or the 'crosses()' method of the geometryEngine, I am getting this weird error that I don't understand:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TypeError: Unable to get property 'G' of undefined or null reference&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="510958" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/510958_intersect_error.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't manage to find anything on the net nor in the API reference explaining this error. I basically followed &lt;A href="https://developers.arcgis.com/javascript/latest/guide/buffer-and-intersect-geometry/"&gt;this tutorial&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several experiments and some additional information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I checked that the spatial reference was the same for both geometries. I am working with wkid: 102100 for both geometries.&lt;/P&gt;&lt;P&gt;- The point geometry's latitude and longitude are set but x and y are undefined. I don't know if it is relevant.&lt;/P&gt;&lt;P&gt;- Following the aforementioned tutorial, instead of using directly the geometry itself, I used a buffer using the 'geodesicBuffer()' method of the geometryEngine.&lt;/P&gt;&lt;P&gt;The error is the same when the point geometry (without buffer) and the polyline geometry buffer are used.&lt;/P&gt;&lt;P&gt;Nevertheless, when using the point geometry buffer with the polyline geometry either with or without buffer, I am getting the other weird error caused by calling the &lt;SPAN&gt;'geodesicBuffer()' method of the geometryEngine to generate a buffer from the point geometry&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TypeError: Object doesn't support property or method 'u'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/511013_intersect_error_02.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this ring a bell for anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2020 08:34:05 GMT</pubDate>
    <dc:creator>FrancoisPicard</dc:creator>
    <dc:date>2020-10-15T08:34:05Z</dc:date>
    <item>
      <title>Problem when using geometryEngine: "TypeError: Unable to get property 'G' of undefined or null reference"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-when-using-geometryengine-quot-typeerror/m-p/484285#M45135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Working here with the 4.17 API, I am trying to use the geometryEngine to check if 2 geometries intersects. The first geometry is a point and the second one is a polyline. Using the 'intersects()' or the 'crosses()' method of the geometryEngine, I am getting this weird error that I don't understand:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TypeError: Unable to get property 'G' of undefined or null reference&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="510958" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/510958_intersect_error.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't manage to find anything on the net nor in the API reference explaining this error. I basically followed &lt;A href="https://developers.arcgis.com/javascript/latest/guide/buffer-and-intersect-geometry/"&gt;this tutorial&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several experiments and some additional information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I checked that the spatial reference was the same for both geometries. I am working with wkid: 102100 for both geometries.&lt;/P&gt;&lt;P&gt;- The point geometry's latitude and longitude are set but x and y are undefined. I don't know if it is relevant.&lt;/P&gt;&lt;P&gt;- Following the aforementioned tutorial, instead of using directly the geometry itself, I used a buffer using the 'geodesicBuffer()' method of the geometryEngine.&lt;/P&gt;&lt;P&gt;The error is the same when the point geometry (without buffer) and the polyline geometry buffer are used.&lt;/P&gt;&lt;P&gt;Nevertheless, when using the point geometry buffer with the polyline geometry either with or without buffer, I am getting the other weird error caused by calling the &lt;SPAN&gt;'geodesicBuffer()' method of the geometryEngine to generate a buffer from the point geometry&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TypeError: Object doesn't support property or method 'u'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/511013_intersect_error_02.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this ring a bell for anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 08:34:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-when-using-geometryengine-quot-typeerror/m-p/484285#M45135</guid>
      <dc:creator>FrancoisPicard</dc:creator>
      <dc:date>2020-10-15T08:34:05Z</dc:date>
    </item>
  </channel>
</rss>

