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 2016/08/09 08:15:24 UTC

[FlexJS] Error in flash on svg-refactor branch

I'm getting this message:

VerifyError: Error #1079: Native methods are not allowed in loaded code.

In develop branch I don't see the error. Any ideas?



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Error in flash on svg-refactor branch

Posted by yishayw <yi...@hotmail.com>.
Makes sense, we can do without those libraries.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54454.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Error in flash on svg-refactor branch

Posted by Alex Harui <ah...@adobe.com>.

On 8/9/16, 1:44 PM, "yishayw" <yi...@hotmail.com> wrote:

>So Piotrz was right. When I remove GCL.swc and js.swc from the poject it
>compiles and runs on the flash side. The problem is we need it for the JS
>side.
>

Framework SWCs are written with platform-specific code and are compiled
for JS with GCL.swc and js.swc and for SWF with playerglobal/airglobal.
Applications should be comprised of platform-agnostic code and not need
GCL.swc or js.swc or conditional compilation.

Why does your app need GCL.swc?

-Alex


Re: [FlexJS] Error in flash on svg-refactor branch

Posted by yishayw <yi...@hotmail.com>.
So Piotrz was right. When I remove GCL.swc and js.swc from the poject it
compiles and runs on the flash side. The problem is we need it for the JS
side.



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54449.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Error in flash on svg-refactor branch

Posted by yishayw <yi...@hotmail.com>.
Apart from the sdk my swcs are the same whether I use the develop or
sprite-refactor branch, and in the develop branch there's no problem.

FWIW, I'm referencing GCL.swc, js.swc on top of the SDK swcs. 



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54433.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Error in flash on svg-refactor branch

Posted by yishayw <yi...@hotmail.com>.
I tried recompiling XML using the develop branch and pasting XML.swc on top
of the sprite-refactor swcs but that didn't help. 



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54434.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Error in flash on svg-refactor branch

Posted by Harbs <ha...@gmail.com>.
I think it might be caused by the changes I made to XML. I out the COMPILE::JS conditional on the class rather than the individual functions. I’m not sure why that’s a problem though…

On Aug 9, 2016, at 12:29 PM, piotrz <pi...@gmail.com> wrote:

> Hi Yishay,
> 
> Maybe you have some additional swc in your project. Air swc which is not
> required in this type of project.
> 
> Piotr
> 
> 
> 
> -----
> Apache Flex PMC
> piotrzarzycki21@gmail.com
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54427.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Error in flash on svg-refactor branch

Posted by piotrz <pi...@gmail.com>.
Hi Yishay,

Maybe you have some additional swc in your project. Air swc which is not
required in this type of project.

Piotr



-----
Apache Flex PMC
piotrzarzycki21@gmail.com
--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54427.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Error in flash on svg-refactor branch

Posted by Alex Harui <ah...@adobe.com>.
Is DataBindingExample building and running?  If so, then can you comment
stuff out of your app until it builds and runs?

Thanks,
-Alex

On 8/9/16, 8:33 AM, "Harbs" <ha...@gmail.com> wrote:

>We’re using Falcon from commit 04d28a8 on August 1.
>
>(The toString() stuff from the later commits broke things too badly.)
>
>On Aug 9, 2016, at 5:45 PM, Alex Harui <ah...@adobe.com> wrote:
>
>> Before I take the time to try this, can I assume you are using a
>> flex-falcon build later than July 29?
>> 
>> On 8/9/16, 6:42 AM, "yishayw" <yi...@hotmail.com> wrote:
>> 
>>> No console output.
>>> 
>>> It's a simple self-contained app.
>>> 
>>> https://paste.apache.org/sTE8
>>> 
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> 
>>>http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-fla
>>>sh
>>> -on-svg-refactor-branch-tp54426p54431.html
>>> Sent from the Apache Flex Development mailing list archive at
>>>Nabble.com.
>> 
>


Re: [FlexJS] Error in flash on svg-refactor branch

Posted by Harbs <ha...@gmail.com>.
We’re using Falcon from commit 04d28a8 on August 1.

(The toString() stuff from the later commits broke things too badly.)

On Aug 9, 2016, at 5:45 PM, Alex Harui <ah...@adobe.com> wrote:

> Before I take the time to try this, can I assume you are using a
> flex-falcon build later than July 29?
> 
> On 8/9/16, 6:42 AM, "yishayw" <yi...@hotmail.com> wrote:
> 
>> No console output.
>> 
>> It's a simple self-contained app.
>> 
>> https://paste.apache.org/sTE8
>> 
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash
>> -on-svg-refactor-branch-tp54426p54431.html
>> Sent from the Apache Flex Development mailing list archive at Nabble.com.
> 


Re: [FlexJS] Error in flash on svg-refactor branch

Posted by Alex Harui <ah...@adobe.com>.
Before I take the time to try this, can I assume you are using a
flex-falcon build later than July 29?

On 8/9/16, 6:42 AM, "yishayw" <yi...@hotmail.com> wrote:

>No console output.
>
>It's a simple self-contained app.
>
>https://paste.apache.org/sTE8
>  
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash
>-on-svg-refactor-branch-tp54426p54431.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: [FlexJS] Error in flash on svg-refactor branch

Posted by yishayw <yi...@hotmail.com>.
No console output.

It's a simple self-contained app.

https://paste.apache.org/sTE8
  



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426p54431.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS] Error in flash on svg-refactor branch

Posted by Alex Harui <ah...@adobe.com>.
No other console output before that error?

Sent from my LG G3, an AT&T 4G LTE smartphone

------ Original message------
From: yishayw
Date: Tue, Aug 9, 2016 2:01 AM
To: dev@flex.apache.org;
Subject:[FlexJS] Error in flash on svg-refactor branch

I'm getting this message:

VerifyError: Error #1079: Native methods are not allowed in loaded code.

In develop branch I don't see the error. Any ideas?



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Error-in-flash-on-svg-refactor-branch-tp54426.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.