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
systema_1099 said:After i sent them a video they resubmitted this as a bug. But since 1 Month I heard nothing about any progress. Today I looked to "My Supported Requests" and I found: We don't have any support requests associated with this account Our records show that you have not yet submitted any support requests using this account. If you'd like to submit a request, please head on over to the New Support Request page and let us know. What does it mean? They fixed it or they ignored it???
Today I looked to "My Supported Requests" and I found: We don't have any support requests associated with this account Our records show that you have not yet submitted any support requests using this account. If you'd like to submit a request, please head on over to the New Support Request page and let us know.
Today I looked to "My Supported Requests" and I found:
We don't have any support requests associated with this account
Our records show that you have not yet submitted any support requests using this account. If you'd like to submit a request, please head on over to the New Support Request page and let us know.
What does it mean? They fixed it or they ignored it???
Developer Support recently moved to a new support tracking system. The page you're looking at only shows cases that were entered in the new system (which it seems you have none), and can't show any cases in our old system. If your issue were fixed and possibly closed, you'd see a "Resolved" tab that would show all of your closed support requests, and an "Active" tab showing those that haven't been closed.
Can you provide me with an incident number for when you first submitted this? I'll be able to determine if this was something that may have been lost during the transfer, or if there simply have been no status updates to provide. My suspicion, without looking in more detail, is that we've probably fixed this (as Mike mentioned) but haven't yet released a hot fix containing the change. Wiht the incident number, I'll be able to see what actually happened.
By the way, if you ever encounter a problem with a support request, such as if you don't hear from it in a long time, you can contact me at dsmanager@infragistics.com and I'll be happy to help. Generally, you can also request for information or escalation by updating the case itself through our web interface, but in this specific situation, there isn't a case in our current system for you to update.
FYI - I just took a look at the original report (BR35349) and it appears that this issue has been fixed internally, but the Hot Fix is currently in testing and hasn't been released yet. So it will be fixed in the next hot fix. Contact Infragistics Developer support to get on the notification list.
The issue with ApplyResourcs was indeed a bug in some of the Infragistics controls and has been fixed. Make sure you download the latest Hot Fix. If that does not help, or if the Hot Fix is not yet available, then you should contact Infragistics Developer Support and ask to be notified when the Hot Fix does become available.
I'm not sure why the incident doesn't show up on your support requests page any more.One guess is that the issue was fixed andyou were sent an e-mail about the Hot Fix, but perhaps the e-mail was lost or got filtered out by a spam filter or something.
If you contact Developer Support, please include a link to this forum post so they can see we have already had a discussion on the issue. There is no question that this was a bug and has been fixed and they tell you any differently, please reply here and let me know.
Good luck if you change your designer file!
Changing it manualy is not a solution, because it happens every time when you change the content of the form in the designer. This meansmove a component or resize something.
Unfortunalty Infragistics told me:
Hello,Our developers have completed their review of development incident BR35349.They have determined that this is "not a bug" for the following reasons:[This may be a bug in Visual Studio, but is has nothing to do with ourcontrols. I don't know why VS is removing the "resources." beforeApplyResources, but this is handled by VS, not by us. In my experience, ifyou simply put the word "resources." back in, it will work fine and it doesnot get removed the second time.Also, I don't think this has anything to do with upgrading the Infragisticscomponents. This has only happened to me when I upgraded a project from oneversion of the VS to another.]I have marked this incident as "Awaiting Customer Action" in our incidenttracking system, pending your approval of closure. If you have furtherinformation regarding this issue or require further explanation of theconclusion, please respond to this message so that I can research furtherand provide you with the appropriate feedback in this regards.Sincerely,SaurabhDeveloper Support EngineerInfragistics, Inc.
After i sent them a video they resubmitted this as a bug. But since 1 Month I heard nothing about any progress.
Today I looked to "My Supported Requests" and I found:We don't have any support requests associated with this accountOur records show that you have not yet submitted any support requests using this account. If you'd like to submit a request, please head on over to the New Support Request page and let us know.
I’ve observed this problem too. When I make any changes in the graphical designer in VS2008(german) SP1the automatic updated code in the file "MainForm.Desiger.cs" does generate these lines in the UltraWinGrid v8.2 section.ApplyResources(appearance21.FontData, "appearance21.FontData");ApplyResources(appearance21, "appearance21");ApplyResources(appearance22.FontData, "appearance22.FontData");ApplyResources(appearance22, "appearance22");These lines don’t compile.Changing manually toresources.ApplyResources(appearance21.FontData, "appearance21.FontData");solves the problem.The UltraExplorerBar v8.2 in the same project has always the right "resources." prefixresources.ApplyResources(ultraExplorerBarItem1, "ultraExplorerBarItem1");Best regards