# Unhandled Exception is thrown when the program is started using an external button

**URL:** https://forum.universal-robots.com/t/unhandled-exception-is-thrown-when-the-program-is-started-using-an-external-button/6842
**Category:** Technical Questions
**Tags:** electrical, thread-error
**Created:** [March 31, 2020, 12:19pm UTC](https://forum.universal-robots.com/t/unhandled-exception-is-thrown-when-the-program-is-started-using-an-external-button/6842 "2020-03-31T12:19:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![anon71387359](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@anon71387359](https://forum.universal-robots.com/u/anon71387359)
#### Post date: [March 31, 2020, 12:19pm UTC](https://forum.universal-robots.com/t/unhandled-exception-is-thrown-when-the-program-is-started-using-an-external-button/6842/1 "2020-03-31T12:19:12Z")

</div>

Unhandled exception is thrown when the program is started using an external button.  
“Caught unhandled exception” window appears only when the program is started using the external button and when the robot has to return to the Home position from another waypoint.  
Instead of Auto move screen, the exception window appears.

The exception is not thrown when the robot is already in the Home Position and the external button is pressed for starting the program.  
Everything works perfectly when the program is started from the Teach Pendant.  
The program conatins URCaps.

I have enclosed the screenshots below.

Thank you, in advance, for your help.

 ![Unhandled-exception-image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/6/6cc85d13355614f54ac63d12ddb7b7d73c887f57.jpeg)

 ![Log-section-for-exception](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/5aa98c2b6bdbddcb419a1c7cb6bba366dae9f6a3.jpeg)

---

<div class="post-metadata">

### Author: ![anon71387359](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@anon71387359](https://forum.universal-robots.com/u/anon71387359)
#### Post date: [April 2, 2020, 7:40am UTC](https://forum.universal-robots.com/t/unhandled-exception-is-thrown-when-the-program-is-started-using-an-external-button/6842/2 "2020-04-02T07:40:43Z")

</div>

As i read further in the forum, i found out that this is a bug in Polyscope 3.7 and the bug was fixed in Polyscope 3.8.  
I will update the software and check it out.  
I apologize for rising a topic without reading the forum thoroughly.  
Thanks anyways.

---

<div class="post-metadata">

### Author: ![Savoia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/savoia/32/4844_2.png) [@Savoia](https://forum.universal-robots.com/u/Savoia)
#### Post date: [January 19, 2021, 4:06pm UTC](https://forum.universal-robots.com/t/unhandled-exception-is-thrown-when-the-program-is-started-using-an-external-button/6842/3 "2021-01-19T16:06:06Z")

</div>

No worries, thank you for reporting back! Will mark it solved and closed 😃

---

<div class="post-metadata">

### Author: ![Savoia](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/savoia/32/4844_2.png) [@Savoia](https://forum.universal-robots.com/u/Savoia)
#### Post date: [January 19, 2021, 4:06pm UTC](https://forum.universal-robots.com/t/unhandled-exception-is-thrown-when-the-program-is-started-using-an-external-button/6842/4 "2021-01-19T16:06:17Z")

</div>


