Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISheet.CopyRow() throws NullReferenceException #256

Closed
gubin89 opened this issue Aug 22, 2019 · 4 comments
Closed

ISheet.CopyRow() throws NullReferenceException #256

gubin89 opened this issue Aug 22, 2019 · 4 comments
Assignees
Labels
Milestone

Comments

@gubin89
Copy link

gubin89 commented Aug 22, 2019

after read ur source code and debug the project , i find the problem is that there are some mergedregions are null in line 253 NPOI.SS.Util.SheetUtil , and in the next line
if (cellRangeAddress.FirstRow == sourceRow.RowNum)
throws nulreferenceexception
please fixed it soon, thank u
i love npoi~

@JackyLi918
Copy link

shiftmergedrows has wrong logic.

@thewax
Copy link

thewax commented Nov 1, 2019

Any update on this?

@jeffjiang0613
Copy link

Any update on this issue?

@tonyqus
Copy link
Member

tonyqus commented Feb 25, 2020

It will be fixed in the next version of NPOI.

@tonyqus tonyqus added the bug label Feb 25, 2020
@tonyqus tonyqus self-assigned this Feb 25, 2020
tonyqus added a commit that referenced this issue Feb 25, 2020
@tonyqus tonyqus closed this as completed Mar 3, 2020
@tonyqus tonyqus added this to the NPOI 2.5.0 milestone Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants