openrails / openrails-code-bot

A command-line tool for automatically updating Open Rail's various code systems.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System.NullReferenceException at Open_Rails_Code_Bot.GitHub.Query.GetTeamMembers

twpol opened this issue · comments

Unhandled exception. System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Open_Rails_Code_Bot.GitHub.Query.GetTeamMembers(String organization, String team) in C:\Jenkins\jobs\Open Rails Code Bot (Unstable)\workspace\GitHub\Query.cs:line 54
   at Open_Rails_Code_Bot.Program.AsyncMain(IConfigurationRoot config) in C:\Jenkins\jobs\Open Rails Code Bot (Unstable)\workspace\Program.cs:line 53
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Open_Rails_Code_Bot.Program.Main(String[] args) in C:\Jenkins\jobs\Open Rails Code Bot (Unstable)\workspace\Program.cs:line 31

This is not an issue with the code, but rather GitHub has flagged the @openrails-bot account for unknown reasons. I have opened a support ticket.

GitHub support has apologised and unflagged the @openrails-bot account, so the Unstable Version is updating properly again.