Select to view content in your preferred language

error to load dynamic service sample flex viewer 3.1

2084
1
Jump to solution
02-04-2013 01:14 AM
PhilippeSTEINMANN
Occasional Contributor
Hi,

I want to use Sample Flex Viwer 3.1 but I have a error ...

In my config.xml, I have :

 <map wraparound180="true" initialextent="287902 6740112 396133 6852402" fullextent="287902 6740112 396133 6852402" top="0" esrilogovisible="false" addarcgisbasemaps="false">         <basemaps>       <layer label="Scan IGN" type="tiled" visible="true" url="http://other/arcgis/rest/services/SCAN/MapServer" />       <layer label="Fond départemental" type="tiled" visible="false" url="http://other/arcgis/rest/services/FondDepartemental/MapServer" />     </basemaps>                 <operationallayers>           <layer label="Territoire Départemental" type="dynamic" visible="true" url="http://ags101:6080/arcgis/rest/services/TERRITOIRE_DEPARTEMENTAL/MapServer"/>     <layer label="Esquisse" type="feature" visible="true" url="http://ags101:6080/arcgis/rest/services/ALERTE_VOIRIE_ESQUISSE/FeatureServer/0"/>          <layer label="En attente" type="feature" visible="true" url="http://ags101:6080/arcgis/rest/services/ALERTE_VOIRIE_ATTENTE/FeatureServer/0"/>          <layer label="En cours" type="feature" visible="true" url="http://ags101:6080/arcgis/rest/services/ALERTE_VOIRIE_EN_COURS/FeatureServer/0"/>          <layer label="Clôturée" type="feature" visible="true" url="http://ags101:6080/arcgis/rest/services/ALERTE_VOIRIE_TRAITEE/FeatureServer/0"/>     </operationallayers>               </map>


I have this error :

Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul.
at com.esri.ags.layers::ArcGISDynamicMapServiceLayer/loadMapImage()  at com.esri.ags.layers::DynamicMapServiceLayer/updateLayer()  at com.esri.ags.layers::Layer/updateLayerIfInvalid()  at com.esri.ags.layers::Layer/updateDisplayList()  at mx.core::UIComponent/validateDisplayList()  at mx.managers::LayoutManager/validateDisplayList()  at mx.managers::LayoutManager/doPhasedInstantiation()  at mx.managers::LayoutManager/doPhasedInstantiationCallback()



what's the problem ?

The version 3.1 is it good ?

Thanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
PhilippeSTEINMANN
Occasional Contributor
I have found a solution
<map wraparound180="false" .....

View solution in original post

0 Kudos
1 Reply
PhilippeSTEINMANN
Occasional Contributor
I have found a solution
<map wraparound180="false" .....
0 Kudos