I figured it out. There was an old sort being assigned that had a SortField property that was since removed.
This was a little tough to debug since the sortField uses a string field name which won't get caught by the compiler if it is wrong. Unfortunately, the errors that get thrown are not very helpful either. The reference to "ConcreteDataService" threw me. It would be also nice if it could somehow let me know the collection which is having problems. Not sure how feasible this is. - Kevin --- In [email protected], "Kevin" <[EMAIL PROTECTED]> wrote: > > I am getting the following error when I load data from one of my data > services calls. I have no idea where to start with debugging this. I > have checked my views and sorts, and the sort fields appear to all be > valid. Any ideas of where the root of this problem could be? > > - Kevin > > Error: Find criteria must contain at least one sort field value. > at > mx.collections::Sort/findItem()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\Sort.as:491] > at > mx.collections::ListCollectionView/http://www.adobe.com/2006/flex/mx/internal::findItem()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:956] > at > mx.collections::ListCollectionView/addItemsToView()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:885] > at > mx.collections::ListCollectionView/moveItemInView()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1304] > at > mx.collections::ListCollectionView/handlePropertyChangeEvents()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1147] > at > mx.collections::ListCollectionView/listChangeHandler()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1065] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.collections::ListCollectionView/dispatchEvent()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:831] > at > mx.collections::ListCollectionView/handlePropertyChangeEvents()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1169] > at > mx.collections::ListCollectionView/listChangeHandler()[E:\dev\flex\sdk\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:1065] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at > mx.data::ConcreteDataService/dispatchCollectionEvent()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:4405] > at > mx.data::ConcreteDataService/itemUpdateHandler()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:4982] > at flash.events::EventDispatcher/dispatchEventFunction() > at flash.events::EventDispatcher/dispatchEvent() > at com.onefoot.dbocl.vo.app::RootObjectVO/set > uid()[/Users/kevin/Documents/workspace/dBocl_Main/com/onefoot/dbocl/vo/app/RootObjectVO.as:27] > at > mx.data::ConcreteDataService/internalUpdateCache()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:4936] > at > mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::updateCache()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:3854] > at > mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::updateCacheWithId()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:3722] > at > mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\DataList.as:1658] > at > mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequenceResult()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\DataList.as:1804] > at > DataListRequestResponder/result()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:5944] > at > mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:74] > at > NetConnectionMessageResponder/resultHandler()[E:\dev\flex\sdk\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:477] > at > mx.messaging::MessageResponder/result()[E:\dev\flex\sdk\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:199] >

