MicrosoftEdge / MicrosoftEdge/WebView2Samples
WinForm Sample - unable to run due to error ('Object reference not set to an instance of an object.')
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 521
- Avg merge
- 13m
- Merged PRs (30d)
- 1
Description
in the winform sample system.nullreferenceexception came on
line
this.Controls.Add(this.webView2Control);
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 with the WinForm sample and inspect the setup around the reported line, this.Controls.Add(this.webView2Control);. Reproduce the NullReferenceException and trace which object is null; done means the sample runs without that exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100