java.lang.IndexOutOfBoundsException

Index: 1, Size: 1

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6999

  • Index: 1, Size: 1
  • Index: 1, Size: 1
  • Stack trace

    • 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.openapi.editor.impl.EditorImpl.setHighlighter(EditorImpl.java:1200) at com.intellij.database.view.editors.DatabaseEditorUtil$DbListTable$1.customizeEditor(DatabaseEditorUtil.java:281) 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:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1664) at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1664) at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) 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:1794) at java.awt.Container.getPreferredSize(Container.java:1778) 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 com.intellij.uiDesigner.core.GridLayoutManager.layoutContainer(GridLayoutManager.java:409) at java.awt.Container.layout(Container.java:1508) at java.awt.Container.doLayout(Container.java:1497) at java.awt.Container.validateTree(Container.java:1693) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validateTree(Container.java:1702) at java.awt.Container.validate(Container.java:1628) at java.awt.Window.dispatchEventImpl(Window.java:2748) at java.awt.Component.dispatchEvent(Component.java:4703) 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$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.security.ProtectionDomain$1.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$1.doIntersectionPrivilege(ProtectionDomain.java:75) 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:658) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 month ago
    2 times, 2 months ago
    12 times, 2 months ago
    Once, 3 months ago
    3 times, 4 months ago
    239 more bugmates