web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Client crashes when call item tracing from Lot No. Information

(0) ShareShare
ReportReport
Posted on by 15

Hello,

my client crashes when I run Item Tracing from Lot No. Information. Is there a code fix? I haven't found something..

Following steps to reproduce
- using Business Central 14.9 - 14.0.39277.0
- create a new item in Cronus database with Item tracking code Chargealle
- purchase this item with x lots, create Lot No Information (in my case 5)
- create a transfer order and post it with x lots (in my case 3)
- go to item ledger entries, open the Lot No Information list, select a lot which is transferred and try to open Item Tracing

the Event Viewer says
Type: System.ArgumentOutOfRangeException
Message:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass11_0.<DoRethrowWithCatchException>b__0()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
Source: Microsoft.Dynamics.Nav.Client.WinClient
HResult: -2146233086
StackTrace:
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.<>c__DisplayClass11_0.<DoRethrowWithCatchException>b__0()
at Microsoft.Dynamics.Nav.Client.WinClient.NavClientErrorHandler.ExecuteAndCatchExceptions(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoExecute(Func`1 execute)
at Microsoft.Dynamics.Nav.Client.WinClient.ExceptionHandler.DoRethrowWithCatchException(Exception exception, Boolean designMode)
----------------------------------
Type: System.ArgumentOutOfRangeException
Message:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
ParamName: index
StackTrace:
at System.Collections.ArrayList.get_Item(Int32 index)
at System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
at System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.FirstVisibleCellIndex(Int32 rowIndex, Int32 columnIndex)
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.SelectIndex(Int32 newIndex)
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.DataGrid_PostHandleCreated(Object sender, EventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.OnPostHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Source: mscorlib
HResult: -2146233086
StackTrace:
at System.Collections.ArrayList.get_Item(Int32 index)
at System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
at System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.FirstVisibleCellIndex(Int32 rowIndex, Int32 columnIndex)
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.SelectIndex(Int32 newIndex)
at Microsoft.Dynamics.Framework.UI.WinForms.RepeaterControlAdapter.DataGrid_PostHandleCreated(Object sender, EventArgs e)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.OnPostHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Microsoft.Dynamics.Framework.UI.WinForms.Controls.BusinessGridView.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thank you in advance!
Regards
Bianca

I have the same question (0)
  • THE Italian Profile Picture
    on at

    This should be resolved in a higher build number. It is a platform issue.

    From the callstack this looks like the following TFS entry with CU 12

    "The Windows client crashes after you select all list lines and then change filters.".

    I would then deploy the latest CU 17 since all CUs are cumulative

    www.microsoft.com/.../details.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans