Forum Discussion

CengizSahin's avatar
CengizSahin
Experienced Partner
5 years ago
Solved

.OFX bank file upload System.ArgumentNullException

Hi,

I  am trying to upload a fresh .ofx file downloaded from ANZ into AR 2020.1 client file. Unhandled error thrown.

Errorlog.txt also attached.

Appreciate help on this error.

Thanks

 

Details below:

AccountRight Application Error Report
=====================================
Application Version: 2020.1.23.5508
Application File Version: 2020.1.23.5508
Incident Id: a1d9407a-b9e6-44ad-8282-26b650ecd3d9
Time: Wednesday, 15 April 2020 4:24:05 PM
 
Code: 
System.ArgumentNullException
 
 
Message: 
Value cannot be null.
Parameter name: source
 
 
Stack Trace
----------------------------------------
1 : System.ArgumentNullException
----------------------------------------
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Core!0x06000b8d!System.Linq.Enumerable.Count[TSource](IEnumerable`1 source) +0x3
   at Huxley.UI.Forms!0x060032f5!MYOB.Huxley.UI.Forms.Banking.BankRegister.DisplayTransactionsResult() +0x18
   at Huxley.UI.Forms!0x060032f3!MYOB.Huxley.UI.Forms.Banking.BankRegister.GetStatement() +0xcc
   at Huxley.UI.Forms!0x060032ee!MYOB.Huxley.UI.Forms.Banking.BankRegister.btnGetStatement_Click(Object sender, EventArgs e) +0x0
   at System.Windows.Forms!0x06000d74!System.Windows.Forms.Control.OnClick(EventArgs e) +0x19
   at DevExpress.XtraEditors.v17.1!0x06000d4f!DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e) +0x2e
   at DevExpress.XtraEditors.v17.1!0x06000d48!DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e) +0x1d
   at System.Windows.Forms!0x06000e58!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184
   at System.Windows.Forms!0x06000e68!System.Windows.Forms.Control.WndProc(Message& m) +0x66f
   at DevExpress.Utils.v17.1!0x06002708!DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) +0x2e
   at DevExpress.XtraEditors.v17.1!0x06000256!DevExpress.XtraEditors.BaseControl.WndProc(Message& msg) +0x0
   at System.Windows.Forms!0x06005503!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
   at System.Windows.Forms!0x06005506!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
   at System.Windows.Forms!0x06002cd8!System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) +0x25
==========
MODULE: DevExpress.Utils.v17.1 => DevExpress.Utils.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:b8c34c059b804930811d5f6d50999b6c; A:1
MODULE: DevExpress.XtraEditors.v17.1 => DevExpress.XtraEditors.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:6df94e55f5bd4444b910d4b2a37076a4; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2020.1.23.5508, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:b7845fa915ff4d1382cc77fbc411f0ef; A:1
MODULE: System.Core => System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:2ed5dc822f7944c1a776a3846cfa2e84; A:2
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:199b31db99b1448abbbf936be78a06de; A:1
 
----------------------------------------
  • Hi CengizSahin 

     

    Generally, there are few causes of errors when importing into the Get Statement window. The most common being if you do have a large number of unreconciled transactions in the Reconcile Accounts window it will cause the Get Statement to crash. If that is the case for yourself, reconciling those transactions and/or splitting the reconciliation in a smaller batch with a smaller import file would be the recommendation.


    You also mentioned that you are using an OFX file, some cases we have seen the process working as intended with a QIF file being imported where an OFX file has not. So, if you do have that option, do download and use a QIF file for that import.

1 Reply

Replies have been turned off for this discussion
  • Hi CengizSahin 

     

    Generally, there are few causes of errors when importing into the Get Statement window. The most common being if you do have a large number of unreconciled transactions in the Reconcile Accounts window it will cause the Get Statement to crash. If that is the case for yourself, reconciling those transactions and/or splitting the reconciliation in a smaller batch with a smaller import file would be the recommendation.


    You also mentioned that you are using an OFX file, some cases we have seen the process working as intended with a QIF file being imported where an OFX file has not. So, if you do have that option, do download and use a QIF file for that import.