Skip to content
This repository was archived by the owner on Aug 26, 2022. It is now read-only.

Null Ref if a Cell is null #25

Closed
mstum opened this issue Feb 2, 2019 · 1 comment
Closed

Null Ref if a Cell is null #25

mstum opened this issue Feb 2, 2019 · 1 comment

Comments

@mstum
Copy link
Owner

mstum commented Feb 2, 2019

var ws = new Worksheet("Testing");

ws.Cells[0,0] = "Foo";
ws.Cells[1,1] = null;

var wb = new Workbook();
wb.Add(ws);
wb.Save(@"test.xlsx");

NullReferenceException:

at Simplexcel.XlsxInternal.XlsxWriter.XlsxWriterInternal.HandleLargeNumbers(Worksheet sheet)
at Simplexcel.XlsxInternal.XlsxWriter.XlsxWriterInternal.Save(Workbook workbook, Stream outputStream, Boolean compress)
at Simplexcel.XlsxInternal.XlsxWriter.Save(Workbook workbook, Stream outputStream, Boolean compress)
at Simplexcel.Workbook.Save(Stream stream, Boolean compress)
at Simplexcel.Workbook.Save(String filename, Boolean compress)
@mstum
Copy link
Owner Author

mstum commented Aug 25, 2022

#43

@mstum mstum closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant