Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: DevExpress.Data.UnboundColumnDataTypeValidator+InvalidTypeException #408

Closed
lars18th opened this issue Apr 16, 2024 · 1 comment
Closed

Comments

@lars18th
Copy link

Hi @PredatH0r ,

This error raises when horizontal scrolling with a M3U file opened:

---------------------------
Fehler bei Programmausführung
---------------------------
Bei der Programmausführung trat folgender Fehler auf:
DevExpress.Data.UnboundColumnDataTypeValidator+InvalidTypeException: Incorrect value assigned to the +FreqInMhz column, row 0. Value type: System.Decimal, expected value type: System.String.
The DevExpress.Data.UnboundColumnDataTypeValidator.AllowInvalidTypes option allows you to disable the exception, but it does not resolve the underlying issue.
   at DevExpress.Data.UnboundColumnDataTypeValidator.Throw(Type valueType, Type expectedType, String propertyName, Int32 rowIndex)
   at DevExpress.Data.UnboundColumnDataEventArgs.set_Value(Object value)
   at ChanSort.Ui.MainForm.gview_CustomUnboundColumnData(Object sender, CustomColumnDataEventArgs e)
   at DevExpress.XtraGrid.Views.Base.ColumnView.RaiseCustomUnboundColumnData(CustomColumnDataEventArgs e)
   at DevExpress.XtraGrid.Views.Base.ColumnView.GetUnboundDataCore(Int32 listSourceRow1, DataColumnInfo column, Object value)
   at DevExpress.XtraGrid.Views.Grid.GridView.GetRowCellValue(Int32 rowHandle, GridColumn column, OperationCompleted completed)
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRowCellDrawInfoCore(GridDataRowInfo ri, GridColumnInfoArgs ci, GridCellInfo cell, GridColumnInfoArgs nextColumn, Boolean calcEditInfo, GridRow nextRow, Boolean allowCache, Rectangle cellBounds)
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRowCellDrawInfo(GridDataRowInfo ri, GridColumnInfoArgs ci, GridCellInfo cell, GridColumnInfoArgs nextColumn, Boolean calcEditInfo, GridRow nextRow)
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRowCellsDrawInfo(GridDataRowInfo ri, GridColumnsInfo columnsInfo, GridRow nextRow)
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcDataRow(GridDataRowInfo ri, GridRow row, GridRow nextRow)
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRowsDrawInfo()
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcGridInfo()
   at DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcAfterHorzScroll(Graphics g, Rectangle bounds)
   at DevExpress.XtraGrid.Views.Grid.GridView.DoLeftCoordChanged(Boolean allowPartialScroll)
   at DevExpress.XtraGrid.Views.Grid.GridView.set_LeftCoord(Int32 value)
   at DevExpress.XtraGrid.Views.Grid.GridView.OnHScroll(Object sender, EventArgs e)
   at DevExpress.XtraEditors.ScrollBarBase.OnValueChangedCore(EventArgs e)
   at DevExpress.XtraEditors.ScrollTouchBase.OnValueChanged(EventArgs e)
   at DevExpress.XtraEditors.ScrollBarBase.set_Value(Int32 value)
   at DevExpress.XtraEditors.ScrollBarBase.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at DevExpress.XtraEditors.XtraControl.WndProc(Message& m)
   at DevExpress.XtraEditors.ScrollBarBase.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK
---------------------------

The playlist is a custom SAT>IP M3U file moddified that instead of the regular SAT>IP URL it contains a proxy. Example:

#EXTM3U
#
#EXTINF:-1 tvg-id="KiKa GER HD" tvg-logo="http://proxy-server.local/kika.png" , KiKA HD
#EXTALBUMARTURL:http://proxy-server.local/kika.png
http://proxy-server.local/channel-kika

I hope you want to fix it.
Thank you.

@PredatH0r
Copy link
Owner

fixed in 2024-08-18 (or earlier)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants