rsrini7 / flexmonkey

Automatically exported from code.google.com/p/flexmonkey
0 stars 0 forks source link

Type Coercion failed: cannot convert Object@13522c91 to mx.messaging.messages.IMessage #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
==================================
FlexMonkey Use Cases:

1) App under test and MonkeyAgent on remote server?
2) App under test and MonkeyAgent local?
3) App under test loaded from local file system into FlexMonkey Target SWF
window?
4) ANT run with TestLauncher?
5) ANT run with TestRunner?
6) Other? (describe)

Your Use Case: [1-6] : 2

If you use the MonkeyAgent, are you running it in the FlexBuilder Debugger?
(yes/no) no
==================================

What steps will reproduce the problem?

I'm trying to use MonkeyAgent in the browser but when launching my
application I get the following error:

Type Coercion failed: cannot convert Object@13522c91 to
mx.messaging.messages.IMessage.

Here is what I've done:

- checkout trunk of flexmonkey project
- get the flex 3.4 automation & datavisulation swc and put them in my
flex 3.4 sdk.
- build flexmonkey projects with flex 3.4 (which was quite some work
due to absolute paths in the eclipse project properties)
- build my flex app with the same flex 3.4 sdk

When I try a simple helloworld app it works. But my real application
gives the above error.

Some notes about my app:
- it loads submodules (which are loaded from the same url (all swfs
are in the same directory).
- it has some uses of Application.application.url (but that should
work right?)

If use the automation and datavisulations swc from Flex 3.2 then I get
the following error when running MonkeyAgent in the browser:

VerifyError: Error #1053: Illegal override of addSelectionData in
mx.controls.AdvancedDataGridBaseEx. 

What is the expected output? What do you see instead?

Stacktrace instead of the application correctly starting

What version of the Flex SDK are you using?

Flex 3.4.0.9271

What version of the FlexMonkey are you using?

Flexmonkey SVN trunk version (end of January)

What version of the MonkeyAgent are you using? (if applicable)

On what operating system?

Windows 7 32 bit

Original issue reported on code.google.com by wbervo...@gmail.com on 5 Feb 2010 at 8:36

GoogleCodeExporter commented 9 years ago
Still struggling with this issue. Would be nice if someone would know where I 
could
start looking for a solution :-)

Original comment by wbervo...@gmail.com on 15 Feb 2010 at 4:00