Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
[8.2] Unexpected NullReferenceException after migration to IG 2008 vol 2
posted

I migrated a win-application from IG 2008 vol 1 to IG 2008 vol 2. After compiling and start I get a NullReferenceException on initializing a new Form.

In the form is a UltraGrid with an UltraDataSource (dsMain) that will be filled manualy.

The Exception is thrown in the InitializeComponent method of my form.

private void InitializeComponent()
{

    // ... 

    ((System.ComponentModel.ISupportInitialize)(this.dsMain)).EndInit();

    // ...

private Infragistics.Win.UltraWinDataSource.UltraDataSource dsMain; 


The StackTrace is:

   bei Infragistics.Win.UltraWinDataSource.UltraDataSource.UDSBindingSource.SetBindingSources(UltraDataBand band, Dictionary`2 bindingSources)
   bei Infragistics.Win.UltraWinDataSource.UltraDataSource.UDSBindingSource.InternalSetBand(UltraDataBand band, Dictionary`2 oldBindingSources)
   bei Infragistics.Win.UltraWinDataSource.UltraDataSource.OnDeserializationComplete(UltraDataRowsCollection deserializedRows, Dictionary`2 oldBindingSources)
   bei Infragistics.Win.UltraWinDataSource.UltraDataSource.System.ComponentModel.ISupportInitialize.EndInit()
   bei MyApp.MyForm.InitializeComponent() in D:\MyApp\MyForm.Designer.cs:Zeile 360.

 

I hope someone can help me!

Michael 

           

 

 

Parents Reply Children
No Data