<?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 Interesting, the call stack in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038932#M45225</link>
    <description>&lt;P&gt;Interesting, the call stack you provided shows that the problem is somehow inside of that segment of code. So if you remove the button you do not get hung in this section?&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2015 19:33:50 GMT</pubDate>
    <dc:creator>PaulF_IntelCorp</dc:creator>
    <dc:date>2015-05-04T19:33:50Z</dc:date>
    <item>
      <title>Sudden Error</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038924#M45217</link>
      <description>&lt;P&gt;Today, after adding a button group to my webapp, I am getting this error trail:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;Uncaught TypeError: o.promise is not a functionn.extend.ajax @ jquery-2.1.3.min.js:4
n.each.n.(anonymous function) @ jquery-2.1.3.min.js:4
n.extend.getJSON @ jquery-2.1.3.min.js:4
register_event_handlers @ index_user_scripts.js:34
dev.onDeviceReady @ init-dev.js:125&lt;/PRE&gt;

&lt;P&gt;All I did was add the button group, and set up the click events.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 15:21:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038924#M45217</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-04-23T15:21:54Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038925#M45218</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Which version of Intel XDK are you using? Are you building for Android or Android crosswalk?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2015 20:42:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038925#M45218</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2015-04-23T20:42:04Z</dc:date>
    </item>
    <item>
      <title>I am using version 1912.</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038926#M45219</link>
      <description>&lt;P&gt;I am using version 1912.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Today, after adding a button group to my &lt;STRONG&gt;webapp&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 24 Apr 2015 13:05:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038926#M45219</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-04-24T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Any thoughts on this?</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038927#M45220</link>
      <description>&lt;P&gt;Any thoughts on this?&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2015 20:06:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038927#M45220</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-05-01T20:06:03Z</dc:date>
    </item>
    <item>
      <title>Where are you running the app</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038928#M45221</link>
      <description>&lt;P&gt;Where are you running the app in order to get this message? In the Emulate tab? Using App Preview? With the Debug tab? In any of those environments you are creating a "packaged web app" -- so the concept of a white list still applies, because your web app runs inside a Cordova container if it is built for Android, iOS, etc.&lt;/P&gt;

&lt;P&gt;Check the build settings and make sure the "Domain List" setting is configured to allow access to the domain(s) you need to access. You can specify '*' (without the quotes) to allow access to ANY domain. Note that using * can be considered as a security risk for your app.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2015 23:34:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038928#M45221</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-01T23:34:32Z</dc:date>
    </item>
    <item>
      <title>Paul,</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038929#M45222</link>
      <description>&lt;P&gt;Paul,&lt;/P&gt;

&lt;P&gt;Thanks for the reply. I am getting this when I deploy the webapp to my website.&amp;nbsp;http://beentheresailedthat.com/rigDim/&lt;/P&gt;

&lt;P&gt;--Sam&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 12:58:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038929#M45222</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-05-04T12:58:14Z</dc:date>
    </item>
    <item>
      <title>So, according to the sample</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038930#M45223</link>
      <description>&lt;P&gt;So, according to the sample code you provided via the link, it appears that the problem is in this code:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;        $.getJSON("http://beentheresailedthat.com/php_src/getRigDimBoats.php", function(data){
            var boatData = data;
            totalBoats = boatData.length;
            var bIDX = 0;
            $("#boatList").html("");
            if( totalBoats &amp;gt; 0 ) {           
                var tOption = "&amp;lt;option name='boatSubChoice' boat_id='-1'&amp;gt;select boat&amp;lt;/option&amp;gt;";                
                $("#boatList").append(tOption); 
            }
            for( bIDX = 0; bIDX &amp;lt; boatData.length; bIDX++ ) {                
                var tOption = "&amp;lt;option name='boatChoice' boat_id='"+boatData[bIDX]['boat_id']+"'&amp;gt;"+boatData[bIDX]['boat']+"&amp;lt;/option&amp;gt;";                
                $("#boatList").append(tOption);
            }
            
            $.ui.hideMask();
        });
 &lt;/PRE&gt;

&lt;P&gt;Does this look like some code that would correspond to the button you added? I believe this code is automatically generated by App Designer. If this looks like the call that is failing to your server, I can ask the AD engineers if they have any insight as to the source of the problem.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 19:14:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038930#M45223</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-04T19:14:03Z</dc:date>
    </item>
    <item>
      <title>Paul,</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038931#M45224</link>
      <description>&lt;P&gt;Paul,&lt;/P&gt;

&lt;P&gt;That code is not auto-generated by AD, that is my code. If you run "http://beentheresailedthat.com/php_src/getRigDimBoats.php" in your browser, you will see that the PHP returns data as expected...&lt;/P&gt;

&lt;P&gt;This worked until I added that button group at the bottome of the page.&lt;/P&gt;

&lt;P&gt;--Sam&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 19:26:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038931#M45224</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-05-04T19:26:54Z</dc:date>
    </item>
    <item>
      <title>Interesting, the call stack</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038932#M45225</link>
      <description>&lt;P&gt;Interesting, the call stack you provided shows that the problem is somehow inside of that segment of code. So if you remove the button you do not get hung in this section?&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 19:33:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038932#M45225</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-04T19:33:50Z</dc:date>
    </item>
    <item>
      <title>No, now, removing the button</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038933#M45226</link>
      <description>&lt;P&gt;No, now, removing the button group still has the hang.&lt;/P&gt;

&lt;P&gt;I think I will create a new project and see if I can do something else besides the button group.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 19:40:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038933#M45226</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-05-04T19:40:21Z</dc:date>
    </item>
    <item>
      <title>I have no idea if this causes</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038934#M45227</link>
      <description>&lt;P&gt;I have no idea if this causes any issues, but why is the app.Ready event registered twice...and to two different functions?&lt;/P&gt;

&lt;P&gt;It is registered in index_user_scripts.js and init-app.js "Out of the Box".&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 20:02:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038934#M45227</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-05-04T20:02:01Z</dc:date>
    </item>
    <item>
      <title>You can register it to as</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038935#M45228</link>
      <description>&lt;P&gt;You can register it to as many locations as you wish. However, there is no guarantee which code gets run first when the event happens, so if order of execution is important you might want to remove any such code from those files. In both cases it gets used to install event handlers and take care of any other business that needs to be done during initialization.&lt;/P&gt;

&lt;P&gt;The index_user_scripts.js file is specifically created by App Designer when you create code or elements that is associated with UI element actions. The one in init-app.js is created manually and is meant for adding things manually that you might want to add yourself. Or, you can create your own file and trigger off of app.Ready in that file, it's up to you.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 23:22:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038935#M45228</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-04T23:22:35Z</dc:date>
    </item>
    <item>
      <title>Ok, got it figured out. For</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038936#M45229</link>
      <description>&lt;P&gt;Ok, got it figured out. For some reason&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;        &amp;lt;script type="application/javascript" src="app_framework/2.1/appframework.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script type="application/javascript" src="app_framework/2.1/appframework.ui.js" data-ver="1"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;

&lt;P&gt;Was included...twice...and I'm not even using AF like this...&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 14:26:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038936#M45229</guid>
      <dc:creator>Samuel_G_1</dc:creator>
      <dc:date>2015-05-05T14:26:47Z</dc:date>
    </item>
    <item>
      <title>Great!</title>
      <link>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038937#M45230</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 18:38:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Sudden-Error/m-p/1038937#M45230</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-05-05T18:38:32Z</dc:date>
    </item>
  </channel>
</rss>

