Select to view content in your preferred language

FeatureDataGrid Exception in 3.0 Final when adding attributes to a feature

590
2
Jump to solution
06-30-2012 07:15 AM
NicoleSchmidt
Emerging Contributor
I am having an issue with the FeatureDataGrid in 3.0 final. I cannot be 100% but I do not think this existed in 3.0 RC.  Since the Toolkit source code is not available I cannot troubleshoot this on my own.

This is the exception:
{System.NullReferenceException: Object reference not set to an instance of an object.
   at ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.Graphic_AttributeValueChanged(Object sender, DictionaryChangedEventArgs e)}

I have attached a project that replicates the error.

Is anyone else having this issue?  Is there a way around it?
0 Kudos
1 Solution

Accepted Solutions
JenniferNery
Esri Regular Contributor
Thank you for reporting this bug. I was able to reproduce with your sample. We'll try to fix this in future versions.

For FeatureDataGrid source code from: http://esrisilverlight.codeplex.com/ and add a null check for featureLayer in Graphic_AttributeValueChanged() line# 467.

View solution in original post

0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
Thank you for reporting this bug. I was able to reproduce with your sample. We'll try to fix this in future versions.

For FeatureDataGrid source code from: http://esrisilverlight.codeplex.com/ and add a null check for featureLayer in Graphic_AttributeValueChanged() line# 467.
0 Kudos
NicoleSchmidt
Emerging Contributor
I totally missed that source code tab on the codeplex site...I had been looking under the downloads, I will get it from there.  Thank you!
0 Kudos