Definitely a shared code problem. Check Alex's blog for more details.

http://blogs.adobe.com/aharui/

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:       01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
<blocked::http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Barry Evans
Sent: 02 May 2008 18:35
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dual DataService components causing problems

 

Hi,

i have developed a modularised application in Flex 2.0.1 (hotfix 1) 
and im having some problems with the DataService tag.

I have a module in the application's side bar which fills a 
collection with managed objects, and i also have a module in the main 
application area which fills a collection with managed objects.

Each module uses different assembler classes/destinations configured 
in the data-management-config.xml file.

When i perform a fill on the each collection, and then attempt to 
perform another fill on the side bar module, i keep getting errora 
from the flash player log file.

The collection in the main application area always refreshes without 
any problems

The error from flex...

TypeError: Error #1034: Type Coercion failed: cannot convert 
mx.data.messages::[EMAIL PROTECTED] to 
mx.data.messages.SequencedMessage.
at 
mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processS
<http://www.adobe.com/2006/flex/mx/internal::processS> 
equenceResult()
[C:\depot\flex\branches\enterprise_bridgeman\frameworks\mx\data\DataLi
st.as:1760]
at DataListRequestResponder/result()
[C:\depot\flex\branches\enterprise_bridgeman\frameworks\mx\data\Concre
teDataService.as:5857]
at mx.rpc::AsyncRequest/acknowledge()
[E:\dev\flex_201_borneo\sdk\frameworks\mx\rpc\AsyncRequest.as:81]
at NetConnectionMessageResponder/resultHandler()
[E:\dev\flex_201_borneo\sdk\frameworks\mx\messaging\channels\NetConnec
tionChannel.as:427]
at mx.messaging::MessageResponder/result()
[E:\dev\flex_201_borneo\sdk\frameworks\mx\messaging\MessageResponder.a
s:202]

Any help would be greatly appreciated as i am hitting a brick wall, 
everything was working before, but i can't figure out what changes i 
might have made to cause these issues.

Barry

 

Reply via email to