# Error trying to open window in designer

**URL:** <https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223>\
**Category:** Ignition\
**Created:** [October 14, 2024, 3:24pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223 "2024-10-14T15:24:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![julio\_Bautista](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@julio\_Bautista](https://forum.inductiveautomation.com/u/julio_Bautista)\
**Post date:** [October 14, 2024, 3:24pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223/1 "2024-10-14T15:24:19Z")

</div>

I can't open this window which has a gnatt chart along with other components due to the error below. Is there a way around this so I can fix the issue?

```python
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Requires start <= end.
	at org.jfree.data.time.SimpleTimePeriod.<init>(SimpleTimePeriod.java:78)
	at org.jfree.data.time.SimpleTimePeriod.<init>(SimpleTimePeriod.java:91)
	at org.jfree.data.gantt.Task.<init>(Task.java:102)
	at com.inductiveautomation.factorypmi.application.components.PMIGanttChart.createChart(PMIGanttChart.java:149)
	at com.inductiveautomation.factorypmi.application.components.PMIGanttChart.updateChart(PMIGanttChart.java:112)
	at com.inductiveautomation.factorypmi.application.components.PMIGanttChart.localeChanged(PMIGanttChart.java:336)
	at com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor$LocaleChangedVisitor.visit(ComponentVisitor.java:378)
	at com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor.walk(ComponentVisitor.java:95)
	at com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor.walk(ComponentVisitor.java:73)
	at com.inductiveautomation.factorypmi.application.FPMIWindow.startup(FPMIWindow.java:348)
	at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace$DesigntimeWindowOpener.openWindow(WindowWorkspace.java:3880)
	at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace.openWindow(WindowWorkspace.java:1528)
	at com.inductiveautomation.factorypmi.designer.model.navtree.WindowNode.open(WindowNode.java:260)
	at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:428)
	at com.inductiveautomation.ignition.designer.navtree.NavTreePanel$MouseListener.lambda$mousePressed$1(NavTreePanel.java:722)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

```

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [October 14, 2024, 3:26pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223/2 "2024-10-14T15:26:07Z")

</div>

Well based on the error

> [@julio\_Bautista](#):
>
> `Requires start <= end.`

I imagine you need to fix what values are passed into the time range.

---

<div class="post-metadata">

**Author:** ![julio\_Bautista](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@julio\_Bautista](https://forum.inductiveautomation.com/u/julio_Bautista)\
**Post date:** [October 14, 2024, 3:29pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223/3 "2024-10-14T15:29:30Z")

</div>

correct but I can't open the window to change/fix it.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [October 14, 2024, 3:30pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223/4 "2024-10-14T15:30:35Z")

</div>

Oh in the designer itself?

---

<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:** [October 14, 2024, 3:30pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223/5 "2024-10-14T15:30:56Z")

</div>

If you can't open the window at all, the only path forward is some manual "surgery" on the window's internal representation.

You can access it by shift right clicking the window, but it's in an undocumented proprietary format that's not very friendly. You can try to remove this chart, or the data on it, yourself, but may risk breaking the window further. You can also contact our support department officially and someone should be able to help you.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [October 14, 2024, 3:33pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223/6 "2024-10-14T15:33:45Z")

</div>

You are presented with these options when doing that incase you didn't know what exactly to look for.

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

_for any future viewers, the same thing applies to Perspective Views. You are just given JSON options instead of XML._

---

<div class="post-metadata">

**Author:** ![julio\_Bautista](https://avatars.discourse-cdn.com/v4/letter/j/c89c15/32.png) [@julio\_Bautista](https://forum.inductiveautomation.com/u/julio_Bautista)\
**Post date:** [October 14, 2024, 3:50pm UTC](https://forum.inductiveautomation.com/t/error-trying-to-open-window-in-designer/97223/7 "2024-10-14T15:50:46Z")

</div>

Thanks, it took a while to locate the issue converting things from epoch time, but I was able to change the date in the dataset and it opens now.
