Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Anil_K_
Beginner
51 Views

Intel XDK gets crashed while opening emulate tab

Suddenly Intel XDK getting crashed when I am trying to open emulate tab.Earlier it was working fine. My app is using ionic. I have a service

app.service('API', ['$http', function($http){

    var _baseUrl = "http://mybaseurl/"

    var _api = {
        getCatagories : function(){
            return $http.get(_baseUrl + 'catagory.json');
        }
    };

    return _api;
}]);

When $http.get(_baseUrl + 'catagory.json') executes, XDK crashes.

I am posting last few lines of the crash log, if required, I will attach the full log also.

[7992:0228/131347:INFO:CONSOLE(2952)] ""mousedown" "stop event"", source: http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/anikumar/AppData/Lo... (2952)
[7992:0228/131348:INFO:CONSOLE(2952)] ""mousedown" "stop event"", source: http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/anikumar/AppData/Lo... (2952)
[7992:0228/131400:INFO:CONSOLE(14635)] ""VIEW" "initialView" "none" {"viewId":"ion1","index":0,"historyId":"root","backViewId":null,"forwardViewId":null,"stateId":"welcome","stateName":"welcome","stateParams":null,"url":"/welcome","canSwipeBack":true}", source: http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/anikumar/AppData/Lo... (14635)
[7992:0228/131400:INFO:CONSOLE(14635)] ""VIEW" "newView" "forward" {"viewId":"ion2","index":1,"historyId":"root","backViewId":"ion1","forwardViewId":null,"stateId":"account","stateName":"account","stateParams":null,"url":"/account","canSwipeBack":true}", source: http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/anikumar/AppData/Lo... (14635)
[7992:0228/131408:INFO:dispatcher_host.cc(151)] [NW.JS]RenderProcessCrashed
XDK exit code & signal: 3, null
Crash minidump not found in XDK data folder. Falling back to TEMP...

Crash minidump NOT FOUND.

 

I uninstalled the XDK and installed again, didn't work out.

Tags (2)
0 Kudos
1 Reply
Elroy_A_Intel
Employee
51 Views

If you are attempting to access a local file in your project directory directly via Ionic's Angular methods, you can not directly access a .json file or any file in your application due to restriction of JavaScript and web standards. There is a possibility that it is affecting Intel XDK negatively.

Reply