1
Vote

Null pointer exception in Thinktecture.IdentityServer.Repositories.ProviderUserRepository

description

There could be null pointer exception in Line 81 (I encountered when using different profile provider and use with db table of null value columns)
Thought there is a check at next line
if (!String.IsNullOrWhiteSpace(value))
 
Following could through when calling ToString() of a null object
string value = profile.GetPropertyValue(prop.Name).ToString();

comments