Getting trend_location in example, throws NullReferenceException in AccountRequestProcessor

Mar 26, 2012 at 7:24 AM

Hi, Im new here, I found an unhandled exception... trying out the LinqToTwitterDemo proyect using last sourcecode from here.

Getting trend_location in example, throws NullReferenceException in AccountRequestProcessor, line 148:

var trendLocation = settings.GetValue("trend_location")[0];
from

internal Account HandleSettingsResponse(string responseJson)

settings var dump:

{"protected":false,"geo_enabled":false,"language":"es","screen_name":"MyUserName","sleep_time":{"start_time":null,"end_time":null,"enabled":false},"show_all_inline_media":false,"time_zone":{"name":"Buenos Aires","tzinfo_name":"America\/Argentina\/Buenos_Aires","utc_offset":-10800},"discoverable_by_email":true,"always_use_https":true}

I think is related to my user account without any twitts and without any followers, doesn't ?

Thats all.

Coordinator
Mar 26, 2012 at 5:09 PM

Hi,

I saw that too.  It's fixed in the latest source code check-in.

Thanks,

Joe