Software Archive
Read-only legacy content
17061 Discussions

Intel XDK gets crashed while opening emulate tab

Anil_K_
Beginner
177 Views

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/Local/XDK/xdk-scratchdir/c0004828-cb88-4c33-97f7-c4629b6279f5/platforms/android/assets/www/ionic-v1.2.1/js/ionic.bundle.min.js (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/Local/XDK/xdk-scratchdir/c0004828-cb88-4c33-97f7-c4629b6279f5/platforms/android/assets/www/ionic-v1.2.1/js/ionic.bundle.min.js (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/Local/XDK/xdk-scratchdir/c0004828-cb88-4c33-97f7-c4629b6279f5/platforms/android/assets/www/ionic-v1.2.1/js/ionic.bundle.min.js (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/Local/XDK/xdk-scratchdir/c0004828-cb88-4c33-97f7-c4629b6279f5/platforms/android/assets/www/ionic-v1.2.1/js/ionic.bundle.min.js (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.

0 Kudos
1 Reply
Elroy_A_Intel
Employee
177 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.

0 Kudos
Reply