I keep getting occasional (once or twice a day, no pattern that I can see) OutOfBounds exceptions in my web app. It seems to happen overnight when the app is idle. The app has one short-period timer, but nothing in the timer deals with arrays.
It’s being caught by the App.UnhandledException event. Here’s the stack:
@Clifford_Antrim out if curiosity, has your app been restarting on its own (kicking users out at random times)? I’ve been noticing this happening in my web app also running 2025 r2.1. It doesn’t seem to be catching any errors in my UnhandledException, just restarting once or twice a day on its own. I will try out a rebuild with the app in 2025 r3 tomorrow to see if that issue might be fixed for me but was curious if you also noticed any random restarts
How are you deploying? Lifeboat and Xojo Cloud will both relaunch your app if it crashes or quits. This can sometimes look like random restarts.
I’ve helped people discover their “on failure quit” code was causing the app to look like it was relaunching. Commonly found with database connection code.
I installed 2025 r3 this morning, uploaded a new build with only this change. The app was running fine for several hours (about 7 hours) and then restarted on its own. So I don’t think 25 r3 helps with this yet. Maybe it will help with the issue you were having with the random OOB errors as I did see a mention of that being fixed on the release notes
I’ve had better luck with 2024 r3 with no app restarts and will try an upload with that in the morning. I started running into this issue with all 2025 RX versions. I might need to seek assistance from the engineers if 24 R3 works again for me.
Xojo Cloud. I don’t think the deploy platform is the issue as I’ve had better luck in 2024 R3
I did make a few small changes to this in my 2025 work and will revisit this code again
Will most likely be opening a new post on my issue as to not muddy up this one as the issues don’t seem to be related