StackOverflow Exception when grouping by three columns with XamDataGrid.Records.ExpandAll()

Answered (Verified) This post has 1 verified answer | 4 Replies | 2 Followers Thread's RSS feed.

Harold Hsu
Points 675
Replied On: Wed, Sep 20 2017 7:26 PM Reply

Hi,

I'm using XamDataGrid 15.2 with grouping enabled.  I'm getting a StackOverflowException when I try to group by three columns.  Attached is a sample project.  If you run the project, then try to group by Anesthesia column, followed by Time, followed by Patient Name, you'll get the StackOverflowException.  I'll also attach a screen recording.  I tried to narrow down the problem.  It appears to be a problem because I call the XamDataGrid.Records.ExpandAll(true) in the grouped event handler.  If I remove that call, I don't get the exception.  I tried implementing my own non-recursive method to expand all the groups, but I still get the exception.  Can you let me know what's wrong?

Thanks,

Harold

  • Post Points: 5

Verified Answer

Answered (Verified) Replied On: Wed, Oct 18 2017 4:47 AM Reply
Verified by Harold Hsu

Hello,

The development issue with ID of 242826 has been fixed and it is available in the latest Service Release. You can download the Service Release by logging in our web site and then going to Account\My Keys and Downloads page.

Let me know if you have any questions.
Sincerely,
Zhivko
Associate Software Developer

  • Post Points: 5

All Replies

Harold Hsu
Points 675
Replied On: Wed, Sep 20 2017 7:27 PM Reply

Attached is the recording.

  • Post Points: 20
Replied On: Thu, Sep 21 2017 9:44 AM Reply

Hello,

Thank you for the project you have provided.

I was able to reproduce the StackOverflowException  that you are having. I  have asked our engineering staff to examine this further.  To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 242826.  This will be assigned to a developer in a future sprint to review my investigation and confirm my findings or to offer a fix, or other resolution.

Please note that volume  15.2  has already had its last service release so if the resolution of this development issue requires a change to the assemblies it will be necessary to upgrade to a more recent volume of Infragistics for WPF.  You can see our product lifecycle here:

http://www.infragistics.com/support/product-lifecycle

Please let me know if you need more information.

Sincerely,
Zhivko
Associate Software Developer

  • Post Points: 20
Harold Hsu
Points 675
Replied On: Thu, Sep 21 2017 1:06 PM Reply

Hi Zhivko,

Thanks for confirming.  FYI, I've also tried using the latest version of XamDataGrid and I get the same problem.

Thanks,

Harold

  • Post Points: 20
Answered (Verified) Replied On: Wed, Oct 18 2017 4:47 AM Reply
Verified by Harold Hsu

Hello,

The development issue with ID of 242826 has been fixed and it is available in the latest Service Release. You can download the Service Release by logging in our web site and then going to Account\My Keys and Downloads page.

Let me know if you have any questions.
Sincerely,
Zhivko
Associate Software Developer

  • Post Points: 5
Page 1 of 1 (5 items) | RSS