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

Tests crashing on linux but not windows #14

Closed
drdamour opened this issue Mar 10, 2020 · 4 comments
Closed

Tests crashing on linux but not windows #14

drdamour opened this issue Mar 10, 2020 · 4 comments

Comments

@drdamour
Copy link

using dotnet test have no issues on windows hosts, but on the ubuntu-latest in azure devops pipeline consistently get this.

i'm sure i'm doing something wrong...just not sure what.


The active test run was aborted. Reason: Test host process crashed : Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at DinkToPdf.PdfTools.Dispose(Boolean disposing)
   at DinkToPdf.PdfTools.Finalize()

@HakanL
Copy link
Owner

HakanL commented Sep 21, 2020

I pushed a potential fix (untested), can you please test it for me?

@drdamour
Copy link
Author

off this project for now, so won't be able to get back to it for some time

@HakanL
Copy link
Owner

HakanL commented Sep 22, 2020

Ok, no problem. Do you remember what unit tests you were running, in your own project? Because there aren't any unit tests in this repo. Or you get this error when consuming this NuGet package in a unit test?

@HakanL
Copy link
Owner

HakanL commented Sep 22, 2020

Based on the feedback from #18 I believe this has been fixed. I'm closing this issue, feel free to re-open if it's still an issue.

@HakanL HakanL closed this as completed Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants