# PSA: You may want to update your app to Xojo 2022 r4.1 now

**URL:** <https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790>\
**Category:** macOS\
**Created:** [December 22, 2022, 1:38pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790 "2022-12-22T13:38:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Dodd](https://forum.xojo.com/user_avatar/forum.xojo.com/stephen_dodd/32/530_2.png) [@Stephen\_Dodd](https://forum.xojo.com/u/Stephen_Dodd)\
**Post date:** [December 22, 2022, 1:38pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/1 "2022-12-22T13:38:52Z")

</div>

In Ventura 13.2 (a), currently in beta, my Xojo 2022r3 application won’t read documents from disk. I don’t know the exact cause other than getting an OutofBounds exception.

However recompiling with Xojo 2022 r4.1 makes it work just fine. 🙂

Note this works fine in Ventura 13.2 b1. It’s only post security update 13.2 (a) that it fails.

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [December 22, 2022, 1:49pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/2 "2022-12-22T13:49:59Z")

</div>

> [@Stephen\_Dodd](#):
>
> In Ventura 13.2 (a), currently in beta, my Xojo 2022r3 application won’t read documents from disk. I don’t know the exact cause other than getting an OutofBounds exception.

Getting the version information did an OutOfBounds exception. See the discussion from the weekend.

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [December 22, 2022, 2:17pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/3 "2022-12-22T14:17:44Z")

</div>

> [@Stephen\_Dodd](#):
>
> my Xojo 2022r3 application won’t read documents from disk

There are lots, I mean lots, of important bugs squashed in R3.1, R3.2, and R4. Then an Apple security patch broke R4 too, including the IDE, and that’s exactly why R4 was patched as R4.1 (plus few extras)

---

<div class="post-metadata">

**Author:** ![Stephen\_Dodd](https://forum.xojo.com/user_avatar/forum.xojo.com/stephen_dodd/32/530_2.png) [@Stephen\_Dodd](https://forum.xojo.com/u/Stephen_Dodd)\
**Post date:** [December 22, 2022, 2:20pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/4 "2022-12-22T14:20:59Z")

</div>

I saw that however as far as I know, that method doesn’t check the system version other than IF targetMacOS and If TargetWin32

---

<div class="post-metadata">

**Author:** ![Stephen\_Dodd](https://forum.xojo.com/user_avatar/forum.xojo.com/stephen_dodd/32/530_2.png) [@Stephen\_Dodd](https://forum.xojo.com/u/Stephen_Dodd)\
**Post date:** [December 22, 2022, 2:21pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/5 "2022-12-22T14:21:51Z")

</div>

> [@Rick\_Araujo](#):
>
> There are lots, I mean lots, of important bugs squashed

Interesting!  
And kudos to Xojo for the squashing.

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [December 22, 2022, 2:30pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/6 "2022-12-22T14:30:10Z")

</div>

> [@Stephen\_Dodd](#):
>
> kudos to Xojo for the squashing

The other side of the coin is that most of them were silly ones that could not even exist if when Xojo introduced those broken “new features” they made basic unit tests. But I’m glad they fixed what was found until now and hope that there aren’t some more lurking to explode something. 😃 R4.1 seems the most stable one from 2022.

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [December 22, 2022, 3:00pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/7 "2022-12-22T15:00:43Z")

</div>

Probably TargetMacOS checks the macOS version.

@Rick_Araujo : I’ve got another crash report from a user when checking RunTimeException.Stack which is used by each and every dialog in my app.

---

<div class="post-metadata">

**Author:** ![Rick\_Araujo](https://forum.xojo.com/user_avatar/forum.xojo.com/rick_araujo/32/251_2.png) [@Rick\_Araujo](https://forum.xojo.com/u/Rick_Araujo)\
**Post date:** [December 22, 2022, 3:16pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/8 "2022-12-22T15:16:31Z")

</div>

As I see here, seems not reproducible yet: [https://tracker.xojo.com/xojoinc/xojo/-/issues/71271](https://tracker.xojo.com/xojoinc/xojo/-/issues/71271)

---

<div class="post-metadata">

**Author:** ![Thomas\_Tempelmann](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_tempelmann/32/315_2.png) [@Thomas\_Tempelmann](https://forum.xojo.com/u/Thomas_Tempelmann)\
**Post date:** [December 22, 2022, 4:28pm UTC](https://forum.xojo.com/t/psa-you-may-want-to-update-your-app-to-xojo-2022-r4-1-now/73790/9 "2022-12-22T16:28:24Z")

</div>

> [@Beatrix\_Willius](#):
>
> Probably TargetMacOS checks the macOS version.

That’s certainly not the case.

The Target… are constants that are set at compile time by the IDE, depending on the target you’re building for, so there’s no need to check them at runtime.
