I have upgraded flash builder from 4.5 to 4.7 and am hitting a major problem.
We use blazeds 188.8.131.5231 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.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\events\ResultEvent. as:207]
at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\AbstractOperation.a s:244]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as: 318]
at mx.rpc::Responder/result()[E:\dev\4.0.0\frameworks\projects\rpc\src\m x\rpc\Responder.as:56]
at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.0.0\frameworks\projects\r pc\src\mx\rpc\AsyncRequest.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\proje cts\rpc\src\mx\messaging\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?