# Toolbar problem on loading robot

**URL:** <https://forum.universal-robots.com/t/toolbar-problem-on-loading-robot/29238>\
**Category:** Report a Bug\
**Created:** [June 27, 2023, 10:59am UTC](https://forum.universal-robots.com/t/toolbar-problem-on-loading-robot/29238 "2023-06-27T10:59:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon36318142](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@anon36318142](https://forum.universal-robots.com/u/anon36318142)\
**Post date:** [June 27, 2023, 10:59am UTC](https://forum.universal-robots.com/t/toolbar-problem-on-loading-robot/29238/1 "2023-06-27T10:59:37Z")

</div>

After adding a .urcap file to show a toolbar with UR+ in the polyscope and reloading the simulator, it hangs on the loading screen with 100% loading

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [June 27, 2023, 1:15pm UTC](https://forum.universal-robots.com/t/toolbar-problem-on-loading-robot/29238/2 "2023-06-27T13:15:41Z")

</div>

Most of the times I’ve seen the sim (or real robot) hang at 100% (crash when loading) is because I am attempting to use and image that I didn’t name EXACTLY right. Like if you’re trying to use myImage.png, calling this resource from code as “myImage” or MyImage" or “myImage.PNG” will fail and cause a crash.

---

<div class="post-metadata">

**Author:** ![anon36318142](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@anon36318142](https://forum.universal-robots.com/u/anon36318142)\
**Post date:** [June 27, 2023, 1:37pm UTC](https://forum.universal-robots.com/t/toolbar-problem-on-loading-robot/29238/3 "2023-06-27T13:37:35Z")

</div>

thanks for answer!  
Unfortuantly it doesn’t help me, I’m not using an image, I just create a toolbar with code using java swing than converted it to .urcap file using mvn install in the terminal.  
The file name is 100% correct because the sim found urcap file but after inserected it into the sim and re-opened the si, in won’t load compleatly and stack to 100%.

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [June 27, 2023, 5:12pm UTC](https://forum.universal-robots.com/t/toolbar-problem-on-loading-robot/29238/4 "2023-06-27T17:12:22Z")

</div>

Might be wrong here, but the toolbar NEEDS an image to load in its service class for display purposes along the top ribbon.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/2/2bc6a60f7da07cfaca5d7ad39e6316d0f4322de6.png)

Regardless I would think you should have some error log showing in your sim? Looking specifically for a “crashed while loading” line I would imagine. I would advise starting with UR’s Toolbar CAP sample if you’re still having issues.

---

<div class="post-metadata">

**Author:** ![anon36318142](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@anon36318142](https://forum.universal-robots.com/u/anon36318142)\
**Post date:** [June 30, 2023, 10:33am UTC](https://forum.universal-robots.com/t/toolbar-problem-on-loading-robot/29238/5 "2023-06-30T10:33:17Z")

</div>

oh ok, thank you for help! 👍
