|     Documentation    |     Premium Support

Adornment Layer Exception

Hi ThinkGeo,

Periodically, we are notified of an adornment layer issue which states “Index was outside the bounds of the array.” This issue seems to be very random in nature and hard to replicate. We were wondering if you may have more information regarding the potential cause of this issue? Also, do you have any recommendations on how to stop receiving these errors?

Here is the call stack for when the error occurs:
Server stack trace:
at System.Collections.Generic.List1.Insert(Int32 index, T item) at ThinkGeo.MapSuite.Layers.ScaleBarAdornmentLayer.gBU=(GeoCanvas canvas) at ThinkGeo.MapSuite.Layers.ScaleBarAdornmentLayer.DrawCore(GeoCanvas canvas, Collection1 labelsInAllLayers)
at ThinkGeo.MapSuite.Layers.Layer.DCQ=(GeoCanvas canvas, Collection1 labelsInAllLayers) at ThinkGeo.MapSuite.Layers.Layer.Draw(GeoCanvas canvas, Collection1 labelsInAllLayers)
at ThinkGeo.MapSuite.WebForms.AdornmentOverlay.DrawCore(GeoCanvas canvas)
at ThinkGeo.MapSuite.WebForms.AdornmentOverlay.Draw(GeoCanvas canvas)
at 4lE=.PlA=.ProcessRequestCore(HttpContext context)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Thank you,


Thanks Neil,
I am going to close this one. I will answer it in the ticket portal.