-
Notifications
You must be signed in to change notification settings - Fork 194
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
ArgumentNullException during the mutation test run #3181
Comments
Hi, |
@dupdob I've created a minimal project that reproduces this at https://github.com/mrlacey/StrykerBugRepro I noticed that I was trying to run with the working directory of the solution file, but even when I set the working directory to the unit test project directory I still get the same exception. |
Thanks for the repro project. As of now, we do not properly support MAUI project due to problem with Buildalyzer. |
Good to know. Thank you. |
Update: I fixed the undue exception. Then, I got the correct error: the problem was that the project could not compile on my machine due to missing SDKs. ReUpdate: |
Update: I added a workaround to the previous issue; so I get to the point where Stryker tries to mutate the project but then fails because it can't build it. |
I opened PR #3184 that improves the situation. But it does not fully work on your sample projects because initial test phase fails. |
[20:51:27 INF] Logging enabled at level Trace [20:51:27 DBG] Stryker started with options: [20:51:27 INF] Analysis starting. System.ArgumentNullException: Value cannot be null. (Parameter 'folderName') [20:51:56 INF] Time Elapsed 00:00:29.4026273 |
Describe the bug
A clear and concise description of what the bug is.
Trying Stryker for the first time, but getting an internal exception when generating mutations.
Logs
For us to best assist you in diagnosing the problem we would ask you to run stryker with the option
--log-to-file
or-L
and to attach the resulting logs to the issue.Expected behavior
A clear and concise description of what you expected to happen.
Not throw an error and test some mutations.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Not sure what else you want/need to know.
The text was updated successfully, but these errors were encountered: