Unhandled Exception
- Dominant language
- C#
- Stars
- 76
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
nguyenkhachung[CodePlex]
Version: 1.6.11.9
Description:
Error: DevExpress.Data.Filtering.Exceptions.InvalidPropertyPathException: Can't find property 'Name1'
at DevExpress.XtraGrid.Views.Base.ColumnView.ApplyColumnsFilterCore(Boolean updateMRU)
at DevExpress.XtraGrid.Views.Base.ColumnView.ApplyColumnsFilter()
at DevExpress.XtraGrid.Views.Base.ColumnView.OnActiveFilterChanged(Object sender, EventArgs e)
at DevExpress.XtraGrid.Views.Base.ViewFilter.OnViewFilterChanged()
at DevExpress.XtraGrid.Views.Base.ViewFilter.OnRemoveComplete(Int32 position, Object item)
at System.Collections.CollectionBase.System.Collections.IList.Remove(Object value)
at DevExpress.XtraGrid.Views.Base.ViewFilter.Remove(GridColumn column)
at DevExpress.XtraGrid.Views.Base.ColumnView.OnColumnDeleted(GridColumn column)
at DevExpress.XtraGrid.Views.Grid.GridView.OnColumnDeleted(GridColumn column)
at DevExpress.XtraGrid.Views.Base.ColumnView.OnColumnsCollectionChanged(Object sender, CollectionChangeEventArgs e)
at DevExpress.XtraGrid.Columns.GridColumnCollection.RaiseCollectionChanged(CollectionChangeEventArgs e)
at DevExpress.XtraGrid.Columns.GridColumnCollection.OnRemoveComplete(Int32 index, Object obj)
at System.Collections.CollectionBase.RemoveAt(Int32 index)
at DevExpress.XtraGrid.Columns.GridColumnCollection.ClearColumns(Boolean dispose)
at DevExpress.XtraGrid.Columns.GridColumnCollection.DestroyColumns()
at DevExpress.XtraGrid.Views.Base.ColumnView.PopulateColumns()
at DotSpatial.Plugins.AttributeDataExplorer.MainForm.BindData(DataTable table)
at DotSpatial.Plugins.AttributeDataExplorer.MainForm.RefreshData(ILayer iLayer)
at DotSpatial.Plugins.AttributeDataExplorer.MainForm.LayerManager_ActiveLayerChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at DotSpatial.Plugins.AttributeDataExplorer.LayerManager.OnActiveLayerChanged(EventArgs ea)
at DotSpatial.Plugins.AttributeDataExplorer.LayerManager.LayerSelected()
at DotSpatial.Plugins.AttributeDataExplorer.LayerManager.MapFrame_LayerSelected(Object sender, LayerSelectedEventArgs e)
at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at DotSpatial.Symbology.Layer.OnLayerSelected(ILayer sender, Boolean selected)
at DotSpatial.Symbology.Group.collection_LayerSelected(Object sender, LayerSelectedEventArgs e)
at System.EventHandler1.Invoke(Object sender, TEventArgs e)
at DotSpatial.Symbology.LayerEventList1.OnLayerSelected(ILayer layer, Boolean selected)
at DotSpatial.Symbology.LayerEventList1.set_SelectedLayer(ILayer value)
at DotSpatial.Symbology.LayerEventList`1.ItemLayerSelected(Object sender, LayerEventArgs e)
at DotSpatial.Symbology.Layer.OnLayerSelected(ILayer sender, Boolean selected)
at DotSpatial.Symbology.Layer.set_IsSelected(Boolean value)
at Search3.Area.SelectAreaByAttributeDialog.cmbActiveLayer_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Messageamp m)
at System.Windows.Forms.ComboBox.WndProc(Messageamp m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Messageamp m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Messageamp m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at DotSpatial.Plugins.AttributeDataExplorer.MainForm.RefreshData and BindData in the stack trace, then trace the active-layer change from LayerManager_ActiveLayerChanged. Reproduce the exception by changing the selected layer in the attribute data explorer and inspect the column and filter lifecycle around PopulateColumns. Done means changing layers no longer raises InvalidPropertyPathException for the missing Name1 property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100