You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by yishayw <yi...@hotmail.com> on 2017/03/28 08:47:33 UTC

[FlexJS] Simple App Not Running

After updating falcon this [1] app, gives the following error:

Uncaught TypeError: Cannot read property 'prototype' of undefined
    at Object.goog.inherits (base.js:2408)
    at a_project.js:106

base.js:2408 looks like this:

  tempCtor.prototype = parentCtor.prototype;
 
and parentCtor is marked as undefined.

I'm going to try the same app on the latest nightly build and see if I'm
having the same problem.

[1] https://paste.apache.org/Rmzt



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Yishay,

The Ant build doesn’t build a single Application so I would say if you build with Maven without examples this will succeed too, but that doesn’t mean that the build is correct. (See the DISCUSS thread I just opened for details)

Chris

Am 28.03.17, 11:21 schrieb "Harbs" <ha...@gmail.com>:

    The ant build of the framework is working.
    
    > On Mar 28, 2017, at 12:11 PM, Christofer Dutz <ch...@c-ware.de> wrote:
    > 
    > Hi Yishay,
    > 
    > Well I would guess that everyone is having the same problem. Due to latest refactoring things are broken and not even the Jenkins build is working.
    > Even if it is providing new versions of the Framework libraries, these currently can’t be used to build applications till the issues are fixed.
    > 
    > Chris
    > 
    > Am 28.03.17, 10:53 schrieb "yishayw" <yi...@hotmail.com>:
    > 
    >    Same problem with a fresh nightly. I anyone else getting this?
    > 
    > 
    > 
    >    --
    >    View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60826.html
    >    Sent from the Apache Flex Development mailing list archive at Nabble.com.
    > 
    > 
    
    


Re: [FlexJS] Simple App Not Running

Posted by Harbs <ha...@gmail.com>.
The ant build of the framework is working.

> On Mar 28, 2017, at 12:11 PM, Christofer Dutz <ch...@c-ware.de> wrote:
> 
> Hi Yishay,
> 
> Well I would guess that everyone is having the same problem. Due to latest refactoring things are broken and not even the Jenkins build is working.
> Even if it is providing new versions of the Framework libraries, these currently can’t be used to build applications till the issues are fixed.
> 
> Chris
> 
> Am 28.03.17, 10:53 schrieb "yishayw" <yi...@hotmail.com>:
> 
>    Same problem with a fresh nightly. I anyone else getting this?
> 
> 
> 
>    --
>    View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60826.html
>    Sent from the Apache Flex Development mailing list archive at Nabble.com.
> 
> 


Re: [FlexJS] Simple App Not Running

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Yishay,

Well I would guess that everyone is having the same problem. Due to latest refactoring things are broken and not even the Jenkins build is working.
Even if it is providing new versions of the Framework libraries, these currently can’t be used to build applications till the issues are fixed.

Chris

Am 28.03.17, 10:53 schrieb "yishayw" <yi...@hotmail.com>:

    Same problem with a fresh nightly. I anyone else getting this?
    
    
    
    --
    View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60826.html
    Sent from the Apache Flex Development mailing list archive at Nabble.com.
    


Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
Same problem with a fresh nightly. I anyone else getting this?



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60826.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by Alex Harui <ah...@adobe.com>.
Your example is using remove-circulars.  Looks like there are still bugs
in that.  I'll be trying to fix those but I'm with my kid's school trip
the rest of the week so not full time.

-Alex

On 3/29/17, 10:46 AM, "yishayw" <yi...@hotmail.com> wrote:

>I just downloaded the nightly and build DataBinding from there and it runs
>successfully. I'll see if I can narrow the differences between DataBinding
>and a_project.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp6082
>5p60908.html&data=02%7C01%7C%7C353efb88097047de925b08d476ccb472%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636264068949633928&sdata=OKXPSAQd7GdUQ%
>2FtirlU%2Bwb2pEDK885JNjB7prLHZf6M%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
I just downloaded the nightly and build DataBinding from there and it runs
successfully. I'll see if I can narrow the differences between DataBinding
and a_project.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60908.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
That does work.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60906.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by Alex Harui <ah...@adobe.com>.
So I just did:

Flex-falcon:
  ant wipe-all
  ant all

Flex-asjs:
  ant super-clean
  ant
  cd examples/flexjs/DataBindingExample
  ant clean
  ant

Then I ran the bin/js-debug/index.html in DataBindingExample.

Does that work for you?  It is probably a good idea to do the "clean".

-Alex

On 3/29/17, 8:39 AM, "Yishay Weiss" <yi...@hotmail.com> wrote:

>I’m using ant:
>
>Build.xml [1], build_example.xml [2]
>
>The console output is (see upthread):
>
>Uncaught TypeError: Cannot read property 'prototype' of undefined
>    at Object.goog.inherits (base.js:2408)
>    at a_project.js:106
>
>[1] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FUtyt&data=02%7C01%7C%7Ce8a9b1c97023483c326608d476b9d155%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636263987828894611&sdata=9pPF1Mi0zDWN
>a%2BkjgruXO%2FnzYTDgEmEWCN%2FNG6sBjTM%3D&reserved=0
>[2] 
>https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa
>che.org%2FWq3U&data=02%7C01%7C%7Ce8a9b1c97023483c326608d476b9d155%7Cfa7b1b
>5a7b34438794aed2c178decee1%7C0%7C0%7C636263987828894611&sdata=OquOs%2BDBqM
>WxpVnpCpqYjVxzpTYmmPDnb%2FqTJ35Di0o%3D&reserved=0
>
>
>From: Alex Harui<ma...@adobe.com>
>Sent: Wednesday, March 29, 2017 6:32 PM
>To: dev@flex.apache.org<ma...@flex.apache.org>
>Subject: Re: [FlexJS] Simple App Not Running
>
>Are you using Ant or Maven?
>
>What build steps are you using, and what is the console output?
>
>Thanks,
>-Alex
>
>On 3/29/17, 8:22 AM, "yishayw" <yi...@hotmail.com> wrote:
>
>>I just tried it with the latest falcon from repo and am getting the same
>>results.
>>
>>
>>
>>--
>>View this message in context:
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl
>>e
>>x-development.2333347.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp608
>>2
>>5p60901.html&data=02%7C01%7C%7C4a01f5e84a2e4b6b7a4808d476b890e0%7Cfa7b1b5
>>a
>>7b34438794aed2c178decee1%7C0%7C0%7C636263982453087548&sdata=%2BwPWydqvIs9
>>c
>>CetBbyKXCCZOMekF0rcdMOU%2Fojuf7Qs%3D&reserved=0
>>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>


RE: [FlexJS] Simple App Not Running

Posted by Yishay Weiss <yi...@hotmail.com>.
I’m using ant:

Build.xml [1], build_example.xml [2]

The console output is (see upthread):

Uncaught TypeError: Cannot read property 'prototype' of undefined
    at Object.goog.inherits (base.js:2408)
    at a_project.js:106

[1] https://paste.apache.org/Utyt
[2] https://paste.apache.org/Wq3U


From: Alex Harui<ma...@adobe.com>
Sent: Wednesday, March 29, 2017 6:32 PM
To: dev@flex.apache.org<ma...@flex.apache.org>
Subject: Re: [FlexJS] Simple App Not Running

Are you using Ant or Maven?

What build steps are you using, and what is the console output?

Thanks,
-Alex

On 3/29/17, 8:22 AM, "yishayw" <yi...@hotmail.com> wrote:

>I just tried it with the latest falcon from repo and am getting the same
>results.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp6082
>5p60901.html&data=02%7C01%7C%7C4a01f5e84a2e4b6b7a4808d476b890e0%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636263982453087548&sdata=%2BwPWydqvIs9c
>CetBbyKXCCZOMekF0rcdMOU%2Fojuf7Qs%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Simple App Not Running

Posted by Alex Harui <ah...@adobe.com>.
Are you using Ant or Maven?

What build steps are you using, and what is the console output?

Thanks,
-Alex

On 3/29/17, 8:22 AM, "yishayw" <yi...@hotmail.com> wrote:

>I just tried it with the latest falcon from repo and am getting the same
>results.
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp6082
>5p60901.html&data=02%7C01%7C%7C4a01f5e84a2e4b6b7a4808d476b890e0%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636263982453087548&sdata=%2BwPWydqvIs9c
>CetBbyKXCCZOMekF0rcdMOU%2Fojuf7Qs%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
To be clear, it's not working with the latest falcon.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60902.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
I just tried it with the latest falcon from repo and am getting the same
results.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60901.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
Still getting the same problem with the nightly. What fixes it for me is to
go back to reset falcon to 22d17c8d447c22fb75a4063ad5b01879a9f08b7d (Mar
22nd).



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60899.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by Alex Harui <ah...@adobe.com>.
Should be fixed with the latest change to flex-falcon.  Please sync up and
try again.

Thanks,
-Alex

On 3/28/17, 2:37 AM, "yishayw" <yi...@hotmail.com> wrote:

>My mistake, the problem is not with event but with goog.events.Event being
>undefined but with org.apache.flex.core.Application being undefined. So it
>looks like the same problem Harbs was having [1]
>
>[1]
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFalcon-build-failing-td60790.html&da
>ta=02%7C01%7C%7C7de55c6bb6e142c6b39108d475bf3a08%7Cfa7b1b5a7b34438794aed2c
>178decee1%7C0%7C0%7C636262911551290968&sdata=1ZfQzLu0BQfKi8n06b%2Bzcxw760J
>Z%2Fz3xIVbQBf45M0U%3D&reserved=0
>
>
>
>--
>View this message in context:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle
>x-development.2333347.n4.nabble.com%2FFlexJS-Simple-App-Not-Running-tp6082
>5p60833.html&data=02%7C01%7C%7C7de55c6bb6e142c6b39108d475bf3a08%7Cfa7b1b5a
>7b34438794aed2c178decee1%7C0%7C0%7C636262911551300972&sdata=Ul89yd0lZgMWTM
>Yy078la4eUr6%2FHn0qmJw6Mp8vSz64%3D&reserved=0
>Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
My mistake, the problem is not with event but with goog.events.Event being
undefined but with org.apache.flex.core.Application being undefined. So it
looks like the same problem Harbs was having [1]

[1]
http://apache-flex-development.2333347.n4.nabble.com/Falcon-build-failing-td60790.html



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60833.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Simple App Not Running

Posted by yishayw <yi...@hotmail.com>.
Stack trace reveals that in 

org.apache.flex.events.Event.js

in line 33:
goog.inherits(org.apache.flex.events.Event, goog.events.Event);

goog.events.Event is undefined, even though line 13 is

goog.require('goog.events.Event');




--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Simple-App-Not-Running-tp60825p60828.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.