Easy Chart Plot Background Binding Preventing Window From Opening In Designer

I have bound a plot background on an easy chart to a color client tag and now when I try to open the window in the designer I get the following error and the window refuses to open:

The window DOES open in the client successfully but now I am unable to open the window in the designer to modify anything. This is on Ignition version 8.0.8.

java.lang.Exception: Error setting property to 'java.awt.Color[r=249,g=247,b=231]' for binding on
Injection Percent Scale 1.Root Container.Easy Chart.plotBackground
	at com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter.updateTarget(AbstractPropertyAdapter.java:335)
	at com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter.updateTarget(SimpleBoundTagAdapter.java:538)
	at com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter.updateValue(AbstractPropertyAdapter.java:266)
	at com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter.notifyTagChanged(SimpleBoundTagAdapter.java:503)
	at com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter.tagChanged(SimpleBoundTagAdapter.java:491)
	at com.inductiveautomation.factorypmi.application.sqltags.ProjectTagSubscriptionManager.subscribe(ProjectTagSubscriptionManager.java:109)
	at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTagManager.subscribe(ProjectTagManager.java:423)
	at com.inductiveautomation.factorypmi.application.sqltags.project.ProjectTagManager.subscribe(ProjectTagManager.java:407)
	at com.inductiveautomation.ignition.client.sqltags.impl.SubManagerAdapter.subscribeAsync(SubManagerAdapter.java:115)
	at com.inductiveautomation.ignition.client.tags.impl.ClientTagManagerImpl.lambda$subscribeAsync$8(ClientTagManagerImpl.java:246)
	at com.inductiveautomation.ignition.gateway.util.GroupMapCollate.lambda$groupMapIndexed$10(GroupMapCollate.java:89)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at com.inductiveautomation.ignition.gateway.util.GroupMapCollate.groupMapIndexed(GroupMapCollate.java:98)
	at com.inductiveautomation.ignition.client.tags.impl.ClientTagManagerImpl.subscribeAsync(ClientTagManagerImpl.java:234)
	at com.inductiveautomation.ignition.common.tags.model.TagManager.subscribeAsync(TagManager.java:73)
	at com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter.startup(SimpleBoundTagAdapter.java:145)
	at com.inductiveautomation.factorypmi.application.binding.DefaultInteractionController.startupBindings(DefaultInteractionController.java:355)
	at com.inductiveautomation.factorypmi.application.binding.DefaultInteractionController.startupAdapters(DefaultInteractionController.java:360)
	at com.inductiveautomation.factorypmi.application.FPMIWindow.startup(FPMIWindow.java:344)
	at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace$DesigntimeWindowOpener.openWindow(WindowWorkspace.java:3513)
	at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace.openWindow(WindowWorkspace.java:1294)
	at com.inductiveautomation.factorypmi.designer.model.navtree.WindowNode.open(WindowNode.java:270)
	at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:266)
	at com.inductiveautomation.ignition.designer.navtree.NavTreePanel$MouseListener.lambda$mousePressed$0(NavTreePanel.java:656)
	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(Native Method)
	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)
Caused by: java.lang.ArithmeticException: / by zero
	at com.inductiveautomation.factorypmi.application.components.chart.easychart.ConstantPenDatasource.createTimeColumn(ConstantPenDatasource.java:124)
	at com.inductiveautomation.factorypmi.application.components.chart.easychart.ConstantPenDatasource.updateData(ConstantPenDatasource.java:108)
	at com.inductiveautomation.factorypmi.application.components.chart.easychart.ConstantPenDatasource.startup(ConstantPenDatasource.java:80)
	at com.inductiveautomation.factorypmi.application.components.PMIEasyChart$EasyChart.startup(PMIEasyChart.java:2230)
	at com.inductiveautomation.factorypmi.application.components.PMIEasyChart$EasyChart.createChartImpl(PMIEasyChart.java:2772)
	at com.inductiveautomation.factorypmi.application.components.chart.PMILineChartPanel.createChart(PMILineChartPanel.java:135)
	at com.inductiveautomation.factorypmi.application.components.chart.PMILineChartPanel.setPlotBackground(PMILineChartPanel.java:341)
	at com.inductiveautomation.factorypmi.application.components.PMIEasyChart.setPlotBackground(PMIEasyChart.java:1188)
	at jdk.internal.reflect.GeneratedMethodAccessor1164.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at com.inductiveautomation.factorypmi.application.binding.AbstractPropertyAdapter.updateTarget(AbstractPropertyAdapter.java:328)
	... 42 more

Ignition v8.0.8 (b2020021111)
Java: Azul Systems, Inc. 11.0.5

In the designer before opening the window, can you try Shift Right click > copy XML to clipboard? Paste it into notepad, modify or remove the binding. Then Shift Right Click and Set XML from clipboard.

1 Like

Is this the binding in XML?

That’s the only thing that I see when I search for plotBackground. If I delete that section and then copy everything and Set XML from clipboard it doesn’t do anything… I saved the project and then recopied the XML and this still is in there.