[Mono-bugs] [Bug 82300][Maj] Changed - NRE in VariableReference.EmitLoad

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 3 08:15:23 EDT 2007


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 contact at i-nz.net.

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

--- shadow/82300	2007-08-03 07:32:29.000000000 -0400
+++ shadow/82300.tmp.25311	2007-08-03 08:15:23.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82300
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: C#
 AssignedTo: marek.safar at seznam.cz                            
 ReportedBy: contact at i-nz.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -70,6 +70,89 @@
   at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
 
 ------- Additional Comments From contact at i-nz.net  2007-08-03 07:32 -------
 Created an attachment (id=19693)
 Test case MonoDevelop solution
 
+
+------- Additional Comments From contact at i-nz.net  2007-08-03 08:15 -------
+In mcs revision 83396 the exception has changed to:
+
+
+Unhandled Exception: Mono.CSharp.InternalErrorException:
+/root/Projects/mwf-in-gtk/mwf-in-gtk/Main.cs(33,50): --->
+System.ArgumentNullException: null key
+Parameter name: key
+  at System.Collections.Hashtable.get_Item (System.Object key) [0x00000] 
+  at Mono.CSharp.CloneContext.LookupVariable (Mono.CSharp.LocalInfo
+from) [0x00000] 
+  at Mono.CSharp.LocalVariableReference.CloneTo
+(Mono.CSharp.CloneContext clonectx, Mono.CSharp.Expression t) [0x00000] 
+  at Mono.CSharp.Expression.Clone (Mono.CSharp.CloneContext clonectx)
+[0x00000] 
+  at Mono.CSharp.Assign.CloneTo (Mono.CSharp.CloneContext clonectx,
+Mono.CSharp.Expression t) [0x00000] 
+  at Mono.CSharp.Expression.Clone (Mono.CSharp.CloneContext clonectx)
+[0x00000] 
+  at Mono.CSharp.StatementExpression.CloneTo (Mono.CSharp.CloneContext
+clonectx, Mono.CSharp.Statement t) [0x00000] 
+  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx)
+[0x00000] 
+  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
+Mono.CSharp.Statement t) [0x00000] 
+  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext
+clonectx, Mono.CSharp.Statement t) [0x00000] 
+  at Mono.CSharp.ToplevelBlock.CloneTo (Mono.CSharp.CloneContext
+clonectx, Mono.CSharp.Statement t) [0x00000] 
+  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx)
+[0x00000] 
+  at Mono.CSharp.Statement.PerformClone () [0x00000] 
+  at Mono.CSharp.AnonymousMethodExpression.CompatibleMethod
+(Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic,
+System.Type returnType, System.Type delegateType) [0x00000] 
+  at Mono.CSharp.AnonymousMethodExpression.Compatible
+(Mono.CSharp.EmitContext ec, System.Type delegateType) [0x00000] ---
+End of inner exception stack trace ---
+
+  at Mono.CSharp.AnonymousMethodExpression.Compatible
+(Mono.CSharp.EmitContext ec, System.Type delegateType) [0x00000] 
+  at
+Mono.CSharp.AnonymousMethodExpression.ImplicitStandardConversionExists
+(System.Type delegate_type) [0x00000] 
+  at Mono.CSharp.Convert.ImplicitStandardConversionExists
+(Mono.CSharp.Expression expr, System.Type target_type) [0x00000] 
+  at Mono.CSharp.Convert.ImplicitConversionExists
+(Mono.CSharp.EmitContext ec, Mono.CSharp.Expression expr, System.Type
+target_type) [0x00000] 
+  at Mono.CSharp.Invocation.IsApplicable (Mono.CSharp.EmitContext ec,
+System.Collections.ArrayList arguments, Int32 arg_count,
+System.Reflection.MethodBase candidate) [0x00000] 
+  at Mono.CSharp.Invocation.IsApplicable (Mono.CSharp.EmitContext ec,
+Mono.CSharp.MethodGroupExpr me, System.Collections.ArrayList
+arguments, Int32 arg_count, System.Reflection.MethodBase& method)
+[0x00000] 
+  at Mono.CSharp.MethodGroupExpr.OverloadResolve
+(Mono.CSharp.EmitContext ec, System.Collections.ArrayList Arguments,
+Boolean may_fail, Location loc) [0x00000] 
+  at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec)
+[0x00000] 
+  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec,
+ResolveFlags flags) [0x00000] 
+  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec)
+[0x00000] 
+  at Mono.CSharp.ExpressionStatement.ResolveStatement
+(Mono.CSharp.EmitContext ec) [0x00000] 
+  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext
+ec) [0x00000] 
+  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
+  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext
+anonymous_method_host, Mono.CSharp.ToplevelBlock block,
+Mono.CSharp.Parameters ip, IMethodData md, System.Boolean&
+unreachable) [0x00000] 
+  at Mono.CSharp.EmitContext.EmitTopBlock (IMethodData md,
+Mono.CSharp.ToplevelBlock block) [0x00000] 
+  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000] 
+  at Mono.CSharp.Method.Emit () [0x00000] 
+  at Mono.CSharp.TypeContainer.EmitType () [0x00000] 
+  at Mono.CSharp.RootContext.EmitCode () [0x00000] 
+  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000] 
+  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] 


More information about the mono-bugs mailing list