stack72/TeamCitySharp — Issue #16: Issue when using guest account and calling AllUsers
Author: MasterGarrett
Created: 2012-02-20 14:38:12+00:00
State: open

Hi

Ive been building a TC monitor and when I enable the guest account with a blank password I get a NullReference exception the second time I call AllUsers() after connecting.
This do not happen when I supply my own username and password.
I can call AllBuildConfigs + AllProjects several time when using the guest account, just no AllUsers.

[ArgumentNullException: Value cannot be null.
Parameter name: input]
EasyHttp.Codecs.DefaultDecoder.NormalizeInputRemovingAmpersands(String input) +93
EasyHttp.Codecs.DefaultDecoder.DecodeToStatic(String input, String contentType) +53
EasyHttp.Http.HttpResponse.StaticBody(String overrideContentType) +233
TeamCitySharp.Connection.TeamCityCaller.Get(String urlPart) +430
TeamCitySharp.TeamCityClient.AllUsers() +57
TeamCityMonitor.Repository.BuildMonitorRepository.GetAllUsers() in D:\My Projects\teamcity-monitor\TeamCityMonitor\Repository\BuildMonitorRepository.cs:209