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.

[BUG] XrmApp.Grid.GetGridItems() giving "Index was out of range" exception

See original GitHub issue

Bug Report

Issues should only be created for items related to covered functionality.

Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.

EasyRepro Version

  • Microsoft Dynamics 365 Online Version 8.2 (8.2.x) (DB 8.2.x) online
  • Microsoft Dynamics 365 Online Version 9.0 (9.0.x) (DB 9.0.x) online
  • Microsoft Dynamics 365 Online Version 9.0.2 (9.0.2) (DB 9.0.2) online
  • Microsoft Dynamics 365 Online Version 9.1 (9.1.x) (DB 9.1.x) online

UCI or Classic Web

  • UCI (XrmApp)
  • Classic Web (XrmBrowser)

Online or On Premise

  • Online
  • On Premise

Browser

  • Chrome
  • Firefox
  • IE
  • Edge

Describe the bug
XrmApp.Grid.GetGridItems() return index was out of range exception

Code to reproduce
XrmApp.Grid.GetGridItems()

XrmApp.Grid.GetGridItems();

–>

Expected behavior
Should return GridItems

Additional context
this is started after recent wave 2 release.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
tpaluscommented, Feb 26, 2021

I already created PR for this bug #1101

0reactions
ismail4ucommented, Mar 22, 2021

When are you planning to publish a new version of Easyrepo which has this fix ?? the existing milestone for this fix has already gone by the due date ? Please provide a tentative date for new version of easyrepro

Read more comments on GitHub >

github_iconTop Results From Across the Web

Index is out of range even though debugger says it is not?
The ItemsSource of my grid is bound to an ObservableCollection. ... newLessonPlan); It is saying that the index 0 is out of bounds....
Read more >
c# - Index was out of range error in Gridview
I add all row CheckBox in my Gridview helping with this article . Here is my Calculate Button code; protected void Calculate_Click ...
Read more >
GridControl's Index was out of range exception
Hi, I am creating an application using ExtraGrid and for some reason and only on some machines, I am getting an error -...
Read more >
Data grid view index error. index was out of range. must be ...
This is happening when u r trying to access the grid view data which contains no records. Wherever you are using the grid,...
Read more >
Solved: Grid Index Out of Range
We are getting a Grid Index out of Range error when scrolling through the records (every record) in a TwwDBGrid component.
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