[Mono-bugs] [Bug 82296][Maj] New - Regression - results a NRE during compilation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 2 17:21:53 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=82296

--- shadow/82296	2007-08-02 17:21:53.000000000 -0400
+++ shadow/82296.tmp.5344	2007-08-02 17:21:53.000000000 -0400
@@ -0,0 +1,78 @@
+Bug#: 82296
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: contact at i-nz.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Regression - results a NRE during compilation
+
+Compiling MonoDevelop revision 83339 with mcs/mono rev 83339 results in the
+following NRE:
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at Mono.CSharp.Return.CloneTo (Mono.CSharp.CloneContext clonectx,
+Mono.CSharp.Statement t) [0x00000] 
+  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000] 
+  at Mono.CSharp.If.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] 
+  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