# Designer launcher hangs when adding a client script module to the ScriptManager

**URL:** <https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926>\
**Category:** Ignition 8.3 Early Access\
**Created:** [April 9, 2025, 11:18pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926 "2025-04-09T23:18:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [April 9, 2025, 11:18pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/1 "2025-04-09T23:18:30Z")

</div>

Hello, I'm currently migrating a module to 8.3 and I ran into a possible bug. Following the scripting-function example for ignition-sdk-examples-83 on master, I included the line

> manager.addScriptModule("system.foo", new ClientScriptModule(), new PropertiesFileDocProvider());

in my DesignerHook.initializeScriptManager implementation. When a build of my module is installed with this line included, the launcher hangs. It doesn't generate any logger messages in my gateway log nor in my designerlauncher.log. When I comment that line out, the designer finishes launching.

I am currently running on the 20250408 64bit Linux build, installed on WSL2 Ubuntu.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 9, 2025, 11:22pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/2 "2025-04-09T23:22:03Z")

</div>

Give me a minute to advance to that build. I do similar with my Integration Toolkit and haven't had any trouble yet.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 9, 2025, 11:23pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/3 "2025-04-09T23:23:30Z")

</div>

Take a thread dump and look in the wrapper.log files.

It's likely something blocking will show up in the thread dump, or your `initializeScriptManager` threw an Exception and it got logged.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 9, 2025, 11:44pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/4 "2025-04-09T23:44:07Z")

</div>

Yeah, no trouble here after update. (I did have to rebuild due to a change to the TagActor interface.)

---

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [April 10, 2025, 10:40pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/5 "2025-04-10T22:40:21Z")

</div>

Thank you both for looking into this. Unfortunately I didn't find anything that could point me in the direction of what might be causing my issue. Looking into the thread dump, nothing really stood out nor was anything spiking in resource usage after about 20 minutes of letting the designer hang. I enabled trace logging on the gateway for anything that I thought might be related to the designer, but the wrapper log doesn't appear to hold anything either. To get away from any weirdness WSL2 might introduce, I installed the Apr 10 EA version locally on my Windows machine, and the same issue occurs.

Are there ways to log what the designer is doing? My understanding is that even if I put logging into my DesignerHook, the designer needs to launch successfully for me to access those logs. Would it be possible for a version of EA to log more into the designerlauncher.log file?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 10, 2025, 10:42pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/6 "2025-04-10T22:42:09Z")

</div>

You can get a thread dump from the Designer using the `jstack` util.

Run `jps`, find the process ID for your Designer, then use `jstack` to dump the threads.

Post both a Gateway and Designer thread dump here, taken while hanging.

Designer logs are a little trickier; look in `~/.ignition/clientlauncher-data/designerlauncher.log`. There will be a line starting with "Starting Java with the following parameters:". Copy the long command the comes after that, paste it into a new terminal, run it to launch a new Designer. All the logs will be dumped into the terminal as the Designer runs.

---

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [April 15, 2025, 11:24pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/7 "2025-04-15T23:24:47Z")

</div>

Hi Kevin,

Thanks for getting back to me. Running the command from the designerlauncher.log told me I was missing the RpcInterface annotation in my code. Thank you both for your help.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 16, 2025, 8:47pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/8 "2025-04-16T20:47:23Z")

</div>

Hmm, I tried to reproduce (because hanging is absolutely something to avoid), and while I can get a similar error by throwing during a module's `initializeScriptManager` call, and that does prevent you from opening the project entirely (bad!), the designer is still fully responsive and I got a clear error display. Were you ever able to get a thread dump while you were in this state?

---

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [April 17, 2025, 5:39pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/9 "2025-04-17T17:39:54Z")

</div>

Hi Paul,

Here's some of the outputs from using jstack and launching the designer from terminal. Let me know if there's anything else I can provide.

[terminal\_launch\_designer.txt](https://forum.inductiveautomation.com/uploads/short-url/e018zDgqhG4GHaj88bwlNWoGjwS.txt) (58.0 KB)  
[jstack.txt](https://forum.inductiveautomation.com/uploads/short-url/6RjEQDxskTWCnUmPOOrrCaRKMCH.txt) (39.9 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 17, 2025, 5:41pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/10 "2025-04-17T17:41:30Z")

</div>

It looks like you fed `jstack` the pid of the Designer _Launcher_ and not the pid of the stalled Designer application itself.

---

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [April 17, 2025, 5:52pm UTC](https://forum.inductiveautomation.com/t/designer-launcher-hangs-when-adding-a-client-script-module-to-the-scriptmanager/104926/11 "2025-04-17T17:52:53Z")

</div>

Hey Kevin,

What I did was I tried launching from the designer and then running jps. The only Ignition related process was the designer launcher, so I did jstack on that. I probably should have tried using jps after launching from terminal, but the error message at the end told me exactly what I was looking for so I didn't bother.
