ColorConsoleWriter.WriteLabel causes NullReferenceException
See original GitHub issueI’ve gotten this 7 times out of the last 9 builds on the build server at work. The only thing that should have changed from last night is that there’s a lot more parallelization going on. Oh, also I updated to NUnit Framework 3.8.0, duh…
Run Settings
DisposeRunners: True
WorkDirectory: [redacted]
TestParametersDictionary: System.NullReferenceException: Object reference not set to an instance of an object.
at NUnit.ConsoleRunner.ColorConsoleWriter.WriteLabel(String label, Object option, ColorStyle valueStyle)
at NUnit.ConsoleRunner.ColorConsoleWriter.WriteLabelLine(String label, Object option, ColorStyle valueStyle)
at NUnit.ConsoleRunner.ResultReporter.WriteRunSettingsReport()
at NUnit.ConsoleRunner.ResultReporter.ReportResults()
at NUnit.ConsoleRunner.ConsoleRunner.RunTests(TestPackage package, TestFilter filter)
at NUnit.ConsoleRunner.Program.Main(String[] args)
Fails with error -100.
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (12 by maintainers)
Top Results From Across the Web
NUnit 3.2.0 Console Runner System. ...
I want to be able to run parameterized tests from multiple assemblies in parallel using the console runner. Since that requires loading static ......
Read more >Console and Engine Release Notes
RunTests(ITestEventListener listener, TestFilter filter); 285 ColorConsoleWriter.WriteLabel causes NullReferenceException; 289 Warnings not displayed ...
Read more >How can I fix the error: System.NullReferenceException
A NullReferenceException exception is thrown when you try to access a member on a type whose value is null. A NullReferenceException exception ...
Read more >NullReferenceException Class (System)
To address this problem, instantiate the object so that its value is no longer null . The following example does this by calling...
Read more >An unconventional way of investigating a ...
I was trying to call a virtual method on a null reference; This caused a segmentation fault, which was caught by the runtime...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ChrisMaddock I’ve only written the “production-code” (and performed manual testing), so I also need to implement some tests, so you can keep this issue 😄 .
Go ahead and take it.
On Dec 12, 2017 7:55 AM, “Chris Maddock” notifications@github.com wrote: