Bug Found: Null Exception

Feb 5, 2014 at 8:55 PM
I found a null exception:

Here:
    private string GetSecondaryID(AdType adType)
    {
        return CurrentCulture.AdProbabilities
                .Where(x => x.AdType == adType)
                .First().SecondaryID;
    }
you have to put a try catch

if the SecondaryID is null ... crash!
Feb 5, 2014 at 9:27 PM
Same here:
    private string GetAppID(AdType adType)
    {
        return CurrentCulture.AdProbabilities
                .Where(x => x.AdType == adType)
                .First().AppID;
    }