-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: System.NullReferenceException in Repository.GetAllLanguages() #2947
Comments
Are you actually calling var client = new GitHubClient(new ProductHeaderValue("MyApp"));
var languages = await client.Repository.GetAllLanguages("octokit", "octokit.net");
foreach (var language in languages)
{
Console.WriteLine($"{language.Name}: {language.NumberOfBytes}");
} This prints the following:
|
Hi @kfcampbell ,
|
Can you please reduce the snippet to something similar to what I gave above? As presented, it's not runnable for me. |
I've reduced the snippet. |
What happened?
When calling Repository.GetAllLanguages() on anrouxel/MedicApp. I'm getting a
System.NullReferenceException: Object reference not set to an instance of an object
.Versions
Octokit.Reactive : 13.0.0
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: