I have upgraded flash builder from 4.5 to 4.7 and am hitting a major problem.
We use blazeds 184.108.40.20631 and every time we try to generate our Services with Flash builder 4.7 x32 or x64 bit we always received errors when trying to use the application.
It seems to generate the objects fine and we receive no errors or warnings in flash builder, but when we launch the application we always receive the errors below.
I was wondering if there is a compatibility issue with something that we are using, either flash, flash builder, blazeds etc?
I have spent all morning trying several things to get this working and am out of ideas, any ideas would be greatly appreciated.
TypeError: Error #1034: Type Coercion failed: cannot convert Object@16c800b9 to com.companyx.services.valueObjects.MyDto.
at mx.rpc::Responder/result()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:5 6]
at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:84]
at NetConnectionMessageResponder/resultHandler()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx \messaging\channels\NetConnectionChannel.as:547]
at mx.messaging::MessageResponder/result()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\messa ging\MessageResponder.as:235]
It appears due to the fact it is missing several calls to MyObjectDto._initRemoteClassAlias() when it generates my objects, I can manually add them all in but this isnt a workable solution, I have found afew other post relating to this but no answer?
Any ideas or help please?