Forum Discussion

BobTap's avatar
BobTap
Contributing User
2 years ago

MYOB crashes

Issue: I’m getting an error message

Issue Description: When using Transaction Journal date 30/6/2022-30/6/2022 & going to General Tab MYOB crashes with error message graphic displayed saying "Something's gone wrong and AccountRight needs to close"
Other Tabs are OK in that range when used
Have narrowed down that it looks like Adjusting Journals done on 30/6/2022 causing issue
Error text is set out below

 

Application Version: 2023.3.1.12
Application File Version: 2023.3.1.12
Incident Id: af9b4d83-b7fc-4e8b-98e4-c1693ceb10d1
Time: Saturday, 6 May 2023 10:58:23 AM
Code:
System.ArgumentOutOfRangeException
Message:
Length cannot be less than zero.
Parameter name: length
Stack Trace
----------------------------------------
1 : System.ArgumentOutOfRangeException
----------------------------------------
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at mscorlib!0x060004df!System.String.Substring(Int32 startIndex, Int32 length) +0x6f
at Huxley.UI.Forms!0x06000918!MYOB.Huxley.UI.Forms.CashTransactions.TransactionJournalList.extGridView1_CustomDrawGroupRow(Object sender, RowObjectCustomDrawEventArgs e) +0xee
at DevExpress.XtraGrid.v17.1!0x06000bca!DevExpress.XtraGrid.Views.Grid.GridView.RaiseCustomDrawGroupRow(RowObjectCustomDrawEventArgs e) +0x19
at DevExpress.XtraGrid.v17.1!0x06000256!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawGroupRow(GridViewDrawArgs e, GridGroupRowInfo ri) +0x76
at DevExpress.XtraGrid.v17.1!0x06000268!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawRowCore(GridViewDrawArgs e, GridRowInfo ri) +0x18
at DevExpress.XtraGrid.v17.1!0x06000267!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawRow(GridViewDrawArgs e, GridRowInfo ri) +0xc0
at DevExpress.XtraGrid.v17.1!0x0600027c!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawRows(GridViewDrawArgs e) +0x5c
at DevExpress.XtraGrid.v17.1!0x0600023d!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawContentsCore(GridViewDrawArgs e) +0xbf
at DevExpress.XtraGrid.v17.1!0x0600023c!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawContents(GridViewDrawArgs e) +0x0
at DevExpress.XtraGrid.v17.1!0x06000235!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.DrawCore(GridViewDrawArgs e) +0x89
at DevExpress.XtraGrid.v17.1!0x06000234!DevExpress.XtraGrid.Views.Grid.Drawing.GridPainter.Draw(ViewDrawArgs ee) +0x22
at DevExpress.XtraGrid.v17.1!0x060003d0!DevExpress.XtraGrid.Views.Base.BaseView.Draw(GraphicsCache e) +0x2e
at DevExpress.XtraGrid.v17.1!0x06000a6f!DevExpress.XtraGrid.Views.Grid.GridView.Draw(GraphicsCache e) +0x0
at DevExpress.XtraGrid.v17.1!0x06002154!DevExpress.XtraGrid.GridControl.OnPaint(PaintEventArgs e) +0xa2
at DevExpress.Utils.v17.1!0x060046cd!DevExpress.Utils.Drawing.ControlPaintHelper.PaintWithErrorHandling(PaintEventArgs paintEventArgs, Int32 layer) +0x1c
at DevExpress.Utils.v17.1!0x060

Thank you,

The MYOB Team
 

1 Reply

Replies have been turned off for this discussion
  • Earl_HD's avatar
    Earl_HD
    MYOB Moderator

    Hi BobTap 

    Thank you so much for your post. To fix this issue you'll need to Delete and reenter the build transactions, ensuring that all fields have been filled in.

    We also recommend to  clear your AccountRight cache, once cleared can you please attempt to view the Journal Report. 

    Feel free to post again we're happy to assist. 
    Regards,
    Earl