Bug Report T1284205
Visible to All Users

SpreadsheetControl - NullReferenceException occurs in the ApplySheetContent method on loading an XLS document

created 5 days ago

Steps to reproduce:

The issue occurs when SpreadsheetControl loads a specific document.

Expected results:

SpreadsheetControl loads the document successfully.

Current results:

NullReferenceException occurs in the ApplySheetContent method and SpreadsheetControl cannot load the document.

Additional information:

Call Stack
> DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsCommandPrintRowColHeadings.ApplySheetContent(DevExpress.XtraSpreadsheet.Import.Xls.XlsContentBuilder contentBuilder) Line 1053 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsCommandBase.Execute(DevExpress.XtraSpreadsheet.Import.Xls.XlsContentBuilder contentBuilder) Line 100 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsContentBuilder.ReadSubstreamCommands() Line 619 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsContentBuilder.ReadSheet() Line 551 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsContentBuilder.ReadSubstream(DevExpress.XtraExport.Xls.XlsSubstreamType dataType) Line 508 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsContentBuilder.ReadWorkbookSubstreams() Line 490 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsImporter.ImportWorkbook(System.IO.Stream stream) Line 155 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsImporter.ImportCore(System.IO.Stream stream) Line 100 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.Xls.XlsImporter.Import(System.IO.Stream stream) Line 83 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.API.Internal.InternalAPI.LoadDocumentXlsContent(System.IO.Stream stream, DevExpress.XtraSpreadsheet.Import.XlsDocumentImporterOptions options) Line 169 C# DevExpress.Spreadsheet.v24.2.Core.dll!DevExpress.XtraSpreadsheet.Import.XlsDocumentImporter.LoadDocument(DevExpress.Office.IDocumentModel documentModel, System.IO.Stream stream, DevExpress.Office.Import.IImporterOptions options, bool leaveOpen) Line 155 C#

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.