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

Fix null exception when saving a file #1307

Merged
merged 3 commits into from
Nov 12, 2019
Merged

Conversation

xsombra
Copy link
Contributor

@xsombra xsombra commented Nov 8, 2019

When the file has a fill with a null PatternFill, it throws a
NullReferenceException on XLWorkbook.Save()

When the file has a fill with a null PatternFill, it throws a
NullReferenceException on XLWorkbook.Save()
@igitur
Copy link
Member

igitur commented Nov 8, 2019

Thanks for the contribution. Please reformat your code according to standard Visual Studio conventions. The normal "Format Document" action in Visual Studio should be enough.

@xsombra
Copy link
Contributor Author

xsombra commented Nov 11, 2019

Hello. Thank you for your comments. I uploaded the suggested changes.

@igitur
Copy link
Member

igitur commented Nov 12, 2019

@Pankraty You happy with this PR?

@igitur igitur added this to the v0.95 milestone Nov 12, 2019
@igitur igitur added the bug label Nov 12, 2019
@Pankraty
Copy link
Member

Absolutely!

@igitur igitur merged commit 6b0173a into ClosedXML:develop Nov 12, 2019
@igitur
Copy link
Member

igitur commented Nov 12, 2019

@xsombra Thanks for the contribution. Please keep them coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants