{"action":"closed","issue":{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/64","repository_url":"https://api.github.com/repos/workcraft-lp/workcraft-test","labels_url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/64/comments","events_url":"https://api.github.com/repos/workcraft-lp/workcraft-test/issues/64/events","html_url":"https://github.com/workcraft-lp/workcraft-test/issues/64","id":131421376,"number":64,"title":"In pages the copy-paste does not work in the circuit plugin","user":{"login":"workcraft-lp","id":17065435,"avatar_url":"https://avatars.githubusercontent.com/u/17065435?v=3","gravatar_id":"","url":"https://api.github.com/users/workcraft-lp","html_url":"https://github.com/workcraft-lp","followers_url":"https://api.github.com/users/workcraft-lp/followers","following_url":"https://api.github.com/users/workcraft-lp/following{/other_user}","gists_url":"https://api.github.com/users/workcraft-lp/gists{/gist_id}","starred_url":"https://api.github.com/users/workcraft-lp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workcraft-lp/subscriptions","organizations_url":"https://api.github.com/users/workcraft-lp/orgs","repos_url":"https://api.github.com/users/workcraft-lp/repos","events_url":"https://api.github.com/users/workcraft-lp/events{/privacy}","received_events_url":"https://api.github.com/users/workcraft-lp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/workcraft-lp/workcraft-test/labels/priority/high","name":"priority/high","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T17:41:20Z","updated_at":"2016-02-04T17:49:47Z","closed_at":"2016-02-04T17:49:47Z","body":"- create from circuit component, define some formula for it (an inverter, for instance)\n- copy it to get the exception:\n\nException in thread \"AWT-EventQueue-0\" java.lang.RuntimeException: org.workcraft.exceptions.DeserialisationException: org.workcraft.plugins.cpog.optimisation.javacc.ParseException: Undefined variable: 'var_'\n\tat org.workcraft.Framework.load(Framework.java:661)\n\tat org.workcraft.workspace.WorkspaceEntry.cancelMemento(WorkspaceEntry.java:212)\n\tat org.workcraft.workspace.WorkspaceEntry.copy(WorkspaceEntry.java:327)\n\tat org.workcraft.gui.MainWindow.copy(MainWindow.java:1203)\n\tat org.workcraft.gui.MainWindowActions$15.run(MainWindowActions.java:154)\n\tat org.workcraft.gui.MainWindow$1.actionPerformed(MainWindow.java:108)\n\tat org.workcraft.gui.actions.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:58)\n\tat org.workcraft.gui.actions.ActionMenuItem.access$0(ActionMenuItem.java:55)\n\tat org.workcraft.gui.actions.ActionMenuItem$ActionForwarder.actionPerformed(ActionMenuItem.java:34)\n\tat javax.swing.AbstractButton.fireActionPerformed(Unknown Source)\n\tat javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)\n\tat javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)\n\tat javax.swing.DefaultButtonModel.setPressed(Unknown Source)\n\tat javax.swing.AbstractButton.doClick(Unknown Source)\n\tat javax.swing.AbstractButton.doClick(Unknown Source)\n\tat javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(Unknown Source)\n\tat javax.swing.SwingUtilities.notifyAction(Unknown Source)\n\tat javax.swing.JComponent.processKeyBinding(Unknown Source)\n\tat javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)\n\tat javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)\n\tat javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(Unknown Source)\n\tat javax.swing.JMenuBar.processKeyBinding(Unknown Source)\n\tat javax.swing.KeyboardManager.fireBinding(Unknown Source)\n\tat javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)\n\tat javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)\n\tat javax.swing.JComponent.processKeyBindings(Unknown Source)\n\tat javax.swing.JComponent.processKeyEvent(Unknown Source)\n\tat java.awt.Component.processEvent(Unknown Source)\n\tat java.awt.Container.processEvent(Unknown Source)\n\tat java.awt.Component.dispatchEventImpl(Unknown Source)\n\tat java.awt.Container.dispatchEventImpl(Unknown Source)\n\tat java.awt.Component.dispatchEvent(Unknown Source)\n\tat java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)\n\tat java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)\n\tat java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)\n\tat java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)\n\tat java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)\n\tat java.awt.Component.dispatchEventImpl(Unknown Source)\n\tat java.awt.Container.dispatchEventImpl(Unknown Source)\n\tat java.awt.Window.dispatchEventImpl(Unknown Source)\n\tat java.awt.Component.dispatchEvent(Unknown Source)\n\tat java.awt.EventQueue.dispatchEventImpl(Unknown Source)\n\tat java.awt.EventQueue.access$000(Unknown Source)\n\tat java.awt.EventQueue$3.run(Unknown Source)\n\tat java.awt.EventQueue$3.run(Unknown Source)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)\n\tat java.awt.EventQueue$4.run(Unknown Source)\n\tat java.awt.EventQueue$4.run(Unknown Source)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)\n\tat java.awt.EventQueue.dispatchEvent(Unknown Source)\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)\n\tat java.awt.EventDispatchThread.pumpEvents(Unknown Source)\n\tat java.awt.EventDispatchThread.pumpEvents(Unknown Source)\n\tat java.awt.EventDispatchThread.run(Unknown Source)\nCaused by: org.workcraft.exceptions.DeserialisationException: org.workcraft.plugins.cpog.optimisation.javacc.ParseException: Undefined variable: 'var_'\n\tat org.workcraft.plugins.cpog.serialisation.BooleanFunctionDeserialiser.readFormulaFromAttribute(BooleanFunctionDeserialiser.java:69)\n\tat org.workcraft.plugins.circuit.serialisation.FunctionDeserialiser.finaliseInstance(FunctionDeserialiser.java:55)\n\tat org.workcraft.serialisation.xml.DefaultNodeDeserialiser.doFinalisation(DefaultNodeDeserialiser.java:235)\n\tat org.workcraft.serialisation.xml.DefaultNodeDeserialiser.finaliseInstance(DefaultNodeDeserialiser.java:251)\n\tat org.workcraft.serialisation.xml.XMLDeserialisationManager.finaliseInstance(XMLDeserialisationManager.java:143)\n\tat org.workcraft.serialisation.xml.XMLDeserialisationManager.finaliseInstances(XMLDeserialisationManager.java:131)\n\tat org.workcraft.plugins.serialisation.XMLModelDeserialiser.deserialise(XMLModelDeserialiser.java:68)\n\tat org.workcraft.Framework.load(Framework.java:625)\n\tat org.workcraft.Framework.load(Framework.java:659)\n\t... 58 more\nCaused by: org.workcraft.plugins.cpog.optimisation.javacc.ParseException: Undefined variable: 'var_'\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.var(BooleanParser.java:27)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.literal(BooleanParser.java:251)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.andOp(BooleanParser.java:227)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.xorOp(BooleanParser.java:192)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.orOp(BooleanParser.java:170)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.implyOp(BooleanParser.java:148)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.neqOp(BooleanParser.java:130)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.eqOp(BooleanParser.java:108)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.formula(BooleanParser.java:86)\n\tat org.workcraft.plugins.cpog.optimisation.javacc.BooleanParser.parse(BooleanParser.java:61)\n\tat org.workcraft.plugins.cpog.serialisation.BooleanFunctionDeserialiser.readFormulaFromAttribute(BooleanFunctionDeserialiser.java:67)\n\t... 66 more\n\n------------------------------------\nThis issue was imported from Launchpad bug.\n\n * date created: 2014-06-07T10:08:17Z\n * date closed: 2014-06-23T08:22:01Z\n * owner: sgaflv\n * assignee: sgaflv\n * the launchpad url was https://bugs.launchpad.net/bugs/1327520\n"}}