NullReferenceException

Mar 13, 2014 at 9:19 PM
Hi,

User.GetLoggedUser() intermittently throws NullException. Anyone knows what cause this?

I setup my credentials same as told in the documentation.

Thanks
Coordinator
Mar 13, 2014 at 10:03 PM
Hi,

Are you sure that User.GetLoggedUser throws a null exception or are you using the object from GetLoggedUser and this object is null?

Linvi
Mar 29, 2014 at 1:33 PM
tried also with GetUserFromScreenName() same problem. Tweeninvi.User is not NULL on this calls

System.NullReferenceException was caught
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=Tweetinvi.API
StackTrace:
   at Tweetinvi.User.GetUserFromScreenName(String userName)
   at twitter.GetUserTweets() in c:\Users\www\xt\handlers\twitter2.ashx:line 57
   at twitter.ProcessRequest(HttpContext context) in c:\Users\www\xt\\handlers\twitter2.ashx:line 29
InnerException:
Coordinator
Mar 29, 2014 at 1:59 PM
Hi Elroyc,

I am sorry to hear that you are still experiencing some issues but I clearly do not have any information to help you.
I would need your code, and the value of the username in order to reproduce the issue.

Regards,
Linvi