[Bug]: There was an unrecoverable error in the UI. Sorry! #1965

Closed
opened 2026-02-28 20:00:07 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @krthr on GitHub (Mar 14, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

When trying to open an account I get: "There was an unrecoverable error in the UI. Sorry!"

Here is the log:

react-dom.production.min.js:189 TypeError: Cannot read properties of null (reading 'op')
    at Fg (schedules.ts:395:39)
    at transactions.ts:182:29
    at Array.map (<anonymous>)
    at transactions.ts:176:8
    at Object.b8 [as useMemo] (react-dom.production.min.js:179:119)
    at ht.useMemo (react.production.min.js:25:208)
    at cKe (transactions.ts:159:32)
    at v (useAccountPreviewTransactions.ts:30:5)
    at Hs (Account.tsx:179:5)

The stack trace points to this piece of code:

export function scheduleIsRecurring(dateCond) {
  const cond = new Condition(dateCond.op, 'date', dateCond.value, null);
  const value = cond.getValue();

  return value.type === 'recur';
}

This error only happens with one of the three bank accounts I have

Client version: v25.3.1
Server version: v25.3.1

How can we reproduce the issue?

How can we reproduce the issue?

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Mac OSX

Originally created by @krthr on GitHub (Mar 14, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? When trying to open an account I get: "There was an unrecoverable error in the UI. Sorry!" Here is the log: ``` react-dom.production.min.js:189 TypeError: Cannot read properties of null (reading 'op') at Fg (schedules.ts:395:39) at transactions.ts:182:29 at Array.map (<anonymous>) at transactions.ts:176:8 at Object.b8 [as useMemo] (react-dom.production.min.js:179:119) at ht.useMemo (react.production.min.js:25:208) at cKe (transactions.ts:159:32) at v (useAccountPreviewTransactions.ts:30:5) at Hs (Account.tsx:179:5) ``` The stack trace points to this piece of code: ```js export function scheduleIsRecurring(dateCond) { const cond = new Condition(dateCond.op, 'date', dateCond.value, null); const value = cond.getValue(); return value.type === 'recur'; } ``` This error only happens with one of the three bank accounts I have Client version: v25.3.1 Server version: v25.3.1 ### How can we reproduce the issue? How can we reproduce the issue? ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Mac OSX
GiteaMirror added the bug label 2026-02-28 20:00:07 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#1965