[Bug]: When opening specific account - There was an unrecoverable error in the UI. Sorry! #2082

Closed
opened 2026-02-28 20:02:54 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @sabellwind on GitHub (May 1, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue - There are similar issues that have been merged, but don't specifically call out opening an account.

What happened?

I am attempting to open a specific account and get the following error, in both my local version and what's on the edge version:

Local:

TypeError: Cannot read properties of undefined (reading '0') at ih
(https://xxx/static/js/index.EbjK2svi.js:50:37887) at
https://xxx/static/js/index.EbjK2svi.js:269:36006 at VC
(https://xxx/static/js/index.EbjK2svi.js:47:19552) at h$
(https://xxx/static/js/index.EbjK2svi.js:49:3143) at i7
(https://xxx/static/js/index.EbjK2svi.js:49:2355) at N5
(https://xxx/static/js/index.EbjK2svi.js:49:1897) at $7
(https://xxx/static/js/index.EbjK2svi.js:49:47385) at k7
(https://xxx/static/js/index.EbjK2svi.js:49:39809) at qre
(https://xxx/static/js/index.EbjK2svi.js:49:39735) at R1
(https://xxx/static/js/index.EbjK2svi.js:49:39585)

Edge
TypeError: Cannot read properties of undefined (reading '0') at Gh (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:59:37887) at https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:267:36014 at xD (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:34255) at WT (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:62173) at $z (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:61092) at DO (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:60646) at jz (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:75055) at Jz (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:106615) at Eoe (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:105673) at C2 (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:105501)

How can we reproduce the issue?

  1. Open Actual
  2. Select problem account

I would like to provide a sample file but I don't know how to ensure my privacy as it has sensitive information in it, as you could expect.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Windows 10

Originally created by @sabellwind on GitHub (May 1, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue - There are similar issues that have been merged, but don't specifically call out opening an account. ### What happened? I am attempting to open a specific account and get the following error, in both my local version and what's on the edge version: Local: TypeError: Cannot read properties of undefined (reading '0') at ih (https://xxx/static/js/index.EbjK2svi.js:50:37887) at https://xxx/static/js/index.EbjK2svi.js:269:36006 at VC (https://xxx/static/js/index.EbjK2svi.js:47:19552) at h$ (https://xxx/static/js/index.EbjK2svi.js:49:3143) at i7 (https://xxx/static/js/index.EbjK2svi.js:49:2355) at N5 (https://xxx/static/js/index.EbjK2svi.js:49:1897) at $7 (https://xxx/static/js/index.EbjK2svi.js:49:47385) at k7 (https://xxx/static/js/index.EbjK2svi.js:49:39809) at qre (https://xxx/static/js/index.EbjK2svi.js:49:39735) at R1 (https://xxx/static/js/index.EbjK2svi.js:49:39585) Edge TypeError: Cannot read properties of undefined (reading '0') at Gh (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:59:37887) at https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:267:36014 at xD (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:34255) at WT (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:62173) at $z (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:61092) at DO (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:60646) at jz (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:75055) at Jz (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:106615) at Eoe (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:105673) at C2 (https://edge.actualbudget.org/static/js/index.QKWGxwBO.js:57:105501) ### How can we reproduce the issue? 1. Open Actual 2. Select problem account I would like to provide a sample file but I don't know how to ensure my privacy as it has sensitive information in it, as you could expect. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Windows 10
GiteaMirror added the bug label 2026-02-28 20:02:54 -06:00
Author
Owner

@alecbakholdin commented on GitHub (May 1, 2025):

Dug through the minified JS and found this snippet which seems to match the error that we're seeing:

function Gh(e) {
    return e[0].toUpperCase() + e.slice(1)
}

which is this function when unminified:

export function titleFirst(str: string) {
  return str[0].toUpperCase() + str.slice(1);
}

There are a lot of places this method gets called, but the short of it is there is an empty value somewhere in that account. One place I've seen something similar is with schedules. Try setting your schedule look ahead duration to 1 day and see if that helps?

@alecbakholdin commented on GitHub (May 1, 2025): Dug through the minified JS and found this snippet which seems to match the error that we're seeing: ``` function Gh(e) { return e[0].toUpperCase() + e.slice(1) } ``` which is this function when unminified: ``` export function titleFirst(str: string) { return str[0].toUpperCase() + str.slice(1); } ``` There are a lot of places this method gets called, but the short of it is there is an empty value somewhere in that account. One place I've seen something similar is with schedules. Try setting your schedule look ahead duration to 1 day and see if that helps?
Author
Owner

@sabellwind commented on GitHub (May 2, 2025):

Dug through the minified JS and found this snippet which seems to match the error that we're seeing:

function Gh(e) {
    return e[0].toUpperCase() + e.slice(1)
}

which is this function when unminified:

export function titleFirst(str: string) {
  return str[0].toUpperCase() + str.slice(1);
}

There are a lot of places this method gets called, but the short of it is there is an empty value somewhere in that account. One place I've seen something similar is with schedules. Try setting your schedule look ahead duration to 1 day and see if that helps?

Hi @alecbakholdin, thanks so much for addressing this. I also see that a fix is in WIP which is exciting. I wasn't able to get any traction with schedules, so in the meantime, I've made another account that'll house future transactions until this is fixed.

@sabellwind commented on GitHub (May 2, 2025): > Dug through the minified JS and found this snippet which seems to match the error that we're seeing: > > ``` > function Gh(e) { > return e[0].toUpperCase() + e.slice(1) > } > ``` > > which is this function when unminified: > > ``` > export function titleFirst(str: string) { > return str[0].toUpperCase() + str.slice(1); > } > ``` > > There are a lot of places this method gets called, but the short of it is there is an empty value somewhere in that account. One place I've seen something similar is with schedules. Try setting your schedule look ahead duration to 1 day and see if that helps? Hi @alecbakholdin, thanks so much for addressing this. I also see that a fix is in WIP which is exciting. I wasn't able to get any traction with schedules, so in the meantime, I've made another account that'll house future transactions until this is fixed.
Author
Owner

@sabellwind commented on GitHub (May 9, 2025):

Thanks heaps @alecbakholdin, looking forward to testing it out :)

@sabellwind commented on GitHub (May 9, 2025): Thanks heaps @alecbakholdin, looking forward to testing it out :)
Author
Owner

@alecbakholdin commented on GitHub (May 9, 2025):

No problem! Make sure you're on edge though, this change is not quite released

@alecbakholdin commented on GitHub (May 9, 2025): No problem! Make sure you're on edge though, this change is not quite released
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2082