Skip to content
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

JSON error in logs when accessing stats page for a package with no downloads. #1720

Closed
claycompton opened this issue Nov 9, 2013 · 0 comments · Fixed by #1768
Closed

JSON error in logs when accessing stats page for a package with no downloads. #1720

claycompton opened this issue Nov 9, 2013 · 0 comments · Fixed by #1768
Assignees
Milestone

Comments

@claycompton
Copy link

To repro:

  1. Upload a brand-new package.
  2. Immediate switch to that package's stats page.
  3. Check the Error Logs

Result: There's a NullReferenceException logged each time the stats page is requested for a package with zero downloads. An example full stack trace can be found at https://qa.nugettest.org/Admin/Errors.axd/detail?id=6275.
Expected: The user never actually sees an "Oh, no" page, and the case seems common enough that we shouldn't actually need to log this error. Although it's a corner case, perhaps we should suppress this error to remove spurious messages from our error logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants