Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7DE7F18698 for ; Thu, 6 Aug 2015 08:44:05 +0000 (UTC) Received: (qmail 39973 invoked by uid 500); 6 Aug 2015 08:44:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 39954 invoked by uid 500); 6 Aug 2015 08:44:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 39936 invoked by uid 99); 6 Aug 2015 08:44:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 08:44:05 +0000 Date: Thu, 6 Aug 2015 08:44:05 +0000 (UTC) From: "Alexander Sorokin (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CB-9456) app crashes on startup on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-9456?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Sorokin closed CB-9456. --------------------------------- Resolution: Fixed > 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 > Environment: Windows 8.1 > 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 terminated itself by calling terminateApp A= PI. App details are as follows: Display Name:, AppUserModelI= d: Package = Identity: PID:<3508= >. The API was called from the context of the following HTML document: . Error object passed to terminateApp carried the following d= etails Description:<{"description":"'platform' is undefined","number":-2146= 823279,"stack":"ReferenceError: 'platform' is undefined\n at activationHa= ndler (ms-appx://io.cordova.hellocordova/www/cordova.js:1320:17)\n at dis= patchOne (ms-appx://microsoft.winjs.2.0/js/base.js:9416:25)\n at dispatch= Event (ms-appx://microsoft.winjs.2.0/js/base.js:9415:21)\n at drainOneEve= nt (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 (m= s-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-ap= px://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://m= icrosoft.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:1= 7) > 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:1= 3) > 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