Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error during populating data in combobox

Avatar

Level 1
Hi,

I am getting the ArrayCollection through RemoteObject call
and I am trying to populate that into the combobox. But I am
getting the following error popping up in the browser.



Error: Unknown Property: '-1'.

at mx.collections::ListCollectionView/
http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()

at SearchReports/getReportCodeAndNameData()

at SearchReports/populateDocumentList()

at SearchReports/__ReportsDelegate5_result()

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.rpc::AbstractService/dispatchEvent()

at mx.rpc.remoting.mxml::RemoteObject/dispatchEvent()

at mx.rpc::AbstractOperation/
http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()

at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::resultHandler()

at mx.rpc::Responder/result()

at mx.rpc::AsyncRequest/acknowledge()

at
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::resultHandler()

at mx.messaging::MessageResponder/result()



Can anybody let me know what could be the reason?

Regards,

-Sameer
1 Reply

Avatar

Level 1
Fixed the problem. Please ignore.

-Sameer




quote:




Originally posted by:
sam_the_best


Hi,

I am getting the ArrayCollection through RemoteObject call
and I am trying to populate that into the combobox. But I am
getting the following error popping up in the browser.



Error: Unknown Property: '-1'.

at mx.collections::ListCollectionView/
http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()

at SearchReports/getReportCodeAndNameData()

at SearchReports/populateDocumentList()

at SearchReports/__ReportsDelegate5_result()

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.rpc::AbstractService/dispatchEvent()

at mx.rpc.remoting.mxml::RemoteObject/dispatchEvent()

at mx.rpc::AbstractOperation/
http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()

at mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::resultHandler()

at mx.rpc::Responder/result()

at mx.rpc::AsyncRequest/acknowledge()

at
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::resultHandler()

at mx.messaging::MessageResponder/result()



Can anybody let me know what could be the reason?

Regards,

-Sameer