<?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: Intermitant &amp;quot;'this.spatialReference' is null&amp;quot; Bug in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermitant-amp-quot-this-spatialreference-is-null/m-p/356211#M32989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still getting it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;About 1 time in 10 or 20.&amp;nbsp;&amp;nbsp; I think its a timing issue with something.&amp;nbsp; It doesn't help that the error is deep in the API &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no useful stack trace &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bill&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 07:37:00 GMT</pubDate>
    <dc:creator>BillHoney</dc:creator>
    <dc:date>2013-04-23T07:37:00Z</dc:date>
    <item>
      <title>Intermitant &amp;quot;'this.spatialReference' is null&amp;quot; Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermitant-amp-quot-this-spatialreference-is-null/m-p/356209#M32987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm getting an intermittent error on startup of my application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; It occurs maybe 1 time in 10 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; The stack trace is all in anonymous code (i.e. not caused by my code) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The stack trace in deep inside the 3.3&amp;nbsp; serverapi.arcgisonline.com code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[INDENT]'this.spatialReference' is null or not an object&lt;BR /&gt;info=this.spatialReference._getInfo()&lt;BR /&gt;_23c=this._getFrameWidth()&lt;BR /&gt;this._setClipRect()&lt;BR /&gt;this.onResize(ne,wd,ht)&lt;BR /&gt;self._resize()[/INDENT]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have NO resize logic in my app. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried adding some in the style of earlier versions of the api&amp;nbsp; , but this has made no difference. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my app is quite large. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone advise ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bill&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;// Makes no difference 
function window_onResize() {
 var resizeTimer;
 clearTimeout(resizeTimer);
 resizeTimer = setTimeout(function () {
&amp;nbsp; if (map) {
&amp;nbsp;&amp;nbsp; map.resize();
&amp;nbsp;&amp;nbsp; map.reposition();
&amp;nbsp; }
 }, 500); 
} &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 07:33:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermitant-amp-quot-this-spatialreference-is-null/m-p/356209#M32987</guid>
      <dc:creator>BillHoney</dc:creator>
      <dc:date>2013-03-16T07:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Intermitant "'this.spatialReference' is null" Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermitant-amp-quot-this-spatialreference-is-null/m-p/356210#M32988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this still an issue for you? I received this error this morning on my application.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 16:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermitant-amp-quot-this-spatialreference-is-null/m-p/356210#M32988</guid>
      <dc:creator>AndrewBrown1</dc:creator>
      <dc:date>2013-04-22T16:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Intermitant "'this.spatialReference' is null" Bug</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermitant-amp-quot-this-spatialreference-is-null/m-p/356211#M32989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm still getting it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;About 1 time in 10 or 20.&amp;nbsp;&amp;nbsp; I think its a timing issue with something.&amp;nbsp; It doesn't help that the error is deep in the API &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no useful stack trace &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bill&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 07:37:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/intermitant-amp-quot-this-spatialreference-is-null/m-p/356211#M32989</guid>
      <dc:creator>BillHoney</dc:creator>
      <dc:date>2013-04-23T07:37:00Z</dc:date>
    </item>
  </channel>
</rss>

