невозможно отобразить код КЛАДР
При работе с картографией когда загружали слои программа вылетает с ошибкой невозможно отобразить код КЛАДР Примерно 20 городов обработали а затем пришлось перезапустить программу. ошибка возникает даже при просмотре слоев.
20.06.2012 10:50 Ошибка — Index was outside the bounds of the array.
Вызвана в System.Windows.Forms
Подробная информация:
at System.Windows.Forms.ImageList.ImageCollection.SetKeyName(Int32 index, String name)
at KladrTree.KladrTreeListV2.InitializeComponent()
at KladrTree.KladrTreeListV2..ctor()
at GISPlugin.GlobalSettings.LoadMapKladr()
20.06.2012 10:49 Ошибка — Parameter is not valid.
Вызвана в System.Drawing
Подробная информация:
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at System.Drawing.Icon.ToBitmap()
at System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.WndProcException(Exception e)
at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at KladrTree.KladrTreeListV2.kladrTreeList1_BeforeExpand(Object sender, BeforeExpandEventArgs e)
at DevExpress.XtraTreeList.TreeList.RaiseBeforeExpand(TreeListNode node, Boolean& canExpand)
at DevExpress.XtraTreeList.TreeList.OnBeforeChangeExpanded(TreeListNode node, Boolean newVal)
at DevExpress.XtraTreeList.Nodes.TreeListNode.OnChangeExpandedCore(Boolean value)
at DevExpress.XtraTreeList.Nodes.TreeListNode.OnChangeExpanded(Boolean value)
at DevExpress.XtraTreeList.Nodes.TreeListNode.set_Expanded(Boolean value)
at KladrTree.KladrTreeListV2.SetTreeListNodeByXmlElement(TreeListNode node, XmlElement xmlElement)
at KladrTree.KladrTreeListV2.ConstructKladrTreeListNode(XmlElement xmlElement, TreeListNode parentNode)
at KladrTree.KladrTreeListV2.LoadPartialState(Stream stream)
at GISPlugin.GlobalSettings.LoadMapKladr()
—————————————————————
20.06.2012 10:50 Ошибка — Index was outside the bounds of the array.
Вызвана в System.Windows.Forms
Подробная информация:
at System.Windows.Forms.ImageList.ImageCollection.SetKeyName(Int32 index, String name)
at KladrTree.KladrTreeListV2.InitializeComponent()
at KladrTree.KladrTreeListV2..ctor()
at GISPlugin.GlobalSettings.LoadMapKladr()
—————————————————————
20.06.2012 10:50 Ошибка — Index was outside the bounds of the array.
Вызвана в System.Windows.Forms
Подробная информация:
at System.Windows.Forms.ImageList.ImageCollection.SetKeyName(Int32 index, String name)
at KladrTree.KladrTreeListV2.InitializeComponent()
at KladrTree.KladrTreeListV2..ctor()
at GISPlugin.GlobalSettings.LoadMapKladr()
—————————————————————