Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0A244200BD3 for ; Tue, 6 Dec 2016 19:15:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 08D62160B29; Tue, 6 Dec 2016 18:15:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 59193160B17 for ; Tue, 6 Dec 2016 19:14:59 +0100 (CET) Received: (qmail 71838 invoked by uid 500); 6 Dec 2016 18:14:58 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 71825 invoked by uid 99); 6 Dec 2016 18:14:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2016 18:14:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7164A2C03DE for ; Tue, 6 Dec 2016 18:14:58 +0000 (UTC) Date: Tue, 6 Dec 2016 18:14:58 +0000 (UTC) From: "Alex Harui (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-35192) [FalconJX] TypeError: Cannot read property 'apply' of undefined with subclass of MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Dec 2016 18:15:00 -0000 [ https://issues.apache.org/jira/browse/FLEX-35192?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1572= 6259#comment-15726259 ]=20 Alex Harui commented on FLEX-35192: ----------------------------------- All it takes is one rogue environment variable. How are you launching the = compiler? Please post console output including the command-line if there = is one. > [FalconJX] TypeError: Cannot read property 'apply' of undefined with subc= lass of > -------------------------------------------------------------------------= ----------------- > > Key: FLEX-35192 > URL: https://issues.apache.org/jira/browse/FLEX-35192 > Project: Apache Flex > Issue Type: Bug > Components: FalconJX > Affects Versions: Apache FlexJS 0.8.0 > Reporter: Josh Tynjala > Assignee: Alex Harui > Fix For: Apache FlexJS 0.8.0 > > > Main application: > =09xmlns:js=3D"library://ns.apache.org/flexjs/basic" > =09xmlns:local=3D"*"> > =09 > =09=09 > =09 > =09 > =09=09 > =09 > > ViewSubclass.mxml > =09xmlns:js=3D"library://ns.apache.org/flexjs/basic"> > =09 > > The following error is thrown > "TypeError: Cannot read property 'apply' of undefined\n at ViewSubclas= s.get (file:///Users/joshtynjala/Development/NextGenAS/examples/FlexJSBasic= s/bin/js-debug/ViewSubclass.js:54:65)\n at ViewSubclass.org.apache.flex.= core.ContainerBase.addedToParent (file:///Users/joshtynjala/Development/Nex= tGenAS/examples/FlexJSBasics/bin/js-debug/org/apache/flex/core/ContainerBas= e.js:173:99)\n at FlexJSBasics.org.apache.flex.core.Application.addEleme= nt (file:///Users/joshtynjala/Development/NextGenAS/examples/FlexJSBasics/b= in/js-debug/org/apache/flex/core/Application.js:115:5)\n at FlexJSBasics= .org.apache.flex.core.Application.initialize (file:///Users/joshtynjala/Dev= elopment/NextGenAS/examples/FlexJSBasics/bin/js-debug/org/apache/flex/core/= Application.js:265:8)\n at FlexJSBasics.org.apache.flex.core.Application= .start (file:///Users/joshtynjala/Development/NextGenAS/examples/FlexJSBasi= cs/bin/js-debug/org/apache/flex/core/Application.js:236:10)\n at file://= /Users/joshtynjala/Development/NextGenAS/examples/FlexJSBasics/bin/js-debug= /index.html:89:22" > The error happens at the following line in the generated ViewSubclass.js: > var arr =3D ViewSubclass.superClass_.get__MXMLDescriptor.apply(this); > Perhaps the superClass_ doesn't have the getter, and it's further up the = inheritance chain? -- This message was sent by Atlassian JIRA (v6.3.4#6332)