Hi all,
Since this morning i'm blocked cause a runtime Flex error.
I try to create an Editor in a widget, with the following code :
<fx:Declarations>
<esri:GeometryService id="myGeometryService"
url="xyzxyzx"/>
</fx:Declarations>
<esri:FeatureLayer url="xyz" id="featureLayer"/>
<esri:Editor id="myEditor"
width="100%" height="200"
geometryService="{myGeometryService}"
map="{map}"
featureLayers="{[featureLayer]}"/>
I can create polygons. But when I do a double click to terminate the polygon, the following error occurs in the Flex application :
[INDENT]TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.components::Editor/drawTool_drawEndHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.esri.ags.tools::DrawTool/removeLayerEndDraw() at com.esri.ags.tools::DrawTool/map_doubleClickHandler()[/INDENT]
And next, all clicks in the map give errors like :
[INDENT]TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.esri.ags.components::Editor/map_mouseUpHandler()[/INDENT]
It's very hard to debug because the error occurs in the Editor component...
Do you have idea ? What can I try to investigate this problem ?
Thanks in advance,
Antoine