[GH-ISSUE #5232] [Bug]: Experiencing persistent UI error when trying to display an account (TypeError: Cannot read properties of undefined (reading 'length') at x) #16465

Closed
opened 2026-04-14 19:32:53 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @ghweeks999 on GitHub (Jun 25, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/5232

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

After deleting the split in a split transaction the account can no longer be displayed. the following error occurs:

Fatal Error
There was an unrecoverable error in the UI. Sorry!
If this error persists, please get in touch so it can be investigated.
Restart app
Show Error
TypeError: Cannot read properties of undefined (reading 'length') at x (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:269:43958) at L (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:89:206181) at WTe.render (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:89:190993) at Uk (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:6186) at VP (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:5982) at X8 (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:44939) at Y8 (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:39801) at vee (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:39728) at zx (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:39578) at Zk (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:35941)

I have tried resetting the budget cache and repairing transactions both without changing the outcome.

How can we reproduce the issue?

The last action taken was to remove the split from a split transaction - but I cannot be certain if this is the root cause of the issue - as I have done this type of operation before, both on this account and other accounts without experiencing this issue.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Microsoft Edge

Operating System

Windows 11

Originally created by @ghweeks999 on GitHub (Jun 25, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/5232 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? After deleting the split in a split transaction the account can no longer be displayed. the following error occurs: Fatal Error There was an unrecoverable error in the UI. Sorry! If this error persists, please get [in touch](https://actualbudget.org/contact) so it can be investigated. Restart app Show Error TypeError: Cannot read properties of undefined (reading 'length') at x (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:269:43958) at L (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:89:206181) at WTe.render (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:89:190993) at Uk (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:6186) at VP (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:5982) at X8 (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:44939) at Y8 (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:39801) at vee (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:39728) at zx (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:39578) at Zk (https://iodine.homenet.io:5006/static/js/index.4_kdGSf3.js:49:35941) I have tried resetting the budget cache and repairing transactions both without changing the outcome. ### How can we reproduce the issue? The last action taken was to remove the split from a split transaction - but I cannot be certain if this is the root cause of the issue - as I have done this type of operation before, both on this account and other accounts without experiencing this issue. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Microsoft Edge ### Operating System Windows 11
GiteaMirror added the needs infobug labels 2026-04-14 19:32:53 -05:00
Author
Owner

@MatissJanis commented on GitHub (Jun 25, 2025):

👋 Hi

Would you mind giving us step-by-step instructions how to reproduce this issue in https://edge.actualbudget.org ?

Without a way to reproduce the issue - there is not much we can do to help here.

Thanks

<!-- gh-comment-id:3006010996 --> @MatissJanis commented on GitHub (Jun 25, 2025): 👋 Hi Would you mind giving us step-by-step instructions how to reproduce this issue in https://edge.actualbudget.org ? Without a way to reproduce the issue - there is not much we can do to help here. Thanks
Author
Owner

@ghweeks999 commented on GitHub (Jun 25, 2025):

I am able to reproduce with the folllowing steps:

  1. Create a new account
  2. Add a transaction, as a normal transaction

Image

  1. Change category to split, but do not select Cancel or Distribute
  2. Select transaction

Image

  1. Select "1 transaction > Delete" and confirm deletion
  2. Select another account
  3. Return to the account created in step 1, and I receive the error documented above.

I see there being two aspects to this issue:

(1) Identifying and correcting root cause, so that this issue does not arise in the future - this is probably your key target.
(2) Obtaining a procedure that allows the correction of the error state so that the account can be continued to be used - my key target,

(Note there are other approaches to (2) - i.e restore from backup, or delete and re-import account from scratch. However, these require a fair amount of extra work - especially, for instance, a simple tweak to the db is required to resolve the UI error.

Thanmks,
Graham

<!-- gh-comment-id:3006396842 --> @ghweeks999 commented on GitHub (Jun 25, 2025): I am able to reproduce with the folllowing steps: 1. Create a new account 2. Add a transaction, as a normal transaction ![Image](https://github.com/user-attachments/assets/eb7f7c05-8fb2-46be-bf16-b651a79f1631) 3. Change category to split, but do not select Cancel or Distribute 5. Select transaction ![Image](https://github.com/user-attachments/assets/f3d4ecf8-7456-44a1-ae47-52657839615a) 6. Select "1 transaction > Delete" and confirm deletion 7. Select another account 8. Return to the account created in step 1, and I receive the error documented above. I see there being two aspects to this issue: (1) Identifying and correcting root cause, so that this issue does not arise in the future - this is probably your key target. (2) Obtaining a procedure that allows the correction of the error state so that the account can be continued to be used - my key target, (Note there are other approaches to (2) - i.e restore from backup, or delete and re-import account from scratch. However, these require a fair amount of extra work - especially, for instance, a simple tweak to the db is required to resolve the UI error. Thanmks, Graham
Author
Owner

@MatissJanis commented on GitHub (Jun 27, 2025):

👋 What am I doing wrong? I'm unable to reproduce with the above steps on edge

https://github.com/user-attachments/assets/6bc873bb-25a6-4cc3-a962-e2113638a59b

<!-- gh-comment-id:3014191064 --> @MatissJanis commented on GitHub (Jun 27, 2025): 👋 What am I doing wrong? I'm unable to reproduce with the above steps on edge https://github.com/user-attachments/assets/6bc873bb-25a6-4cc3-a962-e2113638a59b
Author
Owner

@r1ch commented on GitHub (Jul 4, 2025):

@ghweeks999 is any of this : https://github.com/actualbudget/actual/issues/4344 familiar

<!-- gh-comment-id:3036513355 --> @r1ch commented on GitHub (Jul 4, 2025): @ghweeks999 is any of this : https://github.com/actualbudget/actual/issues/4344 familiar
Author
Owner

@ghweeks999 commented on GitHub (Jul 13, 2025):

Hi - Thanks. This has resolved my issue.

<!-- gh-comment-id:3067380437 --> @ghweeks999 commented on GitHub (Jul 13, 2025): Hi - Thanks. This has resolved my issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#16465