<?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 XDK 2611 &amp; on real hardware in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030975#M41982</link>
    <description>&lt;P&gt;XDK 2611 &amp;amp; on real hardware Samsung Galaxy S4 &amp;amp; also a Note 5&lt;/P&gt;

&lt;P&gt;Is there is a fix for this error, this started when i did a build today. Its been a while since this last occurred.&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;	[ERROR] Error initializing Intel XDK Cache:JSON error&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This error occurred after hitting ok on the popup 'cache json' error above.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="assets.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7592i54FA259982E69FA0/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="assets.png" alt="assets.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2015 22:20:47 GMT</pubDate>
    <dc:creator>SithLord</dc:creator>
    <dc:date>2015-11-24T22:20:47Z</dc:date>
    <item>
      <title>[ERROR] Error initializing Intel XDK Cache:JSON error</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030972#M41979</link>
      <description>&lt;PRE class="brush:plain;"&gt;[ERROR] Error initializing Intel XDK Cache:JSON error&lt;/PRE&gt;

&lt;P&gt;I received this error on two different occasion upon launching my app after updating it on a physical device.&lt;/P&gt;

&lt;P&gt;This error occurred on a Samsung Galaxy S4&lt;/P&gt;

&lt;P&gt;I use AFUI 2.2 &amp;amp; XDK 1995&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2015 19:14:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030972#M41979</guid>
      <dc:creator>SithLord</dc:creator>
      <dc:date>2015-06-08T19:14:31Z</dc:date>
    </item>
    <item>
      <title>You're seeing this error in</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030973#M41980</link>
      <description>&lt;P&gt;You're seeing this error in the console of a real device or in the console of the Emulate tab? Or are you using the Debug tab? Please provide more details and an image, if possible.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 22:49:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030973#M41980</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-06-12T22:49:12Z</dc:date>
    </item>
    <item>
      <title>Quote:Paul Fischer (Intel)</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030974#M41981</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Paul Fischer (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;You're seeing this error in the console of a real device or in the console of the Emulate tab? Or are you using the Debug tab? Please provide more details and an image, if possible.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;It was a popup message upon launching the app on a real device and not a console msg.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I was NOT using app preview but the only place i could locate the possible source of the msg is in "cache.js" in the XDK install folder under ..\middleware\cordova\intel-app-preview\...&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;    channel.onCordovaReady.subscribe(function () {
        me.getInfo(function (info) {
            me.cookies = info.cookies;
            me.mediacache = info.mediacache;
            me.mediacache_dir = info.mediacache_dir;
            channel.IntelXDKCache.fire();
        }, function (e) {
            utils.alert("[ERROR] Error initializing Intel XDK Cache: " + e);
        });
    });&lt;/PRE&gt;

&lt;P&gt;If/when it happens again i will post a screen shot.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 12:13:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030974#M41981</guid>
      <dc:creator>SithLord</dc:creator>
      <dc:date>2015-06-15T12:13:20Z</dc:date>
    </item>
    <item>
      <title>XDK 2611 &amp; on real hardware</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030975#M41982</link>
      <description>&lt;P&gt;XDK 2611 &amp;amp; on real hardware Samsung Galaxy S4 &amp;amp; also a Note 5&lt;/P&gt;

&lt;P&gt;Is there is a fix for this error, this started when i did a build today. Its been a while since this last occurred.&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;	[ERROR] Error initializing Intel XDK Cache:JSON error&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;This error occurred after hitting ok on the popup 'cache json' error above.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="assets.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/7592i54FA259982E69FA0/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="assets.png" alt="assets.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 22:20:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030975#M41982</guid>
      <dc:creator>SithLord</dc:creator>
      <dc:date>2015-11-24T22:20:47Z</dc:date>
    </item>
    <item>
      <title>Have no idea what this might</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030976#M41983</link>
      <description>&lt;P&gt;Have no idea what this might be, sorry. Can you put together a small sample app that duplicates the issue and post it here.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2015 21:50:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030976#M41983</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-11-25T21:50:04Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030977#M41984</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;&amp;lt;preference name="LoadUrlTimeoutValue" value="30000"/&amp;gt;&lt;/PRE&gt;

&lt;P&gt;After some searching i found and tried changing the value of "LoadUrlTimeoutValue" and if fixed the&lt;STRONG&gt; &lt;/STRONG&gt;"connection to the server was unsuccessful" msg problem on my Samsung Galaxy S4 &amp;amp; also the Note 5. The msg "[ERROR] Error initializing Intel XDK Cache:JSON error" remained but only on the Note 5. I tried the app as a crosswalk build and the "xdk cache" msg did not pop up after installation on the Note 5.&amp;nbsp; I'll release the app as crosswalk and worry about the underlying cause of these issues later.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/12319809/application-error-the-connection-to-the-server-was-unsuccessful-file-andr"&gt;http://stackoverflow.com/questions/12319809/application-error-the-connection-to-the-server-was-unsuccessful-file-andr&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 20:28:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030977#M41984</guid>
      <dc:creator>SithLord</dc:creator>
      <dc:date>2015-12-04T20:28:50Z</dc:date>
    </item>
    <item>
      <title>Rather than start a new</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030978#M41985</link>
      <description>&lt;P&gt;Rather than start a new thread...&lt;/P&gt;

&lt;P&gt;I receive this error occasionally when opening my app on a real Android device. It is very infrequent but happens occasionally.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.008px; line-height: 14.3088px;"&gt;[ERROR] Error initializing Intel XDK Cache:JSON error&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;I have changed&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;&amp;lt;preference name=&lt;/CODE&gt;&lt;CODE class="string" style="font-size: 13.008px; line-height: 14.3088px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; color: blue !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;"LoadUrlTimeoutValue"&lt;/CODE&gt;&lt;SPAN style="font-size: 13.008px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 14.3088px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;value=&lt;/CODE&gt;&lt;CODE class="string" style="font-size: 13.008px; line-height: 14.3088px; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; color: blue !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;"30000"&lt;/CODE&gt;&lt;CODE class="plain" style="font-size: 13.008px; line-height: 14.3088px; color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; min-height: auto !important; background-image: none !important; background-attachment: initial !important; background-size: initial !important; background-origin: initial !important; background-clip: initial !important; background-position: initial !important; background-repeat: initial !important;"&gt;/&amp;gt; &lt;/CODE&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;to 70000 but I still get the error... Does anyone have any ideas what may be happening... or what other info would I need to post to enable someone to have an idea to sole this?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 09:24:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030978#M41985</guid>
      <dc:creator>Paul_C_6</dc:creator>
      <dc:date>2016-04-01T09:24:16Z</dc:date>
    </item>
    <item>
      <title>Paul -- if you build a</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030979#M41986</link>
      <description>&lt;P&gt;Paul -- if you build a "debuggable" equal "true" version of your app, and connect it using USB you can debug the built app directly. See this for some details on how to do that &amp;gt;&amp;nbsp;https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview#RemoteChromeDevTools &amp;lt; Then I would suggest using the "Timeline" or "Network" tabs in Chrome DevTools to see if there's some long startup or delays associated with your app. My guess is something is happening during the startup of your app that is causing long delays. For example, attempting to download some scripts, images, fonts or other assets as part of the application load cycle. In general, you should avoid any such activities as part of the app init and load, as they are unreliable and unpredictable. They should only be done once the app is up and running AND you know you have a good network connection.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2016 03:27:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030979#M41986</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-04-03T03:27:02Z</dc:date>
    </item>
    <item>
      <title>Thanks for the advice Paul.</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030980#M41987</link>
      <description>&lt;P&gt;Thanks for the advice Paul.&lt;/P&gt;

&lt;P&gt;I have the debugging up and running on Chrome and can see the Network and Timeline... What would be the tell tale signs which i should be looking out for?&lt;/P&gt;

&lt;P&gt;Your help is appreciated.&lt;/P&gt;

&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 13:57:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030980#M41987</guid>
      <dc:creator>Paul_C_6</dc:creator>
      <dc:date>2016-04-06T13:57:16Z</dc:date>
    </item>
    <item>
      <title>Are you loading assets</title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030981#M41988</link>
      <description>&lt;UL&gt;
	&lt;LI&gt;Are you loading assets remotely, over the network?&lt;/LI&gt;
	&lt;LI&gt;Are there long delays to get to your app's "ready to be used" state?&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/timeline-tool" target="_blank"&gt;https://developers.google.com/web/tools/chrome-devtools/profile/evaluate-performance/timeline-tool&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://developers.google.com/web/tools/chrome-devtools/profile/network-performance/resource-loading" target="_blank"&gt;https://developers.google.com/web/tools/chrome-devtools/profile/network-performance/resource-loading&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 06 Apr 2016 18:30:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030981#M41988</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-04-06T18:30:35Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030982#M41989</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Some more info on this issue.&lt;/P&gt;

&lt;P&gt;After releasing an update to the app store an end user reported this error would pop up most every time he launched the app, my app had not encountered this error since i went with crosswalk builds.&lt;/P&gt;

&lt;P&gt;Turns out I had accidentally deployed the app still containing the debug WEINRE script tag.&lt;/P&gt;

&lt;P&gt;I decided to bite the bullet and solve the problem once and for all by removing the deprecated plugin intel.xdk.cache, i was using it just for the cookies functionality.&lt;/P&gt;

&lt;P&gt;I encountered the error during a live debug session and was able to definitively trace it to cache.js file of this plugin.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/01org/cordova-plugin-intel-xdk-cache/blob/master/www/cache.js"&gt;https://github.com/01org/cordova-plugin-intel-xdk-cache/blob/master/www/cache.js&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 20:36:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/ERROR-Error-initializing-Intel-XDK-Cache-JSON-error/m-p/1030982#M41989</guid>
      <dc:creator>SithLord</dc:creator>
      <dc:date>2016-05-24T20:36:36Z</dc:date>
    </item>
  </channel>
</rss>

