Error trying to open window in designer

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?

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)

Well based on the error

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

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

Oh in the designer itself?

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.

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

image

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

2 Likes

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.

2 Likes