[
https://issues.apache.org/jira/browse/CB-12784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010467#comment-16010467
]
ASF GitHub Bot commented on CB-12784:
-------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-windows/pull/232
CB-12784 Fixed a crash on Windows 10 Creators Update
### Platforms affected
Windows
### What does this PR do?
https://issues.apache.org/jira/browse/CB-12784
Fixes a crash described in the issue by by improving a check for supported
functionality.
### What testing has been done on this change?
Ran on Windows 10 Creators Update (build 15063.250), Ran on Windows 8.1,
Ran on Windows 10 mobile
### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [ ] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alsorokin/cordova-windows CB-12784
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-windows/pull/232.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 #232
----
commit 279816743f995510a1070a0bf77a3180f11e468a
Author: Alexander Sorokin <[email protected]>
Date: 2017-05-12T15:50:48Z
CB-12784 Fixed a crash on Windows 10 Creators Update
----
> [Windows 10 Creators Update] "8.1-win" app crashes on start
> -----------------------------------------------------------
>
> Key: CB-12784
> URL: https://issues.apache.org/jira/browse/CB-12784
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-windows
> Affects Versions: Master
> Environment: Windows 10 Creators Update (build 15063.250)
> Cordova 7.0.0 or 7.0.1
> Reporter: Alexander Sorokin
>
> {noformat}
> cordova create foo
> cordova platform add windows
> cordova run -- --appx=8.1-win
> {noformat}
> The stack trace is as follows:
> {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_1.0.0.0_neutral__h35559jr9hy9m>
> PID:<16200>. 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":"Element not
> found.\r\n","number":-2147023728,"stack":"WinRTError: Element not
> found.\r\n\n at colorizeTitleBar
> (ms-appx://io.cordova.hellocordova/www/cordova.js:2083:9)\n at show
> (ms-appx://io.cordova.hellocordova/www/cordova.js:2100:5)\n at
> module.exports.firstShow
> (ms-appx://io.cordova.hellocordova/www/cordova.js:2236:13)\n at Anonymous
> function (ms-appx://io.cordova.hellocordova/www/cordova.js:1619:21)\n at
> notifySuccess (ms-appx://microsoft.winjs.2.0/js/base.js:1550:21)\n at
> state_success_notify.enter
> (ms-appx://microsoft.winjs.2.0/js/base.js:1232:21)\n at _run
> (ms-appx://microsoft.winjs.2.0/js/base.js:1448:17)\n at _completed
> (ms-appx://microsoft.winjs.2.0/js/base.js:1416:13)\n at notifySuccess
> (ms-appx://microsoft.winjs.2.0/js/base.js:1550:21)\n at
> state_success_notify.enter
> (ms-appx://microsoft.winjs.2.0/js/base.js:1232:21)"}>, and Stack Trace:-
> WinRTError: Element not found.
> at colorizeTitleBar
> (ms-appx://io.cordova.hellocordova/www/cordova.js:2083:9)
> at show (ms-appx://io.cordova.hellocordova/www/cordova.js:2100:5)
> at module.exports.firstShow
> (ms-appx://io.cordova.hellocordova/www/cordova.js:2236:13)
> at Anonymous function
> (ms-appx://io.cordova.hellocordova/www/cordova.js:1619:21)
> at notifySuccess (ms-appx://microsoft.winjs.2.0/js/base.js:1550:21)
> at state_success_notify.enter
> (ms-appx://microsoft.winjs.2.0/js/base.js:1232:21)
> at _run (ms-appx://microsoft.winjs.2.0/js/base.js:1448:17)
> at _completed (ms-appx://microsoft.winjs.2.0/js/base.js:1416:13)
> at notifySuccess (ms-appx://microsoft.winjs.2.0/js/base.js:1550:21)
> at state_success_notify.enter
> (ms-appx://microsoft.winjs.2.0/js/base.js:1232:21)
> .
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]