By Larry Caylor - 2/21/2007
After upgrading a project from SF v1.5x to v1.6 I’m having problems with the Infragistics controls. I have Net Advantage 2006 vol 3 installed on the system and have added the references to the updated DLLs to the project reference list. Everything compiles OK but I’m getting an error when I try to access a Infragistics control. If I delete then re-add the control it works okay. -Larry
|
By Larry Caylor - 2/21/2007
Regarding my previous post, so far the problem seems to be limited to the Infragistics UltraComboEditor. The ListView and Masked text Boxes appear to be OK.-Larry
|
By StrataFrame Team - 2/22/2007
So, when you delete the control from the form and re-add and re-configure it, the NullReferenceException goes away? That's very curious.
|
By Larry Caylor - 2/22/2007
That’s it. The project compiles with no errors but when I click on an ultra combo editor control I get the null exception. Closing the exception window causes another null exception to be displayed (one for each UCE on the form). Simply re-configuring the existing UCE doesn’t work. The control must be deleted, re-added to the form, and configured for it to work. On a related topic, I noticed that the Infragistics controls still default to IgnoreManagedReadOnlyState = True which is just the opposite of the SF controls. -Larry
|
By StrataFrame Team - 2/22/2007
Bah, yes, the IgnoreManageUIReadOnlyState property was not fixed in the 1.6 release... the work item for it got bumped to a different page in the report. As for having to delete the ComboEdit... that's strange. I'll have to look into it.
|
By Larry Caylor - 2/22/2007
I’ve narrowed it down to the configuration that causes the error. Setting Sorted = True under StrataFrame Item Population for an Infragistics UltraComboEditor will cause an exception when you click on the control to display the drop down list. It should be easy to reproduce. -Larry
|
By StrataFrame Team - 2/23/2007
Excellent... thanks for the details.
|
By Larry Caylor - 3/1/2007
I was wondering if you were able to reproduce this issue. While I can develop in v1.6 it’s preventing me from actually using 1.6 in production. -Larry
|
By StrataFrame Team - 3/2/2007
Yes, and no, Larry... when I drop a wrapped UltraComboEditor on a form and set the sort, then yes, it throws the exception... however the stack trace does not reference a single StrataFrame method. So, I wanted to debug the issue and see what was being set to null, so I opened up the Infragistics source code, but since they do not distribute the .snk file for their source code, I had to change the reference to my compiled DLL. When I did that, everything worked perfectly... no issues. The only thing I did was change the reference. It was the exact same code (at least I think it was... the source code they distribute might be different from the source code used to build their deployment DLLs). So, I don't know what to tell you. Yes, I can reproduce it, but looking at their code I cannot even fathom what might be throwing a NullReferenceException (all it does is retrieve a bunch of appearance stuff). And when I build their source so that I can step through it, everything works fine, no NullReferences.
|
By Larry Caylor - 3/2/2007
Ben, Thanks for looking into this. I did some more checking and found that I could reproduce the problem using the DataBinding VB sample that is distributed with the Net Advantage Suite… looks like it is definitely their problem. I’ve submitted a support request with them. -Larry
|
By StrataFrame Team - 3/2/2007
Whew, I'm glad you were able to reproduce it with them... I thought I was going batty when it didn't fail after I rebuilt the source code...
|
By Larry Caylor - 3/6/2007
I guess I spoke too soon. I was able to reproduce the problem using one of their sample applications but they say they can’t reproduce it on their end and sent me back a sample application to try. The sample they sent populated the UltraComboEditor directly and I was able to run it with no errors. It appears that the control must be bound to cause the error. I created an updated sample and sent it back to them and I’m still waiting for a response. They are no where close to providing the level of service that you guys do The sample is simple, just an UltraComboEditor on a standard Windows form with the following code in the form’s load event. Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim letters = New String() {"B", "A", "C", "E", "D"} Me.UltraComboEditor1.SetDataBinding(letters, "") End Sub Using that sample produces a null exception if SortStyle is set to anything other than “None” when run against 2006 Vol 3, Vol 2 runs okay. If you guys have priority support with them you might try to see if you can get them to look at it. Since 2007 Vol 1 just came out I recompiled the SF wrapper for that version and so far everything looks okay. -Larry
|
By StrataFrame Team - 3/7/2007
Yes, I noticed the email that came in announcing 2007 vol 1... if the problem doesn't manifest itself in that version, then you might not get them to fix it in vol 3... And, no, I don't think we have priority support, sorry, we have to wait in the same bucket as you do.
|
By Larry Caylor - 3/7/2007
I just received another reply from Infragistics tech support saying that they cannot reproduce the error. Since I haven’t seen any postings here of a similar error, maybe it’s something in my environment. I tried uninstalling vol3, downloaded a new copy, re-installed and still received the same error. However since you were able to reproduce it using their standard distribution but not against their compiled source code I’m assuming that it’s something in the distribution or installation. Since 2007 vol 1 seems to be functioning normally I’m going to forget about 2006 vol3 and move on. -Larry
|
By Larry Caylor - 3/9/2007
For anyone else that may have experienced this problem, Infragistics was finally able to reproduce it. Installing NetAdvantage HotFix 6.3.20063.1059 fixes it. -Larry
|
By Trent L. Taylor - 3/9/2007
Thanks for letting us know, Larry!
|