infinite / mockito-flex

0 stars 0 forks source link

VerifyError #29

Open infinite opened 10 years ago

infinite commented 10 years ago

VerifyError: Error #1053: Illegal override of MockLoader507B2E3BEBF9FD4B8CDE636ADF26D1D77B102D3D in asmock.generated.MockLoader507B2E3BEBF9FD4B8CDE636ADF26D1D77B102D3D.

at flash.system::ApplicationDomain/getDefinition()
at Function/<anonymous>()
infinite commented 10 years ago

From Nikita Dudnik on 2010-11-06 12:17:32+00:00

Flex SDK 4.1.0.16076 (AIR). I've got a feeling a similar errors was already reported. If it's a new one I'm ready to provide some details.

infinite commented 10 years ago

From loomis on 2010-11-08 12:27:43+00:00

Hi,

Actually this is the first time I'm seeing this problem. Do you happen to have asmock on your dependencies? Mockito is linked against asmock-1.0rc1.

Regards, Kris

infinite commented 10 years ago

From Nikita Dudnik on 2010-11-08 12:38:44+00:00

Hi!

No. Here's a complete list of dependencies:

I can make an isolated example if it helps. Hope this issue is fixable. Right now I have to write mocks manually which is not so neat.

Nik

infinite commented 10 years ago

From loomis on 2010-12-08 14:20:29+00:00

Hi,

Sorry I missed you comments. Still I have not heard about similar issue. Did you try mailing list?

Regards, Kris

infinite commented 10 years ago

From Anonymous on 2010-12-08 14:25:12+00:00

Hi, Thanks for the answer. Better late then never! I have not tried mailing list. I has the issue only in a rare scenarios involving built in classes. So I use old school manually coded mocks for those rare cases and mockito-flex for all the others.

Thanks, Nikita

infinite commented 10 years ago

From Nikita Dudnik on 2010-12-08 14:26:02+00:00

Hi, Thanks for the answer. Better late then never! I have not tried mailing list. I has the issue only in a rare scenarios involving built in classes. So I use old school manually coded mocks for those rare cases and mockito-flex for all the others.

Thanks, Nik

infinite commented 10 years ago

From loomis on 2010-12-09 08:25:56+00:00

Can you send me the isolated example please?

infinite commented 10 years ago

From Nikita Dudnik on 2010-12-09 08:38:00+00:00

Yes, but I need to isolate it first. I'll have time at this weekend.

infinite commented 10 years ago

From Nikita Dudnik on 2010-12-13 13:01:52+00:00

I've tried hard to isolate it. Recoded all my custom mocks into mockito ones as a result. But I have not got any errors. I've also tried different combinations of libraries I use. No problems.

So far I consider this issue resolved as non reproducible.

infinite commented 10 years ago

From loomis on 2010-12-13 13:10:25+00:00

OK thanks for sharing this and happy testing!