Hi I am reading a RSS feed and handling the
result with the following function:

public function toolResultHandler(event:ResultEvent):void
{
    var f_Array:ArrayCollection = new ArrayCollection;
    f_Array = event.result.RDF.item as ArrayCollection;
    if (f_Array!=null)
    toolDataGrid.dataProvider = f_Array;
}

But the problem is sometime I get the following error.
I do not get it all the time but once in a while. Here
is the error message -

TypeError: Error #1010: A term is undefined and has no properties.
        at sole1/toolResultHandler()[C:\Users\admin\Documents\Flex Builder 
3\siliconsole1\src\com\sisi\Sole\helperFunctions\userPanelHelper\toolHelper.as:10]
        at sole1/__userToolHTTP_result()[C:\Users\admin\Documents\Flex Builder 
3\sole1\src\sole1.mxml:75]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at 
mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\http\mxml\HTTPService.as:290]
        at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:193]
        at 
mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:43]
        at 
mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:74]
        at 
DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:403]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/onComplete()


Why am I getting this error?

Reply via email to