# Can't copy / paste color animation binding

**URL:** <https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546>\
**Category:** Ignition\
**Created:** [April 20, 2016, 4:43pm UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546 "2016-04-20T16:43:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fledder](https://avatars.discourse-cdn.com/v4/letter/f/e19b73/32.png) [@fledder](https://forum.inductiveautomation.com/u/fledder)\
**Post date:** [April 20, 2016, 4:43pm UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546/1 "2016-04-20T16:43:35Z")

</div>

Trying to do a copy binding / paste binding from a stroke color to a text foreground color.

Ignition 7.8.0  
Java 1.8.0\_65  
Windows 7

Error:

Error during retrieval of clipboard data

Details:

java.io.NotSerializableException: com.inductiveautomation.factorypmi.application.components.util.ColorStateTable  
at java.io.ObjectOutputStream.writeObject0(Unknown Source)  
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)  
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)  
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)  
at java.io.ObjectOutputStream.writeObject0(Unknown Source)  
at java.io.ObjectOutputStream.writeObject(Unknown Source)  
at sun.awt.datatransfer.TransferableProxy.getTransferData(Unknown Source)  
at com.inductiveautomation.ignition.designer.util.ClipboardUtil.doPasteTransferableFromClipboard(ClipboardUtil.java:49)  
at com.inductiveautomation.factorypmi.designer.property.propertytable.PropertyTablePanel$6.actionPerformed(PropertyTablePanel.java:276)  
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)  
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)  
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)  
at javax.swing.AbstractButton.doClick(Unknown Source)  
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)  
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(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.8.0 (b2015101414)  
Java: Oracle Corporation 1.8.0\_65

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 5, 2017, 4:31am UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546/2 "2017-12-05T04:31:11Z")

</div>

This is still an issue in version 7.9.5… Is this a known issue?

---

<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:** [December 5, 2017, 4:21pm UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546/3 "2017-12-05T16:21:54Z")

</div>

Can you provide a project export or more concrete steps to replicate? I just set up a simple expression on a rectangle’s “Stroke Paint” property (`toColor("255,0,0")`) and copied that to a text field’s foreground color without issue.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 5, 2017, 7:37pm UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546/4 "2017-12-05T19:37:26Z")

</div>

Hi Paul,

On any colour property, configure a: tag, indirect tag, or property binding, where you have the table of values and corresponding colours.

If you then try copying this, you get the not serialisable error.

---

<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:** [December 5, 2017, 8:01pm UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546/5 "2017-12-05T20:01:07Z")

</div>

Perfect - that’s what I needed. I’ve filed an internal ticket for this; we should get to it in a future release of Ignition.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 5, 2017, 8:06pm UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546/6 "2017-12-05T20:06:43Z")

</div>

Awesome, cheers! This has been a small annoyance for a while

---

<div class="post-metadata">

**Author:** ![choy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/choy/32/4190_2.png) [@choy](https://forum.inductiveautomation.com/u/choy)\
**Post date:** [March 1, 2018, 7:30am UTC](https://forum.inductiveautomation.com/t/cant-copy-paste-color-animation-binding/11546/7 "2018-03-01T07:30:56Z")

</div>

I Have a work around for this, instead of using Tag Binding, use the Indirect tag binding it will copy the color animation.
