"Select all mechanically connected" results in crash "Nullable object must have a value"
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 156
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description

Event log:
https://pastebin.com/yEULRZHB
Specifically this bit of C#:
System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Nullable`1.get_Value()
at SEToolbox.Models.ExplorerModel.BuildGridEntityNodes() in D:\Development\GitHub\SEToolbox\Main\SEToolbox\SEToolbox\Models\ExplorerModel.cs:line 1296
at SEToolbox.ViewModels.ExplorerViewModel.SelectJoinedGridsExecuted(GridConnectionType minimumConnectionType) in D:\Development\GitHub\SEToolbox\Main\SEToolbox\SEToolbox\ViewModels\ExplorerViewModel.cs:line 996
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in SE Toolbox.Models.ExplorerModel.BuildGridEntityNodes() at line 1296, then inspect the call from ExplorerViewModel.SelectJoinedGridsExecuted() at line 996. Reproduce the crash by using “Select all mechanically connected” and trace which nullable value lacks a value; done means the selection completes without the reported exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100