You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2015/08/05 15:00:05 UTC
[jira] [Created] (CB-9456) app crashes on startup on Windows
Alexander Sorokin created CB-9456:
-------------------------------------
Summary: app crashes on startup on Windows
Key: CB-9456
URL: https://issues.apache.org/jira/browse/CB-9456
Project: Apache Cordova
Issue Type: Bug
Components: Windows
Affects Versions: Master
Reporter: Alexander Sorokin
Assignee: Alexander Sorokin
Priority: Critical
{noformat}
cordova create foo
cd foo
cordova platform add https://github.com/apache/cordova-windows
cordova run windows
{noformat}
App starts and then crashes immediately with following message in windows log:
{noformat}
App <io.cordova.hellocordova> terminated itself by calling terminateApp API. App details are as follows: Display Name:<HelloCordova>, AppUserModelId: <io.cordova.hellocordova_h35559jr9hy9m!io.cordova.hellocordova> Package Identity:<io.cordova.hellocordova_0.0.1.0_neutral__h35559jr9hy9m> PID:<3508>. The API was called from the context of the following HTML document: </www/index.html>. Error object passed to terminateApp carried the following details Description:<{"description":"'platform' is undefined","number":-2146823279,"stack":"ReferenceError: 'platform' is undefined\n at activationHandler (ms-appx://io.cordova.hellocordova/www/cordova.js:1320:17)\n at dispatchOne (ms-appx://microsoft.winjs.2.0/js/base.js:9416:25)\n at dispatchEvent (ms-appx://microsoft.winjs.2.0/js/base.js:9415:21)\n at drainOneEvent (ms-appx://microsoft.winjs.2.0/js/base.js:9469:13)\n at drainQueue (ms-appx://microsoft.winjs.2.0/js/base.js:9486:9)\n at Anonymous function (ms-appx://microsoft.winjs.2.0/js/base.js:2952:17)\n at state_running.enter (ms-appx://microsoft.winjs.2.0/js/base.js:2951:13)\n at _setState (ms-appx://microsoft.winjs.2.0/js/base.js:2667:13)\n at Anonymous function (ms-appx://microsoft.winjs.2.0/js/base.js:2866:13)\n at _execute (ms-appx://microsoft.winjs.2.0/js/base.js:2642:13)"}>, and Stack Trace:- ReferenceError: 'platform' is undefined
at activationHandler (ms-appx://io.cordova.hellocordova/www/cordova.js:1320:17)
at dispatchOne (ms-appx://microsoft.winjs.2.0/js/base.js:9416:25)
at dispatchEvent (ms-appx://microsoft.winjs.2.0/js/base.js:9415:21)
at drainOneEvent (ms-appx://microsoft.winjs.2.0/js/base.js:9469:13)
at drainQueue (ms-appx://microsoft.winjs.2.0/js/base.js:9486:9)
at Anonymous function (ms-appx://microsoft.winjs.2.0/js/base.js:2952:17)
at state_running.enter (ms-appx://microsoft.winjs.2.0/js/base.js:2951:13)
at _setState (ms-appx://microsoft.winjs.2.0/js/base.js:2667:13)
at Anonymous function (ms-appx://microsoft.winjs.2.0/js/base.js:2866:13)
at _execute (ms-appx://microsoft.winjs.2.0/js/base.js:2642:13)
.
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org