ERROR: Add some point features to existing featureset

Jun 24, 2011 at 12:14 PM

Hi All,

I'm using visual basic and i want to add some point features to existing featureset. But the error shows as follows. Successful in other types (line and polygon) . Any body help me?

 System.IndexOutOfRangeException was unhandled
  Message=Dizin, dizi sınırlarının dışındaydı.
  Source=DotSpatial.Symbology.Forms
  StackTrace:
       konum: DotSpatial.Symbology.Forms.TableEditorControl.SetSelectionFromLayer()
       konum: DotSpatial.Symbology.Forms.TableEditorControl.ParentFormShown(Object sender, EventArgs e)
       konum: System.Windows.Forms.Form.OnShown(EventArgs e)
       konum: System.Windows.Forms.Form.CallShownEvent()
       konum: System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       konum: System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       konum: System.Threading.ExecutionContext.runTryCode(Object userData)
       konum: System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       konum: System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       konum: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       konum: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       konum: System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       konum: System.Windows.Forms.Control.InvokeMarshaledCallbacks()
       konum: System.Windows.Forms.Control.WndProc(Message& m)
       konum: System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       konum: System.Windows.Forms.Form.WndProc(Message& m)
       konum: System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       konum: System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       konum: System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       konum: System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       konum: System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       konum: System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       konum: System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       konum: System.Windows.Forms.Application.Run(ApplicationContext context)
       konum: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       konum: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       konum: Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       konum: ROWIS.My.MyApplication.Main(String[] Args) 17d14f5c-a337-4978-8281-53493378c1071.vb içinde: satır 81
       konum: System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       konum: System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       konum: Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       konum: System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       konum: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       konum: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       konum: System.Threading.ThreadHelper.ThreadStart()
  InnerException: