AspNetCore.Identity.DocumentDB icon indicating copy to clipboard operation
AspNetCore.Identity.DocumentDB copied to clipboard

FindByNameAsync System.NullReferenceException: 'Object reference not set to an instance of an object

Open easoftwaresanderson opened this issue 5 years ago • 0 comments

I'm getting this issue , System.NullReferenceException , when I try find user in this code in the version 1.0.0

var userIdentity = _userManager.FindByNameAsync(user.UserID).Result;

Obs.: My object user and userManager aren't null

Please, Does anyone have any idea?

easoftwaresanderson avatar Dec 10 '19 16:12 easoftwaresanderson