[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, 9 Jan 2004 12:04:20 -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 vargaz@freemail.hu.

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

--- shadow/51260	2004-01-09 12:04:20.000000000 -0500
+++ shadow/51260.tmp.11454	2004-01-09 12:04:20.000000000 -0500
@@ -0,0 +1,99 @@
+Bug#: 51260
+Product: Mono/Runtime
+Version: unspecified
+OS: unknown
+OS Details: Windows 2000 Professional Italian SP4
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
+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.
+
+------- Additional Comments From vargaz@freemail.hu  2003-12-09 08:36 -------
+This works for me using mono-0.29. Could you try again with the new
+version ?
+
+------- Additional Comments From vargaz@freemail.hu  2004-01-09 12:04 -------
+This seems to be fixed.