Pheonix2105 wrote:
Being able to see more code would help us to see where the problem might be occurring.Yes, this web app. I have in database twitterUserID, and call function with this parameter, so User.GetUserFromId(twitterUserID). First run web app do this good (cold run), after refresh page i got this exception.
Is this a web app? If you refresh the page which I assume has a field to enter a user name, it won't have any value and then it will try to run.var user = User.GetUserFromId(null);