[GH-ISSUE #1748] [Bug]: "end of month cleanup" crashes if no db entry exists for first overspent budget #49775

Closed
opened 2026-04-30 11:29:15 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @jlsjonas on GitHub (Sep 28, 2023).
Original GitHub issue: https://github.com/actualbudget/actual/issues/1748

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

If a category was overspent without an initial budget entry (never touched; clearing will preserve the db entry), it can't find the carryover as it doesn't exist yet

What error did you receive?

Something internally went wrong. You may want to restart the app if anything looks wrong. Please report this as a new issue on Github.

in console:

[Exception] TypeError: Cannot read properties of null (reading 'carryover')
    at cleanup-template.ts:64:17

Where are you hosting Actual?

NAS

What browsers are you seeing the problem on?

Chrome

Operating System

Other (Chrome OS)

Originally created by @jlsjonas on GitHub (Sep 28, 2023). Original GitHub issue: https://github.com/actualbudget/actual/issues/1748 ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? If a category was _overspent_ without an initial budget entry (never touched; clearing will preserve the db entry), it can't find the carryover as it doesn't exist yet ### What error did you receive? > Something internally went wrong. You may want to restart the app if anything looks wrong. Please report this as a new issue on Github. in console: ``` [Exception] TypeError: Cannot read properties of null (reading 'carryover') at cleanup-template.ts:64:17 ``` ### Where are you hosting Actual? NAS ### What browsers are you seeing the problem on? Chrome ### Operating System Other (Chrome OS)
GiteaMirror added the goal templatesbug labels 2026-04-30 11:29:15 -05:00
Author
Owner

@youngcw commented on GitHub (Oct 19, 2023):

Fixed by #1750

<!-- gh-comment-id:1771227957 --> @youngcw commented on GitHub (Oct 19, 2023): Fixed by #1750
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#49775