# "Some internal exception occurred"

**URL:** <https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500>\
**Category:** UXP Plugin API\
**Created:** [October 10, 2024, 9:13am UTC](https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500 "2024-10-10T09:13:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartinB](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/martinb/32/3506_2.png) [@MartinB](https://forums.creativeclouddeveloper.com/u/MartinB)\
**Post date:** [October 10, 2024, 9:13am UTC](https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500/1 "2024-10-10T09:13:56Z")

</div>

I’m afraid that I have another question with insufficient background data. One of my beta testers is hitting something that I can’t reproduce.

I have a procedure that is executed modally:

```auto
async function doModalStuff(executionContext) {
 ...
}

```

Called as:

```auto
await core.executeAsModal(doModalStuff, {
  'commandName': 'Modal stuff'
})

```

He’s getting a “Some internal exception occurred” error. I know the line before the `executeAsModal` is called is getting executed, and I know the first line inside `doModalStuff` is not.

I’ve also double-checked that there’s no possibility of any nested `executeAsModal` going on.

We’re both using PS 25.12 on Windows; I’m on the latest Windows 11, while he’s on the last Windows 10.

I know this is very vague, but has anyone had any experience of “Some internal exception occurred”?

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [October 10, 2024, 4:56pm UTC](https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500/2 "2024-10-10T16:56:08Z")

</div>

How often does it happen?

---

<div class="post-metadata">

**Author:** ![MartinB](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/martinb/32/3506_2.png) [@MartinB](https://forums.creativeclouddeveloper.com/u/MartinB)\
**Post date:** [October 10, 2024, 6:27pm UTC](https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500/3 "2024-10-10T18:27:51Z")

</div>

Every time for him. Never for me.  
He’s just confirmed that one of my other plugins, which uses executeAsModal in pretty much exactly the same way _does_ work for him.

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [October 10, 2024, 7:34pm UTC](https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500/4 "2024-10-10T19:34:04Z")

</div>

How about a Photoshop reinstall?

---

<div class="post-metadata">

**Author:** ![MartinB](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/martinb/32/3506_2.png) [@MartinB](https://forums.creativeclouddeveloper.com/u/MartinB)\
**Post date:** [October 11, 2024, 9:09am UTC](https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500/5 "2024-10-11T09:09:49Z")

</div>

Yeah, you’re probably right.  
I have enough trouble finding volunteers to beta test for me that I tend to treat them rather gently!

---

<div class="post-metadata">

**Author:** ![MartinB](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/martinb/32/3506_2.png) [@MartinB](https://forums.creativeclouddeveloper.com/u/MartinB)\
**Post date:** [October 15, 2024, 7:58pm UTC](https://forums.creativeclouddeveloper.com/t/some-internal-exception-occurred/8500/6 "2024-10-15T19:58:30Z")

</div>

OK, so he uninstalled Photoshop (25.12), without deleting preferences, then installed it again. He still hit the same error.

He’s now installed v26.0, and the plugin is working fine with that.

I’m tempted to ask if he has the stamina to uninstall 25.12 again, but this time completely, and re-install it again.

Is uninstalling v25 and clearing preferences going to affect his v26 install at all?

Thanks
