Bug 4293 - NullReferenceException in EvaluatorVisitor.EvaluateBinaryOperatorExpression
Summary: NullReferenceException in EvaluatorVisitor.EvaluateBinaryOperatorExpression
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-04-06 09:03 UTC by Csaba Halász
Modified: 2012-04-12 18:16 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Csaba Halász 2012-04-06 09:03:31 UTC
Just found this in my logs. I am terribly sorry but don't know what I was doing
at the time. Maybe the stack trace is useful as-is. I believe git revision was
b411dcf7.

System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.Debugging.Evaluation.EvaluatorVisitor.EvaluateBinaryOperatorExpression (Mono.Debugging.Evaluation.ValueReference left, ICSharpCode.OldNRefactory.Ast.Expression rightExp, BinaryOperatorType oper, System.Object data) [0x00152] in monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:674
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitBinaryOperatorExpression (ICSharpCode.OldNRefactory.Ast.BinaryOperatorExpression binaryOperatorExpression, System.Object data) [0x00013] in monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:641
  at ICSharpCode.OldNRefactory.Ast.BinaryOperatorExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:455
  at Mono.Debugging.Evaluation.EvaluatorVisitor.VisitBinaryOperatorExpression (ICSharpCode.OldNRefactory.Ast.BinaryOperatorExpression binaryOperatorExpression, System.Object data) [0x00000] in monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:640
  at ICSharpCode.OldNRefactory.Ast.BinaryOperatorExpression.AcceptVisitor (IAstVisitor visitor, System.Object data) [0x00000] in monodevelop/main/contrib/NRefactory/Project/Src/Ast/Generated.cs:455
  at Mono.Debugging.Evaluation.NRefactoryEvaluator.Evaluate (Mono.Debugging.Evaluation.EvaluationContext ctx, System.String exp, System.Object expectedType, Boolean tryTypeOf) [0x00164] in monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:89
Comment 1 Jeffrey Stedfast 2012-04-12 18:16:40 UTC
fixed in git master