Multi-State Indicator and Pushbutton

I upgraded to 7.6.1-rc to get around the issue with template parameters and found that Multi-state indicators and pushbuttons and a few other objects can not be added to a window. Here is the code generated.

java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.add(Unknown Source)
at com.inductiveautomation.factorypmi.application.components.PMIMultiStateIndicator.initialize(PMIMultiStateIndicator.java:61)
at com.inductiveautomation.vision.api.designer.palette.JavaBeanPaletteItem.createJavaBean(JavaBeanPaletteItem.java:61)
at com.inductiveautomation.vision.api.designer.palette.JavaBeanPaletteItem.createComponent(JavaBeanPaletteItem.java:55)
at com.inductiveautomation.factorypmi.designer.workspace.DropHandler.handlePaletteItemDropped(DropHandler.java:963)
at com.inductiveautomation.factorypmi.designer.workspace.DropHandler.handleDrop(DropHandler.java:160)
at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace.handleDrop(WindowWorkspace.java:961)
at com.inductiveautomation.ignition.designer.designable.InteractionLayer$DropHandler.drop(InteractionLayer.java:448)
at java.awt.dnd.DropTarget.drop(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
at sun.awt.dnd.SunDropTargetEvent.dispatch(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.processDropTargetEvent(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$200(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$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.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$1.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.6.1-rc2 (b2250)
Java: Oracle Corporation 1.7.0_21

This was a bug introduced in 7.6.1rc2 and solved in 7.6.1rc3 that affected quite a few components being dropped in the desginer. Update to rc3 and you should be fine.