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

Groom job fails when using LiteDB #3021

Closed
adamdriscoll opened this issue Jan 5, 2024 · 1 comment
Closed

Groom job fails when using LiteDB #3021

adamdriscoll opened this issue Jan 5, 2024 · 1 comment
Labels
bug Something isn't working P3 - medium Medium impact issue. PowerShell Universal Issue relates to PowerShell Universal. Size - S This issue is a small amount of work.

Comments

@adamdriscoll
Copy link
Member

Version

4.2.8

Severity

Low

Steps to Reproduce

2024-01-03 12:26:02.664 -05:00 [INF] Starting heartbeat job.
2024-01-03 12:26:02.668 -05:00 [INF] Script has 1 jobs to delete.
2024-01-03 12:26:02.730 -05:00 [INF] Finished heartbeat job.
2024-01-03 12:26:02.734 -05:00 [ERR] Failed to groom.
System.NullReferenceException: Object reference not set to an instance of an object.
   at lambda_method3033(Closure, Job)
   at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
   at UniversalAutomation.LiteDBTable`1.DeleteRange(Func`2 query) in C:\actions-runner\_work\universal\universal\src\UniversalAutomation.LiteDBv5\LiteDBDatabase.cs:line 909
   at UniversalAutomation.GroomService.ScriptLevelGroom() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\GroomService.cs:line 185
   at UniversalAutomation.GroomService.Groom() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\GroomService.cs:line 297
2024-01-03 12:26:02.735 -05:00 [INF] Finished groom job.

Expected behavior

Runs successfully

Actual behavior

Fails

Additional Environment data

No response

Visuals

No response

@adamdriscoll adamdriscoll added bug Something isn't working PowerShell Universal Issue relates to PowerShell Universal. P3 - medium Medium impact issue. Size - S This issue is a small amount of work. labels Jan 5, 2024
@adamdriscoll
Copy link
Member Author

This issue has been mentioned on Ironman Software Forums. There might be relevant details there:

https://forums.ironmansoftware.com/t/groom-job-fails-after-upgrade-to-4-2-7/10181/6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3 - medium Medium impact issue. PowerShell Universal Issue relates to PowerShell Universal. Size - S This issue is a small amount of work.
Projects
None yet
Development

No branches or pull requests

1 participant