ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2017-01-31 16:26:22

MachOfficeApps
Member
Registered: 2017-01-31
Posts: 1

Error from Memory Workbook on workbook.Load

Hello, I'm running into an error loading a workbook.

var workbook = ReoGridControl.CreateMemoryWorkbook();
workbook.Load(fInfo.FullName, unvell.ReoGrid.IO.FileFormat.Excel2007);

System.NullReferenceException: Object reference not set to an instance of an object.
   at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadChart(Worksheet rgSheet, ChartSpace chartSpace)
   at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadGraphic(Document doc, Worksheet rgSheet, Drawing drawingFile, GraphicFrame graphicFrame)
   at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadDrawingObjects(Document doc, Worksheet sheet, Worksheet rgSheet, Drawing drawingFile)
   at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadWorksheet(IWorkbook rgWorkbook, Document doc, WorkbookSheet sheetIndex)
   at unvell.ReoGrid.IO.OpenXML.ExcelReader.ReadStream(IWorkbook rgWorkbook, Stream stream)
   at unvell.ReoGrid.IO.ExcelFileFormatProvider.Load(IWorkbook workbook, Stream stream, Encoding encoding, Object arg)
   at unvell.ReoGrid.Workbook.Load(Stream stream, FileFormat fileFormat, Encoding encoding)
   at unvell.ReoGrid.Workbook.Load(String path, FileFormat fileFormat, Encoding encoding)
   at unvell.ReoGrid.Workbook.Load(String path, FileFormat fileFormat)

unvell.ReoGrid
runtime v2.0.50727
version 2.0.1.0

Offline

#2 2017-05-09 01:09:22

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Error from Memory Workbook on workbook.Load

Seems something wrong when loading chart from Excel. Can you send your file to me (jing at reogrid), or upload as a link? thanks!

Offline

Board footer

Powered by FluxBB