Random crashes with FileNotFoundException
See original GitHub issueDescribe the bug
Sometimes Stryker crashes for random projects with this error
This happens after throwing a bunch of exceptions with the FileNotFoundException
on the top, see logs attached.
The process exit code is -532462766
.
It’s important to say this is by far not deterministic. I get a feeling we have this once every 10 times or so. I have just run Stryker against the same project 20 times and it failed 3 times with this thing.
Logs
Here are the logs: logs.txt
They are pretty similar for these crashes. Once the log also had this attached at the end of the call stack (just before Time Elapsed TIME):
at Stryker.CLI.StrykerCLI.RunStryker(StrykerOptions options) in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\StrykerCLI.cs:line 136
at Stryker.CLI.StrykerCLI.<>c__DisplayClass7_0.<Run>b__0() in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\StrykerCLI.cs:line 125
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass146_0.<OnExecute>b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Stryker.CLI.StrykerCLI.Run(String[] args) in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\StrykerCLI.cs:line 128
at Stryker.CLI.Program.Main(String[] args) in D:\a\1\s\src\Stryker.CLI\Stryker.CLI\Program.cs:line 16
Expected behavior
This shouldn’t happen.
Desktop:
- OS: Windows
- Type of project: observed both for
net5
andnetcore3.1
- Stryker Version [e.g. beta 0.22.9]
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (22 by maintainers)
Top Results From Across the Web
My application crashes with a FileNotFoundException, and ...
The path you're double-clicking on probably contains one or more spaces, causing the path to be sent as multiple command line arguments.
Read more >GEM Editor crash- "File not found" exception :: Men of War
After doing "Save as" and trying it in that, I only get so far before the game randomly hangs and freezes... In task...
Read more >Custom modpack randomly crashing. - Java Edition Support
So I made my own modpack for me and my friends to use on my server, and I recently updated draconic evolution and...
Read more >[GUIDE] What to do if the game crashes consistently
I'm making this guide because I see a lot of threads specifically about the game crashing. Luckily, a lot of the issues are...
Read more >Docuware Desktop Apps crashes-1523020123
It's not something specific, it happens randomly. Windows events tells that the file we are editing could not be found. It starts with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So, looks like this has entirely disappeared since we moved to Stryker 1.0. Target framework is most probably unrelated, we’ve run Stryker against the whole code base a few times between moving to 1.0 and specifying the target framework.
So anyway - good stuff 😃 I’ll close the issue then.
Hmm hang on, we’ve just moved to .NET 6 and C# 10 so have a lot of bigger issues related to that - but I will update this ticket once things stabilize a bit 😃