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

CheckForOctopusUpgrade.IsLinux fails with NullReferenceException #5847

Closed
NickJosevski opened this issue Sep 11, 2019 · 2 comments
Closed

CheckForOctopusUpgrade.IsLinux fails with NullReferenceException #5847

NickJosevski opened this issue Sep 11, 2019 · 2 comments
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving
Milestone

Comments

@NickJosevski
Copy link

The bug

Server reports errors in Diagnostics, CheckForOctopusUpgrade.IsLinux fails with NullReferenceException

Screen capture

image

Log exerpt

Failed checking for updates System.NullReferenceException: Object reference not set to an instance of an object.
   at Octopus.Server.Schedules.CheckForOctopusUpgrades.IsLinux(Machine machine) in C:\buildAgent\work\abb2fbfce959a439\source\Octopus.Server\Schedules\CheckForOctopusUpgrades.cs:line 294
   at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
   at Octopus.Server.Schedules.CheckForOctopusUpgrades.AddSpaceMetrics(IOctopusQueryExecutor allPartitionsAsUserWithAllPermissions, Dictionary`2 jsonBuilder, String spaceId) in C:\buildAgent\work\abb2fbfce959a439\source\Octopus.Server\Schedules\CheckForOctopusUpgrades.cs:line 308
   at Octopus.Server.Schedules.CheckForOctopusUpgrades.BuildRequestPayload() in C:\buildAgent\work\abb2fbfce959a439\source\Octopus.Server\Schedules\CheckForOctopusUpgrades.cs:line 272
   at Octopus.Server.Schedules.CheckForOctopusUpgrades.CheckForUpdates() in C:\buildAgent\work\abb2fbfce959a439\source\Octopus.Server\Schedules\CheckForOctopusUpgrades.cs:line 207

Affected versions

Octopus Server: 2019.8.3, 2019.8.4

Workarounds

Wait for 2019.8.5

Links

None

@NickJosevski NickJosevski added the kind/bug This issue represents a verified problem we are committed to solving label Sep 11, 2019
@NickJosevski NickJosevski self-assigned this Sep 11, 2019
@NickJosevski NickJosevski added this to the 2019.8.5 milestone Sep 11, 2019
@NickJosevski NickJosevski modified the milestones: 2019.8.5, 2019.8.4 Sep 12, 2019
@NickJosevski
Copy link
Author

Release note: fix for NullReferenceException in CheckForOctopusUpgrade reported in server dignostic errors

@lock
Copy link

lock bot commented Dec 11, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

1 participant