Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: NullReferenceException when searching

$
0
0
Hi Linvi,
I needing to search twitter (search/tweets EP) and it's working beautifully, apart from very occasionally receiving this exception:
2015-04-29 14:55:04 - TwitterRestPoller.Program: Error: Exception whilst fetching Search. Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Tweetinvi.Controllers.Search.SearchQueryExecutor.UpdateMatchingTweets(IEnumerable`1 searchResultsDTOs, ITweetSearchParameters tweetSearchParameters)
   at Tweetinvi.Controllers.Search.SearchQueryExecutor.SearchTweetsWithMetadata(ITweetSearchParameters tweetSearchParameters)
   at Tweetinvi.Controllers.Search.SearchQueryExecutor.SearchTweets(ITweetSearchParameters tweetSearchParameters)
   at Tweetinvi.Controllers.Search.SearchController.SearchTweets(ITweetSearchParameters tweetSearchParameters)
   at Tweetinvi.Search.SearchTweets(ITweetSearchParameters tweetSearchParameters)
   at TwitterRestPoller.ProcessTwitterSearch.fetchNextSearch(TwitterAccount user) in c:\Users\Josh Keegan\Documents\Visual Studio 2013\Projects\CommsManager\TwitterRestPoller\ProcessTwitterSearch.cs:line 227
   at TwitterRestPoller.ProcessTwitterSearch.pollTwitterSearch(TwitterAccount user) in c:\Users\Josh Keegan\Documents\Visual Studio 2013\Projects\CommsManager\TwitterRestPoller\ProcessTwitterSearch.cs:line 173
It's not currently causing me any problems, but thought you'd be interested.
Cheers,
Josh

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>