Select to view content in your preferred language

Error #1069 refreshing buffer that produces dataprovider for datagrid.

581
1
09-21-2010 01:39 PM
JamesFaron
Frequent Contributor
I have a floating datagrid that has a Webservice as source of its dataprovider. The dataprovider is generated as contentHandler of the Webservice resultEvent. It works as expected the first time that the widget procedure runs( a buffer that returns results from a Graphic layer). But when I move the mapclick location to generate new results, I get Error #1069: Property item not found on String and there is no default value. The line that the error points to is busStopData = stop.getDataXML.lastResult.root.item , in the following code
public function getRouteListData():void
   {
    stop.getDataXML.send();
    
   }
   private function contentHandler(evt:ResultEvent):void
   {
    busStopData = stop.getDataXML.lastResult.root.item;
   }

busStopData is the data provider of the datagrid.
I can provide more code if needed, but I am wondering if this error in this context might be obvious to someone or something that is characteristic with refreshing dataproviders that might cause the error.

Thanks,
Jim Faron
Austin Independent School District
Tags (2)
0 Kudos
1 Reply
JamesFaron
Frequent Contributor
Problem solved, sorry for the post. Fiddler revealed that my problem was elsewhere, and that I was passing a null value to the webservice on the second go round.

Jim Faron
0 Kudos