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

Announcements

No record found.

News and Announcements icon
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

  • THE Italian Profile Picture
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 633 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 419 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 236 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans