# \[bug-13458\] Perspective - Uncaught exception when moving a chart

**URL:** <https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639>\
**Category:** Ignition Early Access\
**Created:** [March 27, 2019, 1:58pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639 "2019-03-27T13:58:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [March 27, 2019, 1:58pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/1 "2019-03-27T13:58:07Z")

</div>

This one might be a bit tough for me to describe. I was reorganizing some components that I pasted into a column layout. I was trying to move one to the top right corner, and went off the screen a bit. The designer then locked up for a minute, and now my console is getting flooded with the following error.  
I’ve posted a screenshot below as well. Not sure what else would be useful in troubleshooting this issue.

```auto
09:54:48.393 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[Reaction@516]'

```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/5d9a1716a56aa2f40bdb374d30edf37ff66a50d1.png)

---

<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:** [March 27, 2019, 3:24pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/2 "2019-03-27T15:24:32Z")

</div>

Are you able to send in a project export or view export? If you’re able to save in that state, that is.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [March 27, 2019, 5:12pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/3 "2019-03-27T17:12:27Z")

</div>

Should have thought of that. Forgot to try and make an export. The designer was kinda struggling though so not sure if it would have let me. I just tried re-creating the issue in the same project with no success.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [April 3, 2019, 6:20pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/4 "2019-04-03T18:20:06Z")

</div>

Was trying to do something similar again today, and ended up getting the same error. The view in question this time is Andon. I was moving components in a Column Container, and the designer locks up and gives me timeout errors while the console fills with messages like I mentioned above.

Version: **8.0.0-rc1 (b2019040123)**

```auto
14:14:49.282 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[Reaction@30313]'

```

Edit: Project backup doesn’t seem to have saved the screen as it was. And anytime I hit save or merge it throws a TimeoutException.

[Demo\_2019-04-03\_1418.zip](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9b621e48df744e30caf6caf13210cd89c3bc28ba.zip) (73.1 KB)

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [April 3, 2019, 6:38pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/5 "2019-04-03T18:38:02Z")

</div>

The project backup doesn’t have it, but I’ve managed to recreate what seems to be triggering it every time.

1. Create new Column View
2. Copy the 3 Components from the ‘Andon’ view
3. Try and move the XY Chart to the top right corner.

---

<div class="post-metadata">

**Author:** ![silverbacknet](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/silverbacknet/32/7385_2.png) [@silverbacknet](https://forum.inductiveautomation.com/u/silverbacknet)\
**Post date:** [April 3, 2019, 9:10pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/6 "2019-04-03T21:10:22Z")

</div>

What is the memory usage like? Since it involves the XY Chart, it might be the same bug as [Perspective XY Chart causes javascript endless allocation, race condition?](http://forum.inductiveautomation.com/t/perspective-xy-chart-causes-javascript-endless-allocation-race-condition/23730/2) if it’s continually increasing.

---

<div class="post-metadata">

**Author:** ![grietveld](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/grietveld/32/6984_2.png) [@grietveld](https://forum.inductiveautomation.com/u/grietveld)\
**Post date:** [April 4, 2019, 11:42am UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/7 "2019-04-04T11:42:57Z")

</div>

I didn’t look at designer memory usage, but the gateway was still pretty low while the issue was occurring.

---

<div class="post-metadata">

**Author:** ![ggross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ggross/32/12668_2.png) [@ggross](https://forum.inductiveautomation.com/u/ggross)\
**Post date:** [April 4, 2019, 4:40pm UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/8 "2019-04-04T16:40:36Z")

</div>

grietveld,

I was able to duplicate the issue and have created a new issue for this. Thank you for providing duplication steps. This looks to be an issue with the library we use to manage the state of the components.

Garth

---

<div class="post-metadata">

**Author:** ![Lucas\_Ochoa](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Lucas\_Ochoa](https://forum.inductiveautomation.com/u/Lucas_Ochoa)\
**Post date:** [August 14, 2024, 2:38am UTC](https://forum.inductiveautomation.com/t/bug-13458-perspective-uncaught-exception-when-moving-a-chart/23639/9 "2024-08-14T02:38:43Z")

</div>

Garth, Do you have an update on this. I am getting this same issue on a project running version 8.1.28.

See screenshot below.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/e/ee5632f157ea562d5ee4d679051c3380ed38cff5.png)

It does not happen every time I open the Perspective view, but it tends to happen fairly often.
