# Exception Caught in Thread AWT-EventQueue-Q

**URL:** <https://forum.universal-robots.com/t/exception-caught-in-thread-awt-eventqueue-q/10555>\
**Category:** URCap Development\
**Tags:** thread-error\
**Created:** [December 6, 2020, 3:17pm UTC](https://forum.universal-robots.com/t/exception-caught-in-thread-awt-eventqueue-q/10555 "2020-12-06T15:17:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon19074481](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@anon19074481](https://forum.universal-robots.com/u/anon19074481)\
**Post date:** [December 6, 2020, 3:17pm UTC](https://forum.universal-robots.com/t/exception-caught-in-thread-awt-eventqueue-q/10555/1 "2020-12-06T15:17:22Z")

</div>

Hello

I have recently downloaded the new 1.11 version of URCaps starter package and i end up with some problems when i just try to make a basic URCap.

So when I try to add my urcap to the program tree notings happens. But if i try to add some other urcap i get this error message.

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

If i shut down the ursim and reload it, but this time i add another urcap to the program tree it works just fine.

I have spent more then 4 hours just trying diffrent things but nothing work.

This is the code that does not work but i get no error messages in eclipse:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/0/09cd2de4a876ad15c48c320194d8ad6ea18ee084.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/c/c8276d10ad849a74d5f63408acaedcef1313f094.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/50452fd80b68edc2dfcd77c59e4cdf78a60a9a22.png)

---

<div class="post-metadata">

**Author:** ![roman.reiner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/roman.reiner/32/1294_2.png) [@roman.reiner](https://forum.universal-robots.com/u/roman.reiner)\
**Post date:** [December 7, 2020, 6:20pm UTC](https://forum.universal-robots.com/t/exception-caught-in-thread-awt-eventqueue-q/10555/2 "2020-12-07T18:20:29Z")

</div>

“So when I try to add my urcap to the program tree notings happens. But if i try to add some other urcap i get this error message.”

It might be the other URCap and not yours? I cannot see anything to me that shows you have this setup incorrectly.

---

<div class="post-metadata">

**Author:** ![anon19074481](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@anon19074481](https://forum.universal-robots.com/u/anon19074481)\
**Post date:** [December 7, 2020, 6:42pm UTC](https://forum.universal-robots.com/t/exception-caught-in-thread-awt-eventqueue-q/10555/3 "2020-12-07T18:42:46Z")

</div>

Yeah maybe it is other URCaps.

---

<div class="post-metadata">

**Author:** ![sko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sko/32/573_2.png) [@sko](https://forum.universal-robots.com/u/sko)\
**Post date:** [December 8, 2020, 10:47am UTC](https://forum.universal-robots.com/t/exception-caught-in-thread-awt-eventqueue-q/10555/4 "2020-12-08T10:47:05Z")

</div>

You are returning null in the getTitle() method of the contribution. Here a String is expected.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/system/32/1_2.png) [@system](https://forum.universal-robots.com/u/system)\
**Post date:** [December 10, 2020, 10:47am UTC](https://forum.universal-robots.com/t/exception-caught-in-thread-awt-eventqueue-q/10555/5 "2020-12-10T10:47:18Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
