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

Null reference exception on PopulateUnitList #22

Open
timbellomo opened this issue Jan 27, 2023 · 0 comments
Open

Null reference exception on PopulateUnitList #22

timbellomo opened this issue Jan 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@timbellomo
Copy link
Collaborator

Encountered the following while testing:

System.NullReferenceException: Object reference not set to an instance of an object.   
at Dievas.CAD.PopulateUnitList(IEnumerable`1 initialUnits) in D:\WebApplications\Dashboard\Dievas\CAD.cs:line 186   
at Dievas.Hubs.DashboardHub.AllUnits(IEnumerable`1 units) in D:\WebApplications\Dashboard\Dievas\Hubs\DashboardHub.cs:line 96   
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.ExecuteMethod(ObjectMethodExecutor methodExecutor, Hub hub, Object[] arguments)   
at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.<>c__DisplayClass16_0.<<Invoke>g__ExecuteInvocation|0>d.MoveNext()

Was thought to be related to changes in branch 21-replace-index-of-with-findindex-for-adding-assignedunit-dto, but after being unable to reproduce locally, we ran a re-deploy, and the issue resolved.

Logging here in case the issue crops up again.

@timbellomo timbellomo added the bug Something isn't working label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant