Bug Report T1254990
Visible to All Users

cxExportTLToXLSX causes an Access Violation error if TreeList's Footer is visible

created 6 months ago (modified 6 months ago)

Steps to reproduce:

  1. Run the attached project.
  2. Press the btnExport button.

Expected results:

The cxExportTLToXLSX generates an XLSX file.

Current results:

An Access Violation error occurs:

Call Stack
cxGeometry.cxRectSetYPos((40, 214, 185, 1699964, (40, 214), (185, 1699964)),185,214) cxTL.TcxTreeListViewInfo.AddFooter(nil,0,0,(1700004, 0, 200452632, 1700080, (1700004, 0), (200452632, 1700080))) cxTL.TcxTreeListViewInfo.CalculateFooterLayout cxTL.TcxTreeListViewInfo.DoCalculate cxInplaceContainer.TcxCustomControlViewInfo.Calculate cxTLExportLink.TcxTreeListExportHelper.CreateExportCells cxTLExportLink.TcxTreeListExportHelper.CreateExportCache cxTLExportLink.TcxTreeListExportHelper.DoExport cxTLExportLink.DoExportTLToStream($9A817D8,$9F67580,8,True,True,True,(...),nil,nil) cxTLExportLink.cxExportTLToFile('test.xlsx',$9F67580,8,True,True,True,(...),'xlsx',nil,nil) cxTLExportLink.cxExportTLToXLSX('test.xlsx',$9F67580,True,True,True,'xlsx',nil) Unit2.TForm2.btnExportClick($88D7B30) Vcl.Controls.TControl.Click Vcl.StdCtrls.TCustomButton.Click Vcl.StdCtrls.TCustomButton.CNCommand(???) Vcl.Controls.TControl.WndProc((48401, 5626, 2495994, 0, 5626, 0, (), 5626, 38, (), 0, 0, ())) Vcl.Controls.TWinControl.WndProc((48401, 5626, 2495994, 0, 5626, 0, (), 5626, 38, (), 0, 0, ())) Vcl.StdCtrls.TButtonControl.WndProc((48401, 5626, 2495994, 0, 5626, 0, (), 5626, 38, (), 0, 0, ())) Vcl.Controls.TControl.Perform(???,???,2495994) Vcl.Controls.DoControlMsg(???,(no value)) Vcl.Controls.TWinControl.WMCommand((273, (), 5626, 0, (), 2495994, 0)) Vcl.Forms.TCustomForm.WMCommand((273, (), 5626, 0, (), 2495994, 0)) Vcl.Controls.TControl.WndProc((273, 5626, 2495994, 0, 5626, 0, (), 5626, 38, (), 0, 0, ())) Vcl.Controls.TWinControl.WndProc((273, 5626, 2495994, 0, 5626, 0, (), 5626, 38, (), 0, 0, ())) Vcl.Forms.TCustomForm.WndProc((273, 5626, 2495994, 0, 5626, 0, (), 5626, 38, (), 0, 0, ())) Vcl.Controls.TWinControl.MainWndProc(???) System.Classes.StdWndProc(6231566,273,5626,2495994) :76753803 ; C:\WINDOWS\SysWOW64\USER32.dll :76744606 ; C:\WINDOWS\SysWOW64\USER32.dll :7674408a ; C:\WINDOWS\SysWOW64\USER32.dll :7674dfef USER32.GetPropW + 0xff :773691bd ntdll.KiUserCallbackDispatcher + 0x4d :76759f78 ; C:\WINDOWS\SysWOW64\USER32.dll :767430e6 USER32.SendMessageW + 0x46 :6b7559d0 ; C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3672_none_6ec0f0a887fe525b\COMCTL32.dll :6b766197 ; C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.3672_none_6ec0f0a887fe525b\COMCTL32.dll :76753803 ; C:\WINDOWS\SysWOW64\USER32.dll :76744606 ; C:\WINDOWS\SysWOW64\USER32.dll :76743f77 USER32.CallWindowProcW + 0x87 Vcl.Controls.TWinControl.DefaultHandler(???) :0058856b TWinControl.DefaultHandler + $EB :00588460 TWinControl.WndProc + $698 :005a4c09 TButtonControl.WndProc + $71 :0048fdee StdWndProc + $16 :76753803 ; C:\WINDOWS\SysWOW64\USER32.dll :76744606 ; C:\WINDOWS\SysWOW64\USER32.dll :76742ec5 ; C:\WINDOWS\SysWOW64\USER32.dll :76742a10 USER32.DispatchMessageW + 0x10
Comments (2)

    Is there a deadline for delivering a fix for this ticket?

    Nadezhda (DevExpress Support) 5 months ago

      Hello Marek,

      We found the cause of the issue and fixed it. However, we need to test this fix in all common cases before we can share it. I believe we will include this fix will in the next minor version (v.24.1.7).

      Answers approved by DevExpress Support

      created 5 months ago

      We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

      Important Notes:

      • Hotfixes may be unavailable for Early Access/Beta builds or updates set for release within a week.
      • .NET only: in the NuGet Package Manager, use your personal NuGet feed and check the "Include prerelease" option to view the hotfix package in the "Updates" tab.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.