Rank: Advanced Member
Groups: Registered
Joined: 6/17/2012(UTC) Posts: 507
Thanks: 145 times Was thanked: 66 time(s) in 64 post(s)
|
[NCrunch Console Tool v4.3.0.13] I am getting below errors on a old project I am trying to run in a TeamCity agent (docker container). Was the below error due to some bug related generic fixtures or is this a new one? I do not see this when running NCrunch in vstudio. Quote: [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] ERROR (Analysis): A failure occurred while analysing the assembly [SnapshotComponent:Proj.Web.NonHttpIntegrationTests.NUnitTests, 32, 62753728]: System.NullReferenceException: Object reference not set to an instance of an object. [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.DiscoveredTestMember.GetDistributedCapabilities() [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.DefaultDiscoveredTestFactory. (FrameworkTest , ComponentUniqueName ) [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.DefaultDiscoveredTestFactory.createTestsForFramework(Dictionary`2 discoveredTests, IEnumerable`1 tests, ComponentUniqueName testComponentUniqueName) [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.DefaultDiscoveredTestFactory.CreateDiscoveredTests(ReflectedAssembly assembly, IEnumerable`1 tests, ComponentUniqueName testComponentUniqueName) [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.TestFinder. . () [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity) [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.TestFinder. . () [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.Common.PerformanceTracking.PerfTracker.TrackActivity(String name, Action activity) [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.TestFinder.FindTestsForFrameworks(ReflectedAssembly assembly, FilePath assemblyFilePath, IList`1 referencedAssemblyFilePaths, DescribedTestFrameworkDiscoverer[] describedDiscoverers, ComponentUniqueName testComponentUniqueName, PlatformType platformType, DynamicProxy[] dynamicProxies) [16:52:38] : [Step 16/23] [LocalAnalysisTask-100] at nCrunch.TestExecution.RemoteTaskRunner.AnalyseAssembly(DescribedTestFrameworkDiscoverer[] applicableFrameworks, ComponentUniqueName testComponentUniqueName, PerfTracker perfTracker)
Thanks.
|