cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9456) app crashes on startup on Windows
Date Wed, 05 Aug 2015 13:08:04 GMT

    [ https://issues.apache.org/jira/browse/CB-9456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14655314#comment-14655314
] 

ASF GitHub Bot commented on CB-9456:
------------------------------------

GitHub user alsorokin opened a pull request:

    https://github.com/apache/cordova-windows/pull/109

    CB-9456 Fixed windows app crash on startup

    https://issues.apache.org/jira/browse/CB-9456

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-windows CB-9456

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-windows/pull/109.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #109
    
----
commit b09bf7348e813bf39f2b7b9ccfbe6544167bdb4b
Author: alsorokin <alexander.sorokin@akvelon.com>
Date:   2015-08-05T13:06:45Z

    CB-9456 Fixed windows app crash on startup

----


> 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
>              Labels: Windows
>
> {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


Mime
View raw message