Test Run Failed on Mono/OSX

Cory Foy <[email protected]> Thu, 28 Aug 2008 13:03:45 -0400
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <[email protected]>
I didn't expect to be this quick in finding problems. ;)


cory-foys-macbook-pro:nunit20 foyc$ nant mono-2.0 test
run-test:

      [echo] *
      [echo] * Testing mono-2.0 debug build
      [echo] *    Running under mono-2.0
      [echo] *
      [exec] NUnit version 2.5.0.8241 (Alpha-3)
      [exec] Copyright (C) 2002-2008 Charlie Poole.\r\nCopyright (C) 
2002-2004 James W. Newkirk, Michael C. Two, Alexei A. 
Vorontsov.\r\nCopyright (C) 2000-2002 Philip Craig.\r\nAll Rights Reserved.
      [exec]
      [exec] Runtime Environment -
      [exec]    OS Version: Unix 9.4.0.0
      [exec]   CLR Version: 2.0.50727.42 ( Mono 1.9.1 )
      [exec]
      [exec] Unhandled Exception:
      [exec] System.NullReferenceException: Object reference not set to 
an instance of an object
      [exec]
      [exec] Server stack trace:
      [exec]   at NUnit.Core.SimpleTestRunner.CountTestCases 
(ITestFilter filter) [0x00000]
      [exec]   at NUnit.Core.ProxyTestRunner.CountTestCases (ITestFilter 
filter) [0x00000]
      [exec]   at NUnit.Core.ProxyTestRunner.CountTestCases (ITestFilter 
filter) [0x00000]
      [exec]   at (wrapper xdomain-dispatch) 
NUnit.Core.ProxyTestRunner:CountTestCases (object,byte[]&,byte[]&)
      [exec]
      [exec] Exception rethrown at [0]:
      [exec]
      [exec]   at (wrapper xdomain-invoke) 
NUnit.Core.ProxyTestRunner:CountTestCases (NUnit.Core.ITestFilter)
      [exec]   at NUnit.Core.ProxyTestRunner.CountTestCases (ITestFilter 
filter) [0x00000]
      [exec]   at NUnit.Util.AggregatingTestRunner.CountTestCases 
(ITestFilter filter) [0x00000]
      [exec]   at NUnit.Util.AggregatingTestRunner.Run (EventListener 
listener, ITestFilter filter) [0x00000]
      [exec]   at NUnit.ConsoleRunner.ConsoleUi.Execute 
(NUnit.ConsoleRunner.ConsoleOptions options) [0x00000]
      [exec]   at NUnit.ConsoleRunner.Runner.Main (System.String[] args) 
[0x00000]

BUILD FAILED

/Users/foyc/Workspace/nunit/nunit20/nunit.build(290,6):
External Program Failed: 
/Users/foyc/Workspace/nunit/nunit20/build/mono/2.0/debug/nunit-console.exe 
(return code was 156)

Total time: 6.4 seconds.


Any thoughts? I'll have to put this down for now, but will try to dive 
into it later.

-- 
Cory Foy
http://www.cornetdesign.com
http://www.agileflorida.com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/