stryker-mutator / stryker-net

Mutation testing for .NET core and .NET framework!
https://stryker-mutator.io
Apache License 2.0
1.75k stars 176 forks source link

Stryker crashes during mutation rollback (InvalidOperationException) #2916

Closed dupdob closed 2 months ago

dupdob commented 2 months ago

Describe the bug Stryker sometimes fails during mutations rollback phase with a InvalidOperationException: Can't extract original expression from.

Logs NA. Issue appears randomly in CI and local test sessions

Expected behavior Rollback should proceed properly

Desktop (please complete the following information):

Additional context It looks like an implementation issue in BaseFunctionOrchestrator which adds erroneous Annotation to some syntax nodes.