Skip navigation
Bartkiv
Currently Being Moderated

Duplicated items from DataService

Dec 17, 2013 3:37 AM

Tags: #error #flex #actionscript_3.0

I have problem. From data service i receive rows with equal identity and it crashe runtime my application with this error:

 

Error: Collection result contains a duplicate item: SalesPro.Duplicates:#:1 exists at both position: 0 and 1

          at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequence()[C:\depot\DataServices\branches\milestone\adepds46_rc\frameworks\pro jects\data\src\mx\data\DataList.as:2697]

          at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::processSequenceResult()[C:\depot\DataServices\branches\milestone\adepds46_rc\frameworks\pro jects\data\src\mx\data\DataList.as:2948]

          at mx.data::DataListRequestResponder/result()[C:\depot\DataServices\bran ches\milestone\adepds46_rc\frameworks\projects\data\src\mx\data\DataLi stRequestResponder.as:102]

          at mx.rpc::AsyncRequest/acknowledge()[/Users/justinmclean/Documents/Apac heFlex4.10/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as:92]

          at NetConnectionMessageResponder/resultHandler()[/Users/justinmclean/Doc uments/ApacheFlex4.10/frameworks/projects/rpc/src/mx/messaging/channel s/NetConnectionChannel.as:560]

          at mx.messaging::MessageResponder/result()[/Users/justinmclean/Documents /ApacheFlex4.10/frameworks/projects/rpc/src/mx/messaging/MessageRespon der.as:243]

 

How can I catch this error?

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points