This project has moved and is read-only. For the latest updates, please go here.

NullReferenceException and fix


When loading this part, I got a nullreferenceexception. Loading the source and debugging, I found that (somehow) one of my features had a NULL definition. I changed line 88 to check for the null.
foreach (SPFeature feature in web.Features) if (feature.Definition != null) this._features.Add(feature);
Problem worked around.


ejgarcian wrote Feb 10, 2012 at 1:33 AM

Works fine, thanks !

SalmanZulfiqar wrote Jun 29, 2012 at 6:37 PM

I am facing the same issue. Did you fix and update the release?

wrote Feb 14, 2013 at 2:04 AM