-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG]: System.NullReferenceException in Repository.GetAllLanguages() #2947
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
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. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
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: