# Window Does Not Exist

**URL:** <https://forum.inductiveautomation.com/t/window-does-not-exist/12454>\
**Category:** Ignition\
**Created:** [December 11, 2016, 10:09pm UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454 "2016-12-11T22:09:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjcorbin](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tjcorbin](https://forum.inductiveautomation.com/u/tjcorbin)\
**Post date:** [December 11, 2016, 10:09pm UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454/1 "2016-12-11T22:09:24Z")

</div>

Hi,

I have an issue where using ‘system.nav.swapTo(‘Saw/Overview’)’ on a button on the ‘System/NavigationPanel’ window results in ‘ValueError: Window Saw/Overview does not exist.’ error.

I can fix the problem by moving the the ‘Overview’ window into either the Root Window folder or the ‘System’ folder in the picture attached. It doesn’t work if I place it any other subfolder.

What is wrong - I have been able to organise windows in folders freely in the past ?

Thanks

Tim

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [December 12, 2016, 12:12pm UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454/2 "2016-12-12T12:12:11Z")

</div>

Hi.

Think we need to start with what version of Ignition you’re using… 😉

---

<div class="post-metadata">

**Author:** ![tjcorbin](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tjcorbin](https://forum.inductiveautomation.com/u/tjcorbin)\
**Post date:** [December 12, 2016, 6:38pm UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454/3 "2016-12-12T18:38:25Z")

</div>

Hi,

Versions per picture.

I have tried all sorts - delete pages, make new pages. Delete folder, make new folder. Restart Gateway. Reboot computer. Created new project. No luck. It will do a swap(or open) page fine if the page is in the same folder, or if it is in the root.

The button which executes the script works fine running in the designer, but not on a client on the same machine.

Tim

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [December 12, 2016, 6:45pm UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454/4 "2016-12-12T18:45:43Z")

</div>

Makes me wonder if it’s related to the issue in [this thread](https://inductiveautomation.com/forum/viewtopic.php?f=95&t=16378). 😕

If so, it looks like there’s a possible fix for you in the [7.9.1 beta](https://inductiveautomation.com/downloads/beta).

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [December 13, 2016, 12:05am UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454/5 "2016-12-13T00:05:32Z")

</div>

This is a known issue and has been fixed for Ignition 7.9.1

---

<div class="post-metadata">

**Author:** ![jparsons](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jparsons](https://forum.inductiveautomation.com/u/jparsons)\
**Post date:** [April 27, 2020, 3:04pm UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454/6 "2020-04-27T15:04:30Z")

</div>

Reviving an old thread. I am having the same issue in 7.9.10.

I have a button that goes to “Alarms/Alarm Table” which does exist. When I click the button it says it doesn’t exist.

This system has been in place for about a year now and this is the first time this has happened. Rebooting the gateway isn’t really an option because this is a critical system. ( I imagine that would fix it though)

Traceback (most recent call last):  
File “event:mousePressed”, line 5, in   
ValueError: Window Alarms/AlarmTable does not exist.

```
at org.python.core.Py.ValueError(Py.java:309)
at com.inductiveautomation.factorypmi.application.script.builtin.NavUtilities$5.run(NavUtilities.java:431)
at com.inductiveautomation.factorypmi.application.script.builtin.WindowUtilities.doGUIAction(WindowUtilities.java:810)
at com.inductiveautomation.factorypmi.application.script.builtin.NavUtilities.openWindowImpl(NavUtilities.java:359)
at com.inductiveautomation.factorypmi.application.script.builtin.NavUtilities.openWindow(NavUtilities.java:349)
at com.inductiveautomation.factorypmi.application.script.builtin.NavUtilitiesDispatcher.openWindow(NavUtilitiesDispatcher.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction. __call__ (PyReflectedFunction.java:186)
at com.inductiveautomation.ignition.common.script.ScriptManager$ReflectedInstanceFunction. __call__ (ScriptManager.java:431)
at org.python.core.PyObject. __call__ (PyObject.java:387)
at org.python.core.PyObject. __call__ (PyObject.java:391)
at org.python.pycode._pyx7.f$0(<event:mousePressed>:5)
at org.python.pycode._pyx7.call_function(<event:mousePressed>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1275)
at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:636)
at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:603)
at com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter.runActions(ActionAdapter.java:182)
at com.inductiveautomation.factorypmi.application.binding.action.ActionAdapter.invoke(ActionAdapter.java:271)
at com.inductiveautomation.factorypmi.application.binding.action.RelayInvocationHandler.invoke(RelayInvocationHandler.java:57)
at com.sun.proxy.$Proxy19.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

```

Ignition v7.9.10 (b2018112821)  
Java: Oracle Corporation 1.8.0\_211

---

<div class="post-metadata">

**Author:** ![jparsons](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jparsons](https://forum.inductiveautomation.com/u/jparsons)\
**Post date:** [April 27, 2020, 3:57pm UTC](https://forum.inductiveautomation.com/t/window-does-not-exist/12454/7 "2020-04-27T15:57:54Z")

</div>

This issue fixed itself. Don’t know how or why.
