Quote:System.TypeInitializationException: The type initializer for 'MVC' threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at nCrunch.TestRuntime.SharedMemoryExecutionDataRecorder.MarkCoverageOfClass(Int32 componentMappingId, Int32 classIndex)
at LedgerscopeWeb.Controllers.T4MVC_DashboardController..ctor() in D:\Source\Repos\Core\LedgerscopeWeb\LedgerscopeWeb\DashboardController.generated.cs:line 0
at MVC..cctor() in D:\Source\Repos\Core\LedgerscopeWeb\LedgerscopeWeb\T4MVC.cs:line 43
--- End of inner exception stack trace ---
at LedgerscopeWeb.Controllers.ManagerController.<Add>d__7.MoveNext() in D:\Source\Repos\Core\LedgerscopeWeb\LedgerscopeWeb\Controllers\ManagerController.cs:line 104
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
at LedgerscopeWeb.Controllers.ManagerController.Add(ManagerUpdateRequest updateRequest)
at LedgerscopeWeb.UnitTests.Controllers.ManagerControllerTests.AddPostbackTests.<Postback_To_Add_And_Validation_Exception_Occurs_From_Service_Should_Return_To_Index_With_Model_With_Cmb_Masterpage>d__9.MoveNext() in D:\Source\Repos\Core\LedgerscopeWeb\LedgerscopeWeb.Tests\Controllers\ManagerControllerTests\AddPostbackTests.cs:line 86
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at LedgerscopeWeb.UnitTests.Controllers.ManagerControllerTests.AddPostbackTests.Postback_To_Add_And_Validation_Exception_Occurs_From_Service_Should_Return_To_Index_With_Model_With_Cmb_Masterpage()
We're getting the above error on
just one of our grid nodes. They are both configured the same apart from this one (I think) used to have full Visual Studio installed and now just has the Build Tools installed. The test in question has an async Task signature (running with MSTest) and the second line of the stacktrace (which references line 0) is an auto-generated class by T4MVC.
Windows 10 1803, .NET 4.7.2, Visual Studio 15.9.1, NCrunch 3.22.0.1
Not sure what else you want information-wise, but happy to provide anything that will help