Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

excelWorksheet.InsertRow NullReferenceException #623

Open
prof1k opened this issue Feb 20, 2020 · 1 comment
Open

excelWorksheet.InsertRow NullReferenceException #623

prof1k opened this issue Feb 20, 2020 · 1 comment

Comments

@prof1k
Copy link

prof1k commented Feb 20, 2020

When inserting rows, throws an exception: System.NullReferenceException

image

This error occurs very often, which really bothers me.
What other data can I provide to solve this problem?

StackTrace:
в OfficeOpenXml.ExcelWorksheet.UpdateCrossSheetReferences(String sheetWhoseReferencesShouldBeUpdated, Int32 rowFrom, Int32 rows, Int32 columnFrom, Int32 columns)
в OfficeOpenXml.ExcelWorksheet.InsertRow(Int32 rowFrom, Int32 rows, Int32 copyStylesFromRow)
в RMPM.ExcelRepositories.Extensions.EPPlus.ExcelWorksheetExtensions.InsertAndClearRow(ExcelWorksheet excelWorksheet, Int32 row, Int32 insertRowCount) в D:\Desktop\own\RMPM\src\RMPM.ExcelRepositories\Extensions\EPPlus\ExcelWorksheetExtensions.cs:строка 203

@prof1k
Copy link
Author

prof1k commented Feb 20, 2020

ps EPPlus 4.5.3.2

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