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

"Object reference not set to an instance of an object" when running the rewriter. #506

Open
redknightlois opened this issue Jun 25, 2024 · 0 comments

Comments

@redknightlois
Copy link

I was tasked into analyze if Coyote could serve our purposes for testing multithreaded quite complex code. However, I started by building a simple scenario to test where I can actually induce an error but could not pass the rewrite step.

1>Target CopyFilesToOutputDirectory:
1>  ConcurrencyTests -> S:\Src\ravendb-60-git\test\ConcurrencyTests\bin\Debug\net8.0\ConcurrencyTests.dll
1>Target CoyoteRewrite:
1>  Microsoft (R) Coyote version 1.7.11.0 for .NET 8.0.6
1>  Copyright (C) Microsoft Corporation. All rights reserved.
1>
1>  . Rewriting the assemblies specified in S:\Src\ravendb-60-git\test\ConcurrencyTests\bin\Debug\net8.0.
1>  ... Rewriting the 'Sparrow.dll' assembly (Sparrow, Version=6.1.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593)
1>  Object reference not set to an instance of an object.
1>  S:\Src\ravendb-60-git\test\ConcurrencyTests\ConcurrencyTests.csproj(51,5): error MSB3073: The command "coyote rewrite coyote.json" exited with code 1.
1>Done building target "CoyoteRewrite" in project "ConcurrencyTests.csproj" -- FAILED.
1>
1>Done building project "ConcurrencyTests.csproj" -- FAILED.

Repro

Build in debug the ConcurrencyTests project from the following branch:

https://github.com/redknightlois/ravendb/tree/coyote
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

1 participant