question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception appears when Narrator is active and user tries to add row after removing of another row.

See original GitHub issue
  • .NET Core Version: 5.0.100-rc.2.20479.15

  • Have you experienced this same bug with .NET Framework?: No

Minimal repro:

  1. Create the application with a DataGridView
  2. Add a several rows to the DataGridView.
  3. Or just use the attached project (4228.zip)
  4. Run the application.
  5. Start editing the last row (row to add a new row)
  6. Delete the last row with data
  7. Start editing the last row (row to add a new row)

Issue-4228

Actual behavior: The error is displayed.

System.Windows.Forms.dll!System.Windows.Forms.AccessibleObject.Interop.UiaCore.IRawElementProviderFragment.FragmentRoot.get() Line 657	C#
[External Code]	
System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(System.UIntPtr dwComponentID, Interop.Mso.msoloop uReason, void* pvLoopData) Line 345	C#
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Interop.Mso.msoloop reason, System.Windows.Forms.ApplicationContext context) Line 1111	C#
System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Interop.Mso.msoloop reason, System.Windows.Forms.ApplicationContext context) Line 975	C#
System.Windows.Forms.dll!System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm) Line 1198	C#
WindowsFormsApp25.dll!WindowsFormsApp25.Program.Main() Line 20	C#

Expected behavior: The error should not be displayed.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Zheng-Li01commented, Mar 22, 2021

Verified the issue with latest 6.0.100-preview.3.21169.6, the issue has been fixed that no exception pops up as below gif. 4228GIF

0reactions
merriemcgawcommented, Jan 28, 2021

I’ll put this on the backlog so we can check it out later.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: Error creating row: "URL was not parsed due to an
Solved: I am intending to add a row to my custom entity. This simple test is failing with "URL was not parsed due...
Read more >
Exception Reporting in Power BI: Catch the Error Rows ...
Errors can happen by many reasons, In this post, I'll show you a way to catch potential errors in Power Query and how...
Read more >
3 common foreign key mistakes (and how to avoid them)
Foreign key constraints are important to any SQL database, but they can also cause problems if they're not implemented correctly.
Read more >
What is a stack trace, and how can I use it to debug my ...
In simple terms, a stack trace is a list of the method calls that the application was in the middle of when an...
Read more >
Cannot delete or update a parent row: a foreign key ...
The simple way would be to disable the foreign key check; make the changes then re-enable foreign key check.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found