Working around with FS I have come around what seems to be a small bug, that I have been able to replicate on two different pc configurations (one on vista and another on xp).
Mainly, if you are editing or creating a pilot, you can also enter the custom pilot attributes. The bug comes around if when you enter the Name on the Custom attributes, and then before putting values to it you decided to rename the attribute (a misspelling or whatever)... then you get firs a warning about changing the name on the attribute (that´s ok) but afther, you get a bad error of a Null value that basically crashes the application.
This is the error debug
Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.
************** Texto de la excepción **************
System.ArgumentNullException?: El valor no puede ser nulo.
Nombre del parámetro: key
en System.ThrowHelper?.ThrowArgumentNullException?(ExceptionArgument? argument)
en System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
en FlightSys?.FsComp.FrmParticipant?.ctr_custom_attributes_CellValidating(Object sender, DataGridViewCellValidatingEventArgs? e)
en System.Windows.Forms.DataGridViewCellValidatingEventHandler?.Invoke(Object sender, DataGridViewCellValidatingEventArgs? e)
en System.Windows.Forms.DataGridView?.OnCellValidating?(DataGridViewCellValidatingEventArgs? e)
en System.Windows.Forms.DataGridView?.OnCellValidating?(DataGridViewCell?& dataGridViewCell, Int32 columnIndex, Int32 rowIndex, DataGridViewDataErrorContexts? context)
en System.Windows.Forms.DataGridView?.CommitEdit?(DataGridViewCell?& dataGridViewCurrentCell, DataGridViewDataErrorContexts? context, DataGridViewValidateCellInternal? validateCell, Boolean fireCellLeave, Boolean fireCellEnter, Boolean fireRowLeave, Boolean fireRowEnter, Boolean fireLeave)
en System.Windows.Forms.DataGridView?.EndEdit?(DataGridViewDataErrorContexts? context, DataGridViewValidateCellInternal? validateCell, Boolean fireCellLeave, Boolean fireCellEnter, Boolean fireRowLeave, Boolean fireRowEnter, Boolean fireLeave, Boolean keepFocus, Boolean resetCurrentCell, Boolean resetAnchorCell)
en System.Windows.Forms.DataGridView?.CommitEditForOperation?(Int32 columnIndex, Int32 rowIndex, Boolean forCurrentCellChange)
en System.Windows.Forms.DataGridView?.ScrollIntoView?(Int32 columnIndex, Int32 rowIndex, Boolean forCurrentCellChange)
en System.Windows.Forms.DataGridView?.ProcessDownKeyInternal?(Keys keyData, Boolean& moved)
en System.Windows.Forms.DataGridView?.ProcessEnterKey?(Keys keyData)
en System.Windows.Forms.DataGridView?.ProcessDialogKey?(Keys keyData)
en System.Windows.Forms.Control.ProcessDialogKey?(Keys keyData)
en System.Windows.Forms.TextBoxBase?.ProcessDialogKey?(Keys keyData)
en System.Windows.Forms.Control.PreProcessMessage?(Message& msg)
en System.Windows.Forms.Control.PreProcessControlMessageInternal?(Control target, Message& msg)
en System.Windows.Forms.Application.ThreadContext?.PreTranslateMessage?(MSG& msg)
************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
FsComp
Versión del ensamblado: 1.2.6.0
Versión Win32: 1.2.6.0
Código base: file:///C:/Users/Daniel%20Velez/Documents/GPS_Files/FS/FsComp.exe
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
FsUiElements?
Versión del ensamblado: 1.2.2.0
Versión Win32: 1.2.2.0
Código base: file:///C:/Users/Daniel%20Velez/Documents/GPS_Files/FS/FsUiElements.DLL
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
FsFsdb?
Versión del ensamblado: 1.2.6.0
Versión Win32: 1.2.6.0
Código base: file:///C:/Users/Daniel%20Velez/Documents/GPS_Files/FS/FsFsdb.DLL
System.Web.Services
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
nfs7zjag
Versión del ensamblado: 1.2.6.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_es_b77a5c561934e089/System.resources.dll
Accessibility
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
FsUtil?
Versión del ensamblado: 1.2.1.0
Versión Win32: 1.2.1.0
Código base: file:///C:/Users/Daniel%20Velez/Documents/GPS_Files/FS/FsUtil.DLL
FsGeo?
Versión del ensamblado: 1.2.1.0
Versión Win32: 1.2.1.0
Código base: file:///C:/Users/Daniel%20Velez/Documents/GPS_Files/FS/FsGeo.DLL
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.1434 (REDBITS.050727-1400)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada
Por ejemplo:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.