<?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 3.12 - Receive error on TooltipDialog creation ~50% of the time in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-12-receive-error-on-tooltipdialog-creation-50-of/m-p/494186#M45916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a fairly simple widget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;define([
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/_base/declare',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/dom',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/dom-style',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dijit/_WidgetBase',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dijit/popup',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dijit/TooltipDialog',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'esri/lang',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'esri/layers/FeatureLayer',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/_base/array',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/on',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/promise/all'
], function (declare, dom, Style, _WidgetBase, dijitPopup, TooltipDialog, esriLang, FeatureLayer, array, on, all) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var MapTips = declare([_WidgetBase], {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseClass: 'gis_myDijit',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postCreate: function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.inherited(arguments);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dialog = new TooltipDialog();&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At line 18 as of the JSAPI 3.12compact, I receive the following error in the console:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TypeError: d(...) is undefined (init.js:608)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error occurs about 50% of the time, the other 50% it works perfectly fine.&amp;nbsp; All other things being equal, I have switched back and forth between 3.11 and 3.12 and can confirm that this does not happen with 3.11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone having the same/similar issue, or know what can be done to work around this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 21:44:55 GMT</pubDate>
    <dc:creator>MS</dc:creator>
    <dc:date>2021-12-11T21:44:55Z</dc:date>
    <item>
      <title>3.12 - Receive error on TooltipDialog creation ~50% of the time</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-12-receive-error-on-tooltipdialog-creation-50-of/m-p/494186#M45916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a fairly simple widget:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;define([
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/_base/declare',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/dom',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/dom-style',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dijit/_WidgetBase',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dijit/popup',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dijit/TooltipDialog',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'esri/lang',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'esri/layers/FeatureLayer',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/_base/array',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/on',
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dojo/promise/all'
], function (declare, dom, Style, _WidgetBase, dijitPopup, TooltipDialog, esriLang, FeatureLayer, array, on, all) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var MapTips = declare([_WidgetBase], {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseClass: 'gis_myDijit',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; postCreate: function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.inherited(arguments);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dialog = new TooltipDialog();&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At line 18 as of the JSAPI 3.12compact, I receive the following error in the console:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TypeError: d(...) is undefined (init.js:608)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error occurs about 50% of the time, the other 50% it works perfectly fine.&amp;nbsp; All other things being equal, I have switched back and forth between 3.11 and 3.12 and can confirm that this does not happen with 3.11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone having the same/similar issue, or know what can be done to work around this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-12-receive-error-on-tooltipdialog-creation-50-of/m-p/494186#M45916</guid>
      <dc:creator>MS</dc:creator>
      <dc:date>2021-12-11T21:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: 3.12 - Receive error on TooltipDialog creation ~50% of the time</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-12-receive-error-on-tooltipdialog-creation-50-of/m-p/494187#M45917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just in case anyone else runs into this issue - it appears to only be present in the downloadable version of 3.12compact.&amp;nbsp; I tried downloading it again just to make sure and the problem still appeared.&amp;nbsp; I also tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;3.11compact (downloaded)&lt;/LI&gt;&lt;LI&gt;3.12 (non-compact, downloaded)&lt;/LI&gt;&lt;LI&gt;3.12compact (CDN)&lt;/LI&gt;&lt;LI&gt;3.12 (CDN)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;^ None of the four above had any issues, only the downloaded 3.12compact.&amp;nbsp; Maybe something wrong with the downloaded .zip file?&amp;nbsp; I'm not sure.&amp;nbsp; I'm just using the non-compact 3.12 as a workaround for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 17:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-12-receive-error-on-tooltipdialog-creation-50-of/m-p/494187#M45917</guid>
      <dc:creator>MS</dc:creator>
      <dc:date>2015-02-05T17:21:10Z</dc:date>
    </item>
  </channel>
</rss>

