Modify Table Dialog doesn't show
Hello!
When attempting to modify the table (Right Clicking the table name and then selecting the 'Modify Table' context option), the dialog doesn't show.
Looking at the log file, this is what I'm seeing:
2016-05-31 10:39:56,379 [ 35596] ERROR - llij.ide.plugins.PluginManager - Index: 1, Size: 1
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at com.intellij.openapi.editor.impl.view.TextLayoutCache.a(TextLayoutCache.java:117)
at com.intellij.openapi.editor.impl.view.TextLayoutCache.invalidateLines(TextLayoutCache.java:110)
at com.intellij.openapi.editor.impl.view.EditorView.invalidateRange(EditorView.java:296)
at com.intellij.openapi.editor.impl.EditorImpl.repaint(EditorImpl.java:1821)
at com.intellij.openapi.editor.impl.EditorImpl.repaint(EditorImpl.java:1809)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter$1.run(LexerEditorHighlighter.java:340)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2405)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:337)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:302)
at com.intellij.database.view.editors.DatabaseEditorUtil$DbListTable$1.customizeEditor(DatabaseEditorUtil.java:292)
at com.intellij.ui.EditorTextFieldCellRenderer.getTableCellRendererComponent(EditorTextFieldCellRenderer.java:108)
at com.intellij.util.ui.table.EditorTextFieldJBTableRowRenderer.getRowRendererComponent(EditorTextFieldJBTableRowRenderer.java:35)
at com.intellij.util.ui.table.JBListTable$MyTable$1.getTableCellRendererComponent(JBListTable.java:372)
at com.intellij.ui.table.JBTable.calculateRowHeight(JBTable.java:161)
at com.intellij.ui.table.JBTable.getRowHeight(JBTable.java:139)
at javax.swing.JTable.getRowHeight(JTable.java:992)
at javax.swing.JTable.getCellRect(JTable.java:2937)
at javax.swing.plaf.basic.BasicTableUI.createTableSize(BasicTableUI.java:1694)
at javax.swing.plaf.basic.BasicTableUI.getPreferredSize(BasicTableUI.java:1733)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:495)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at com.intellij.ui.tabs.impl.JBTabsImpl$24.fun(JBTabsImpl.java:2414)
at com.intellij.ui.tabs.impl.JBTabsImpl$24.fun(JBTabsImpl.java:2411)
at com.intellij.ui.tabs.impl.JBTabsImpl.computeSize(JBTabsImpl.java:2443)
at com.intellij.ui.tabs.impl.JBTabsImpl.getPreferredSize(JBTabsImpl.java:2411)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at com.intellij.uiDesigner.core.Util.getPreferredSize(Util.java:55)
at com.intellij.uiDesigner.core.DimensionInfo.getPreferredSize(DimensionInfo.java:230)
at com.intellij.uiDesigner.core.HorizontalInfo.getPreferredWidth(HorizontalInfo.java:52)
at com.intellij.uiDesigner.core.GridLayoutManager.getMinOrPrefSizes(GridLayoutManager.java:661)
at com.intellij.uiDesigner.core.GridLayoutManager.getPrefSizes(GridLayoutManager.java:630)
at com.intellij.uiDesigner.core.GridLayoutManager.preferredLayoutSize(GridLayoutManager.java:274)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at com.intellij.database.view.editors.ShutSplitter.getPreferredSize(ShutSplitter.java:72)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:920)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
at java.awt.Container.preferredSize(Container.java:1796)
at java.awt.Container.getPreferredSize(Container.java:1780)
at java.awt.Window.pack(Window.java:809)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:677)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1661)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1610)
at com.intellij.refactoring.ui.RefactoringDialog.access$101(RefactoringDialog.java:38)
at com.intellij.refactoring.ui.RefactoringDialog$2.run(RefactoringDialog.java:197)
at com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37)
at com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:283)
at com.intellij.refactoring.ui.RefactoringDialog.show(RefactoringDialog.java:194)
at com.intellij.database.view.ui.AbstractDbRefactoringDialog.finishAndShow(AbstractDbRefactoringDialog.java:126)
at com.intellij.database.actions.DatabaseObjectRefactoring.a(DatabaseObjectRefactoring.java:133)
at com.intellij.database.actions.DatabaseObjectRefactoring.access$000(DatabaseObjectRefactoring.java:35)
at com.intellij.database.actions.DatabaseObjectRefactoring$3.invoke(DatabaseObjectRefactoring.java:148)
at com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:137)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:191)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:311)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:281)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:513)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2016-05-31 10:39:56,381 [ 35598] ERROR - llij.ide.plugins.PluginManager - DataGrip 2016.1.1 Build #DB-145.863.1
2016-05-31 10:39:56,381 [ 35598] ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_76-release
2016-05-31 10:39:56,381 [ 35598] ERROR - llij.ide.plugins.PluginManager - VM: OpenJDK 64-Bit Server VM
2016-05-31 10:39:56,381 [ 35598] ERROR - llij.ide.plugins.PluginManager - Vendor: JetBrains s.r.o
2016-05-31 10:39:56,381 [ 35598] ERROR - llij.ide.plugins.PluginManager - OS: Linux
2016-05-31 10:39:56,381 [ 35598] ERROR - llij.ide.plugins.PluginManager - Last Action: ModifyObject
Just wondering if this might be due to the fact that I'm using OpenJDK as compared to the actual Oracle release, or if it's something else.
Other than that, evaluating DataGrip has been wonderful!
Thanks!
-Jason
Please sign in to leave a comment.
I have a simillar problem, but only with one table. Hard to tell what is special about the table. I try killing datagrip process and didn't worked. After investigation, doing an alter table for adding a column seems to be the cause. Any idea
Hi Jason, Kevin,
I've filled the issue about this in our tracker: https://youtrack.jetbrains.com/issue/DBE-2772 . Feel free to follow it for updates.
You can also try 2016.2 EAP version from https://confluence.jetbrains.com/display/IDEADEV/IDEA+2016.2+EAP