[Mono-bugs] [Bug 71416][Blo] New - Mono does not run NAnt anymore

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 18 Jan 2005 14:51:17 -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 willibald.krenn@gmx.at.

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

--- shadow/71416	2005-01-18 14:51:17.000000000 -0500
+++ shadow/71416.tmp.28561	2005-01-18 14:51:17.000000000 -0500
@@ -0,0 +1,112 @@
+Bug#: 71416
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: SuSE 9.0 AMD64
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: Willibald.Krenn@gmx.at               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono does not run NAnt anymore
+
+Description of Problem:
+=======================
+
+Mono rev. 39101 does not run NAnt.exe (v. 0.85-rc1 as downloaded from sf).
+
+(You also can not build any new version of NAnt, because the build-process
+calls an old NAnt version to build the new one!)
+
+
+Steps to reproduce the problem:
+===============================
+1. Download NAnt 0.85 rc1 binary package
+2. install (decompress)
+3. call NAnt 
+
+Actual Results:
+===============
+
+Compat mode: the request from /home/willi/dev/nant-0.85-rc1/bin/log4net.dll
+to load System.Xml was remapped (http://www.go-mono.com/remap.html)
+Compat mode: the request from /home/willi/dev/nant-0.85-rc1/bin/log4net.dll
+to load System was remapped (http://www.go-mono.com/remap.html)
+log4net:ERROR LogLog: Exception while reading ConfigurationSettings. Check
+your .config file is well formed XML.
+
+Unhandled Exception: System.TypeInitializationException: An exception was
+thrown by the type initializer for NAnt.Console.ConsoleStub --->
+System.TypeInitializationException: An exception was thrown by the type
+initializer for log4net.Core.LoggerManager --->
+System.TypeInitializationException: An exception was thrown by the type
+initializer for log4net.Util.LogLog --->
+System.TypeInitializationException: An exception was thrown by the type
+initializer for System.Diagnostics.TraceImpl --->
+System.TypeInitializationException: An exception was thrown by the type
+initializer for System.Diagnostics.DiagnosticsConfiguration --->
+System.Configuration.ConfigurationException: system.diagnostics does not
+implement System.Configuration.IConfigurationSectionHandler ()
+in <0x0013f> System.Configuration.ConfigurationData:CreateNewHandler
+(string,System.Configuration.SectionData)
+in <0x002f3> System.Configuration.ConfigurationData:GetHandler (string)
+in <0x000c2> System.Configuration.ConfigurationData:GetHandler (string)
+in <0x0003b> System.Configuration.ConfigurationData:GetConfigInternal (string)
+in <0x00136> System.Configuration.ConfigurationData:GetConfig (string)
+in <0x00040> System.Configuration.DefaultConfig:GetConfig (string)
+in <0x000ab> System.Configuration.ConfigurationSettings:GetConfig (string)
+in <0x0001d> System.Diagnostics.DiagnosticsConfiguration:.cctor ()
+--- End of inner exception stack trace ---
+
+in (unmanaged) System.Diagnostics.TraceImpl:.cctor ()
+in <0x000d6> System.Diagnostics.TraceImpl:.cctor ()
+in <0x000d5> System.Diagnostics.TraceImpl:.cctor ()
+--- End of inner exception stack trace ---
+
+in (unmanaged) System.Diagnostics.Trace:WriteLine (string)
+in <0x0001d> System.Diagnostics.Trace:WriteLine (string)
+in <0x0001c> System.Diagnostics.Trace:WriteLine (string)
+in <0x00040> log4net.Util.LogLog:EmitErrorLine (string)
+in <0x00053> log4net.Util.LogLog:Error (string,System.Exception)
+in <0x000f7> log4net.Util.LogLog:.cctor ()
+--- End of inner exception stack trace ---
+
+in (unmanaged) log4net.Core.LoggerManager:.cctor ()
+in <0x00079> log4net.Core.LoggerManager:.cctor ()
+in <0x00078> log4net.Core.LoggerManager:.cctor ()
+--- End of inner exception stack trace ---
+
+in (unmanaged) log4net.LogManager:GetLogger (System.Reflection.Assembly,string)
+in <0x0002a> log4net.LogManager:GetLogger (System.Reflection.Assembly,string)
+in <0x00029> log4net.LogManager:GetLogger (System.Reflection.Assembly,string)
+in <0x00045> log4net.LogManager:GetLogger (System.Type)
+in <0x00035> NAnt.Console.ConsoleStub:.cctor ()
+--- End of inner exception stack trace ---
+
+
+
+Expected Results:
+=================
+No exception
+
+
+
+Additional Information (from Atsushi Eno):
+==========================================
+
+Well, that means, you are going to _run_ nant, not building it (IIRC,
+on building nant from source, it anyways run nant binary).
+
+Actually I get such kind of config exception when I compile something
+with .NET 2.0 csc and run under mono. Then it results in the similar
+error. Our runtime expects 2.0.40607 for assemblies compiled in 2.0
+profile, while csc has the actual version 2.0.40103 in my box.
+
+So it looks like the runtime problem. It would be nice if you post
+the problem to bugzilla (as a runtime bug).