[Mono-bugs] [Bug 51260][Blo] New - nunit-console doesn't run on Windows with Mono

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 21 Nov 2003 09:17:41 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bk@slashdev.it.

http://bugzilla.ximian.com/show_bug.cgi?id=51260

--- shadow/51260	2003-11-21 09:17:40.000000000 -0500
+++ shadow/51260.tmp.25043	2003-11-21 09:17:41.000000000 -0500
@@ -0,0 +1,92 @@
+Bug#: 51260
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: Windows 2000 Professional Italian SP4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bk@slashdev.it               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: nunit-console doesn't run on Windows with Mono
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+nunit-console does not run on a Windows 2000 SP4 system with Mono Runtime 0.28
+
+Steps to reproduce the problem:
+From command prompt, in the directory where NUnit is installed type
+mono nunit-console.exe
+
+
+Actual Results:
+** (nunit-console.exe:1860): WARNING **: Could not load class from token
+0x01000
+004 in nunit-console.exe
+
+** (nunit-console.exe:1860): WARNING **: Could not load class from token
+0x01000
+004 in nunit-console.exe
+
+** (nunit-console.exe:1860): WARNING **: Could not load class from token
+0x01000
+004 in nunit-console.exe
+
+** (nunit-console.exe:1860): WARNING **: Could not load class from token
+0x01000
+02f in nunit-console.exe
+
+** (nunit-console.exe:1860): WARNING **: Could not load class from token
+0x01000
+004 in nunit-console.exe
+
+** (nunit-console.exe:1860): WARNING **: Missing method .ctor in assembly
+nunit-
+console.exe typeref index 4
+
+Unhandled Exception: System.NullReferenceException: A null value was found
+where
+ an object instance was required
+in (unmanaged) (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_ld
+ftn (intptr)
+in <0x00004> (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_ldft
+n (intptr)
+
+Expected Results:
+If I run nunit-console with Microsoft Framework (v1.1.4322) and with no
+parameters I get the usage and the parameters list:
+
+fatal error: no inputs specified
+
+NUNIT-CONSOLE [inputfiles] [options]
+
+Runs a set of NUnit tests from the console.
+
+You may specify one or more assemblies or a single
+project file of type .nunit.
+
+Options:
+/fixture=STR         Fixture to test
+/xml=STR             Name of XML output file
+/transform=STR       Name of transform file
+/nologo              Do not display the logo
+/help                Display help (Short format: /?)
+/wait                Require input to close console window
+/xmlConsole          Display XML to the console
+/config=STR          Project configuration to load
+
+How often does this happen? 
+Everytime i try to run nunit-console with Mono
+
+Additional Information:
+Same problem with both 2.0 and 2.1 NUnit versions.
+On Slackware Linux 9.1 works fine.