java.lang.reflect.InvocationTargetException: Unable to execute command: create unique index actor_idx on `actor` ( ) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4 at org.netbeans.modules.db.explorer.DbUtilities.doWithProgress(DbUtilities.java:117) at org.netbeans.modules.db.explorer.dlg.AddIndexDialog$1.actionPerformed(AddIndexDialog.java:185) at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1134) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4299) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:3963) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:3893) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) at java.awt.Dialog$1.run(Dialog.java:1046) at java.awt.Dialog$3.run(Dialog.java:1098) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.awt.Dialog.show(Dialog.java:1096) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:863) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:897) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:885) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:109) at org.openide.util.Mutex.doEventAccess(Mutex.java:1355) at org.openide.util.Mutex.readAccess(Mutex.java:268) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:870) at java.awt.Component.show(Component.java:1447) at java.awt.Component.setVisible(Component.java:1400) at java.awt.Window.setVisible(Window.java:824) at java.awt.Dialog.setVisible(Dialog.java:986) at org.netbeans.modules.db.explorer.dlg.AddIndexDialog.run(AddIndexDialog.java:229) at org.netbeans.modules.db.explorer.actions.AddIndexAction.performAction(AddIndexAction.java:98) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261) at java.awt.Component.processMouseEvent(Component.java:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4299) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:3963) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:3893) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) org.netbeans.lib.ddl.DDLException: Unable to execute command: create unique index actor_idx on `actor` ( ) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4 at org.netbeans.lib.ddl.impl.AbstractCommand.execute(AbstractCommand.java:241) at org.netbeans.modules.db.explorer.dlg.AddIndexDDL.execute(AddIndexDDL.java:75) at org.netbeans.modules.db.explorer.dlg.AddIndexDialog$1$1.call(AddIndexDialog.java:192) at org.netbeans.modules.db.explorer.dlg.AddIndexDialog$1$1.call(AddIndexDialog.java:186) at org.netbeans.modules.db.explorer.DbUtilities$1.run(DbUtilities.java:97) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)