Hi, When switching to communicate with a copy of my database on a testserver (with mysql server at localhost) I very very slowly receive some initial data from the database. At the third sql-call it breaks...I get this same error.....
netStatusHandler: [NetStatusEvent type="netStatus" bubbles=false cancelable=false eventPhase=2 info=[object Object]] level : error details : code : Client.Data.UnderFlow description : Could it have anything to do with differences in php- or mysqlversions? On the old webserver everything works fine. Nothing is acutaly changed in the actionscript-code. And the sql-statements works fine in the amfphp-browser. Someone has any suggestions for this problem? Thanks, Fredrik Sandberg > This is due to an unexpected error during serialization. If you could send me a reproducible test case I would very much like to know what caused this... the best way would be to zip up the code and rename the zip file with a .pete extension (as .zip files will be denied by our email system). > > Thanks, > Pete > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Aurélien BLOND > Sent: Sunday, October 15, 2006 11:56 AM > To: [email protected] > Subject: [flexcoders] Flex Data Services - Client.Data.UnderFlow > > > > Hi there, > > I'm currently trying to use Flex Data Services and Hibernate to link my web application with a MySQL database. > > All Java classes are written and mapped to the database with hibernate. > > AS3 classes are written and mapped to Java classes with [Managed] and [RemoteClass(...)]. > > The data-management-config file is filled with one destination per class and the default-channel is polling-amf. > > The first class is the Client one and contains all personal data. > > The second one is the User class. It contains special data and a reference to a Client. > > The last class is the Contract one. This one contains contract data, a reference to a Client and a collection of Users to indicate which users are concerned by the current contract. > > The web application contains 2 states: > > - the default one to display client's contracts in a custom component using a DataService to retrieve data (destination = hibernate.Contract) > > - the second one to display client's and users' data in a custom component containing two DataServices to retrieve data (destinations = hibernate.Client and hibernate.User > > So when a client visits the website, the default state is displayed without any problem. An error is displayed when the client changes the current state of the application but new data are well displayed. Here is the error: > > Error #2044: NetStatusEvent non pris en charge : level=error, code=Client.Data.UnderFlow > > at mx.messaging.channels::NetConnectionChannel$iinit() > > at mx.messaging.channels::AMFChannel$iinit() > > at mx.messaging.config::ServerConfig$/::createChannel() > > at mx.messaging.config::ServerConfig$/getChannel() > > at mx.messaging::ChannelSet/::hunt() > > at mx.messaging::ChannelSet/send() > > at mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend() > > at mx.messaging::Consumer/subscribe() > > at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::reconnect() > > at mx.data::ConcreteDataService/fill() > > at mx.data::DataService/fill() > > at assure_v3/getContract() > > at assure_v3/initAssureV3() > > at assure_v3/___Application1_creationComplete() > > at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction() > > at flash.events::EventDispatcher/dispatchEvent() > > at mx.core::UIComponent/set initialized() > > at mx.managers::LayoutManager/::doPhasedInstantiation() > > at Function/http://adobe.com/AS3/2006/builtin::apply() > > at mx.core::UIComponent/::callLaterDispatcher2() > > at mx.core::UIComponent/::callLaterDispatcher() > > I tried to disconnect the DataService, release the collection but I have no idea on how to solve this problem. Does somebody already encounter this problem or know how to solve it? > > Thanks. > > -- > > Aurélien BLOND > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

