shapeBinding.ShapeDescriptor.BindingSources throws NullReferenceException

Topics: Writing modules
Nov 11, 2011 at 1:37 PM


In line 72 of the "\DisplayManagement\Implementation\DefaultDisplayManager.cs", a nullreferenceexception is thrown with a message "object reference is not set to an instance of an object" whenever the following statement executes.  

shapeMetadata.BindingSources = shapeBinding.ShapeDescriptor.BindingSources;

Please advise.




Nov 11, 2011 at 7:03 PM

Please file a bug in the issue tracker with repro steps. Thanks.

Feb 6, 2012 at 12:13 PM

I've got the same exception when I copied-pasted Display method into Driver class, changed ShapeName but forgot to change method name for shapHelper:

return ContentShape("Parts_Item", () => shapeHelper.Parts_Product(ContentPart: part));

Just need to be accurate.