mmanela / chutzpah

Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha and TypeScript.
http://mmanela.github.io/chutzpah/
Apache License 2.0
550 stars 143 forks source link

NullReferenceException in GenerateServerFileUrl #791

Closed ideafixxxer closed 2 years ago

ideafixxxer commented 3 years ago

Received this error while running Chutzpah tests:

##[error]Error: System.NullReferenceException: Object reference not set to an instance of an object. 

 at Chutzpah.UrlBuilder.GenerateServerFileUrl(TestContext testContext, String absolutePath, Boolean fullyQualified, Boolean isBuiltInDependency, String fileHash) in C:\dev\chutzpah\Chutzpah\UrlBuilder.cs:line 86 
 at Chutzpah.UrlBuilder.GenerateAbsoluteServerUrl(TestContext testContext, ReferencedFile referencedFile) in C:\dev\chutzpah\Chutzpah\UrlBuilder.cs:line 72 
 at Chutzpah.ReferenceProcessor.SetupPathsFormattedForTestHarness(TestContext testContext, List`1 referencedFiles) in C:\dev\chutzpah\Chutzpah\ReferenceProcessor.cs:line 144 
 at Chutzpah.TestHarnessBuilder.CreateTestHarness(TestContext testContext, TestOptions options) in C:\dev\chutzpah\Chutzpah\TestHarnessBuilder.cs:line 49 
 at Chutzpah.TestRunner.<>c__DisplayClass39_0.<ExecuteTestContexts>b__0(TestContext testContext) in C:\dev\chutzpah\Chutzpah\TestRunner.cs:line 432 

While Running: pathtofile.ts
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.