NtsProvider gives error if dataTable contains Null Values

Sep 19, 2016 at 9:19 PM
I have tested and found that If we pass a vector datasource into NtsProvider and it has null values in its attribute data it returns error,
How can we manage to fix it?is there any solutions?

here is my code
 public VectorLayer Buffer(IProvider ShapeFileDatasource,double bufferDist)
            try {
                BufferDistance = bufferDist;
                //GlobalVar.bufferNum += 1;
                NtsProvider ntsDataSource = new NtsProvider(ShapeFileDatasource, CreateBuffers);
                SharpMap.Layers.VectorLayer laySelected = new SharpMap.Layers.VectorLayer("Buffer" + bufferDist.ToString());
                laySelected.DataSource = ntsDataSource;
                return laySelected;
            catch(Exception ex)

private void CreateBuffers(List<NetTopologySuite.Features.Feature> features)
            foreach (NetTopologySuite.Features.Feature feature in features)
                feature.Geometry = CreateBufferForFeature(feature, BufferDistance);

 private GeoAPI.Geometries.IGeometry  CreateBufferForFeature(NetTopologySuite.Features.Feature feature,double distance)
           return feature.Geometry.Buffer(distance);
Sep 23, 2016 at 6:22 AM
Edited Sep 23, 2016 at 10:14 AM
This is an issue with the codebase, please report to github.
No longer necessary, has been fixed
Marked as answer by am2 on 9/26/2016 at 3:07 AM
Sep 26, 2016 at 10:10 AM
thanks dear FObermaier,
I have confused, does github is supported or here, because I have asked some questions and also some bugs but I don't know where I must report them and If I fixe them by myself how to share it.