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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79894 --- shadow/79894 2006-11-10 11:43:53.000000000 -0500 +++ shadow/79894.tmp.10088 2006-11-10 11:43:53.000000000 -0500 @@ -0,0 +1,61 @@ +Bug#: 79894 +Product: Mono: Compilers +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Error compiling using gmcs + +Description of Problem: +Using Mono 1.2, I get the following error when compiling any program using +gmcs and scons: + +$ scons +scons: Reading SConscript files ... +scons: done reading SConscript files. +scons: Building targets ... +gmcs -out:/home/test/test.exe test.cs + +Unhandled Exception: System.TypeInitializationException: An exception was +thrown by the type initializer for Mono.CSharp.Report ---> +System.TypeInitializationException: An exception was thrown by the type +initializer for System.Console ---> System.NullReferenceException: Object +reference not set to an instance of an object + at System.TermInfoDriver.Init () [0x00000] + at System.ConsoleDriver.Init () [0x00000] + at System.Console..cctor () [0x00000] --- End of inner exception stack +trace --- + + at <0x00000> <unknown method> + at Mono.CSharp.Report..cctor () [0x00000] --- End of inner exception +stack trace --- + +scons: *** [test.exe] Error 1 +scons: building terminated because of errors. + + +Steps to reproduce the problem: +1. Use the builder at +http://www.scons.org/cgi-sys/cgiwrap/scons/moin.cgi/CsharpBuilder with +scons to build a program. Use the gmcs compiler. + +Actual Results: +Compiling fails with the exception above. + +Expected Results: + +How often does this happen? +Always. + +Additional Information: +Compiling using mcs works. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
