Pinning widget after deploy rise NullReferenceException
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start in Samples/Widgets/cs-console-packaged/CsConsoleWidgetProvider/WidgetProvider.cs, especially the referenced lines 28 and 151. Reproduce by pinning the widget after the first deploy, inspect the null exception and the subsequent “Activate called for unknown” error, and verify the behavior without requiring two widget.exe process terminations.
Written by the indexing model from the issue text.
Description
After first deploy, try to pin the widget. The console app will open and rise null exception in this line:
https://github.com/microsoft/WindowsAppSDK-Samples/blob/3de5dd96cacf89cc29b3f4f5d982ec8cc58711ff/Samples/Widgets/cs-console-packaged/CsConsoleWidgetProvider/WidgetProvider.cs#L28
then will be called Activate method and trow error Activate called for unknown:
https://github.com/microsoft/WindowsAppSDK-Samples/blob/3de5dd96cacf89cc29b3f4f5d982ec8cc58711ff/Samples/Widgets/cs-console-packaged/CsConsoleWidgetProvider/WidgetProvider.cs#L151
After killing widget.exe process two times (Exactly twice, once is not enough) the error always goes away.
- Dominant language
- PowerShell
- Stars
- 1k
- Forks
- 336
- Avg merge
- 7h 13m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from microsoft/WindowsAppSDK-Samples
-
"Samples\Content\cpp-win32\Squares\Squares.vcxproj" doesn't configure precompiled headers correctlyOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
[WinML] Dependency resolution issues w/ Python sampleMay be free again @adrastogi claimed this 234 days ago, and no pull request is open. Open
microsoft/WindowsAppSDK-Samples#595 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
microsoft/WindowsAppSDK-Samples#580 · 1 comment ·
All issues in microsoft/WindowsAppSDK-Samples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Bug: Hidden loading rings keep the compositor running, so Files uses 7-94% of a CPU core while idleOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
files-community/Files#19026 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
AvengeMedia/DankMaterialShell#3761 ·
Maintainers usually reply within 1 day
-
help wanted
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
area: backend type: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
armadavalor/WinKnife#6 ·