Possible Bug

Dec 21, 2010 at 1:10 AM

This is an odd one. I haven't been able to reproduce it on command, but it comes up every now and then.

Balder Stack below:

The error is coming from the constructor I have on an object that inherits from Geometry, before my constructor is called.
The error is a null refferance exception on line 499 of Node.cs.
A call is made into TransformChanged and a node is passed in.  In this case the node is null.

If I'm able to determine more, I'll post it.


  Balder!Balder.Node.TransformChanged(object node, Balder.Math.Coordinate oldCoordinate, Balder.Math.Coordinate newCoordinate) Line 499 + 0x30 bytes C#
  Balder!Balder.Execution.ObjectProperty<Balder.Math.Coordinate>.HandleNotification(object obj, System.ComponentModel.PropertyChangedEventArgs e) Line 74 + 0x3a bytes C#
  [External Code] 
  Balder!Balder.Extensions.Silverlight.NotificationExtensions.Notify(System.ComponentModel.PropertyChangedEventHandler eventHandler, System.Linq.Expressions.Expression<System.Func<object>> expression) Line 49 + 0xa1 bytes C#
  Balder!Balder.Math.Coordinate.X.set(double value) Line 82 + 0xed bytes C#
  Balder!Balder.Math.Coordinate.CopyTo(object destination) Line 281 + 0x29 bytes C#
  Balder!Balder.Execution.Property<Balder.Node,Balder.Math.Coordinate>.HandleSetValue(Balder.Node obj, Balder.Execution.ObjectProperty<Balder.Math.Coordinate> objectProperty, Balder.Math.Coordinate value) Line 190 + 0x2d bytes C#
  Balder!Balder.Execution.Property<Balder.Node,Balder.Math.Coordinate>.SetValue(Balder.Node obj, Balder.Math.Coordinate value) Line 101 + 0x11 bytes C#
  Balder!Balder.Node.Position.set(Balder.Math.Coordinate value) Line 356 + 0x15 bytes C#
  Balder!Balder.Node.InitializeTransform() Line 267 + 0x21 bytes C#
  Balder!Balder.Node.Node() Line 113 + 0x8 bytes C#
  Balder!Balder.HierarchicalNode.HierarchicalNode() Line 39 + 0x8 bytes C#
  Balder!Balder.RenderableNode.RenderableNode() Line 33 + 0xb bytes C#
  Balder!Balder.Objects.Geometries.Geometry.Geometry(Balder.Objects.Geometries.IGeometryContext geometryContext) Line 63 + 0x8 bytes C#
  Balder!Balder.Objects.Geometries.Geometry.Geometry() Line 57 + 0x4d bytes C#

Dec 21, 2010 at 8:00 PM

Hmm.. This was an odd one.  

I'm not sure what could be causing this. Please post details if you get a repro.

Do you see any patterns for when its occuring?