[MonoDevelop] NullReferenceException in Mono code when Debugging

Guido Van Hoecke guivho at gmail.com
Mon Feb 18 21:01:21 UTC 2013


Hi,

I get repeating System.NullReferenceExceptions while debugging, and only
when debugging (It's just a nuisance, but I thought it worthwhile mentioning):

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) [0x0015f] in
  /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.1-series/5d928ec4/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:801

  at
  Mono.Debugging.Evaluation.EvaluatorVisitor.VisitBinaryOperatorExpression
  (ICSharpCode.OldNRefactory.Ast.BinaryOperatorExpression
  binaryOperatorExpression, System.Object data) [0x00013] in
  /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.1-series/5d928ec4/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:658

  at
  ICSharpCode.OldNRefactory.Ast.BinaryOperatorExpression.AcceptVisitor
  (IAstVisitor visitor, System.Object data) [0x00000] in
  /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.1-series/5d928ec4/source/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
  /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.1-series/5d928ec4/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:657

  at
  ICSharpCode.OldNRefactory.Ast.BinaryOperatorExpression.AcceptVisitor
  (IAstVisitor visitor, System.Object data) [0x00000] in
  /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.1-series/5d928ec4/source/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
  /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.1-series/5d928ec4/source/monodevelop/main/src/core/Mono.Debugging/Mono.Debugging.Evaluation/NRefactoryEvaluator.cs:90


Guido

--
Invest in physics -- own a piece of Dirac!

http://vanhoecke.org ... and go2 places!


More information about the Monodevelop-list mailing list