[Mono-bugs] [Bug 36934][Maj] New - Exception caught while compiling dotnetcommlib
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sun, 19 Jan 2003 00:34:13 -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 kiwnix@yahoo.es.
http://bugzilla.ximian.com/show_bug.cgi?id=36934
--- shadow/36934 Sun Jan 19 00:34:13 2003
+++ shadow/36934.tmp.5658 Sun Jan 19 00:34:13 2003
@@ -0,0 +1,85 @@
+Bug#: 36934
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: CVS HEAD
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: kiwnix@yahoo.es
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Exception caught while compiling dotnetcommlib
+
+Description of Problem:
+The compiler fails when trying to compile dotnetcommlib.
+
+Steps to reproduce the problem:
+
+CVSROOT=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dotnetcommlib
+cvs -z3 login
+cvs -z3 co NEWS
+cd NEWS
+mcs -recurse:*.cs
+
+Actual Results:
+
+Exception caught by the compiler while compiling:
+ Block that caused the problem begin at: ./Utils.cs: (364)
+ Block being compiled: [./Utils.cs: (379),./Utils.cs:
+(384)]
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required
+in <0x000d5> 00 Mono.CSharp.Expression:ImplicitReferenceConversionExists
+(Mono.CSharp.Expression,System.Type)
+in <0x004b9> 00 Mono.CSharp.Expression:StandardConversionExists
+(Mono.CSharp.Expression,System.Type)
+in <0x00019> 00 Mono.CSharp.Expression:ImplicitConversionExists
+(Mono.CSharp.EmitContext,Mono.CSharp.Expression,System.Type)
+in <0x001ad> 00 Mono.CSharp.Invocation:IsApplicable
+(Mono.CSharp.EmitContext,System.Collections.ArrayList,System.Reflection.MethodBase)
+in <0x000f8> 00 Mono.CSharp.Invocation:OverloadResolve
+(Mono.CSharp.EmitContext,Mono.CSharp.MethodGroupExpr,System.Collections.ArrayList,Mono.CSharp.Location)
+in <0x00210> 00 Mono.CSharp.IndexerAccess:DoResolveLValue
+(Mono.CSharp.EmitContext,Mono.CSharp.Expression)
+in <0x0002a> 00 Mono.CSharp.Expression:ResolveLValue
+(Mono.CSharp.EmitContext,Mono.CSharp.Expression)
+in <0x00142> 00 Mono.CSharp.ElementAccess:DoResolveLValue
+(Mono.CSharp.EmitContext,Mono.CSharp.Expression)
+in <0x0002a> 00 Mono.CSharp.Expression:ResolveLValue
+(Mono.CSharp.EmitContext,Mono.CSharp.Expression)
+in <0x0001e> 00 Mono.CSharp.CompoundAssign:DoResolve (Mono.CSharp.EmitContext)
+in <0x00151> 00 Mono.CSharp.Expression:Resolve
+(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags)
+in <0x0001d> 00 Mono.CSharp.StatementExpression:Resolve
+(Mono.CSharp.EmitContext)
+in <0x000a9> 00 Mono.CSharp.If:Resolve (Mono.CSharp.EmitContext)
+in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
+in <0x000a9> 00 Mono.CSharp.If:Resolve (Mono.CSharp.EmitContext)
+in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
+in <0x0013c> 00 Mono.CSharp.If:Resolve (Mono.CSharp.EmitContext)
+in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
+in <0x0025e> 00 Mono.CSharp.Block:Resolve (Mono.CSharp.EmitContext)
+in <0x0010b> 00 Mono.CSharp.EmitContext:EmitTopBlock
+(Mono.CSharp.Block,Mono.CSharp.InternalParameters,Mono.CSharp.Location)
+in <0x00357> 00 Mono.CSharp.EmitContext:EmitTopBlock
+(Mono.CSharp.Block,Mono.CSharp.InternalParameters,Mono.CSharp.Location)
+in <0x005ac> 00 Mono.CSharp.MethodData:Emit
+(Mono.CSharp.TypeContainer,Mono.CSharp.Block,object)
+in <0x00023> 00 Mono.CSharp.Method:Emit (Mono.CSharp.TypeContainer)
+in <0x00291> 00 Mono.CSharp.TypeContainer:Emit ()
+in <0x004c8> 00 Mono.CSharp.RootContext:EmitCode ()
+in <0x0079c> 00 Mono.CSharp.Driver:MainDriver (string[])
+in <0x0000f> 00 Mono.CSharp.Driver:Main (string[])
+
+
+Expected Results:
+
+Additional Information:
+
+doing "find -name \*.cs | xargs mcs" i get the same result.