Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12784

[Windows 10 Creators Update] "8.1-win" app crashes on start

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: cordova-windows
    • Labels:
      None
    • Environment:

      Windows 10 Creators Update (build 15063.250)
      Cordova 7.0.0 or 7.0.1

      Description

      cordova create foo
      cordova platform add windows
      cordova run -- --appx=8.1-win
      

      The stack trace is as follows:

      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)
      .
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alsorokin Alexander Sorokin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: