java.lang.IndexOutOfBoundsException: Index: 1, Size: 1

YouTrack | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Modify table not responding

    YouTrack | 7 months ago
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  2. 0

    exception with sql subselects

    GitHub | 2 years ago | p1tz
    com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.select * from sqltestmodel where title = ? and id in (select id from sqltestmodel where title = ? or title = ?) limit 1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Project Euler Solution #3 (Java): Debugging

    Stack Overflow | 2 years ago | hydromend
    java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 1, Size: 1

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:653)
    2. java.util.ArrayList.get(ArrayList.java:429)
    2 frames
  3. com.intellij.openapi
    EditorView.invalidateRange
    1. com.intellij.openapi.editor.impl.view.TextLayoutCache.a(TextLayoutCache.java:117)
    2. com.intellij.openapi.editor.impl.view.TextLayoutCache.invalidateLines(TextLayoutCache.java:110)
    3. com.intellij.openapi.editor.impl.view.EditorView.invalidateRange(EditorView.java:296)
    3 frames
  4. IDEA
    EditorImpl.setHighlighter
    1. com.intellij.openapi.editor.impl.EditorImpl.repaint(EditorImpl.java:1821)
    2. com.intellij.openapi.editor.impl.EditorImpl.repaint(EditorImpl.java:1809)
    3. com.intellij.openapi.editor.ex.util.LexerEditorHighlighter$1.run(LexerEditorHighlighter.java:340)
    4. com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2405)
    5. com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:337)
    6. com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:302)
    7. com.intellij.openapi.editor.impl.EditorImpl.setHighlighter(EditorImpl.java:1200)
    7 frames
  5. com.intellij.database
    DatabaseEditorUtil$DbListTable$1.customizeEditor
    1. com.intellij.database.view.editors.DatabaseEditorUtil$DbListTable$1.customizeEditor(DatabaseEditorUtil.java:281)
    1 frame
  6. IDEA
    JBListTable$MyTable$1.getTableCellRendererComponent
    1. com.intellij.ui.EditorTextFieldCellRenderer.getTableCellRendererComponent(EditorTextFieldCellRenderer.java:108)
    2. com.intellij.util.ui.table.EditorTextFieldJBTableRowRenderer.getRowRendererComponent(EditorTextFieldJBTableRowRenderer.java:35)
    3. com.intellij.util.ui.table.JBListTable$MyTable$1.getTableCellRendererComponent(JBListTable.java:372)
    3 frames
  7. Openapi
    JBTable.getRowHeight
    1. com.intellij.ui.table.JBTable.calculateRowHeight(JBTable.java:161)
    2. com.intellij.ui.table.JBTable.getRowHeight(JBTable.java:139)
    2 frames
  8. Java RT
    JComponent.getPreferredSize
    1. javax.swing.JTable.getRowHeight(JTable.java:992)
    2. javax.swing.JTable.getCellRect(JTable.java:2937)
    3. javax.swing.plaf.basic.BasicTableUI.createTableSize(BasicTableUI.java:1694)
    4. javax.swing.plaf.basic.BasicTableUI.getPreferredSize(BasicTableUI.java:1733)
    5. javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
    6. javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.java:495)
    7. java.awt.Container.preferredSize(Container.java:1794)
    8. java.awt.Container.getPreferredSize(Container.java:1778)
    9. javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    10. java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
    11. java.awt.Container.preferredSize(Container.java:1794)
    12. java.awt.Container.getPreferredSize(Container.java:1778)
    13. javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    14. java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
    15. java.awt.Container.preferredSize(Container.java:1794)
    16. java.awt.Container.getPreferredSize(Container.java:1778)
    17. javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    17 frames
  9. DSL
    JBTabsImpl.getPreferredSize
    1. com.intellij.ui.tabs.impl.JBTabsImpl$24.fun(JBTabsImpl.java:2414)
    2. com.intellij.ui.tabs.impl.JBTabsImpl$24.fun(JBTabsImpl.java:2411)
    3. com.intellij.ui.tabs.impl.JBTabsImpl.computeSize(JBTabsImpl.java:2443)
    4. com.intellij.ui.tabs.impl.JBTabsImpl.getPreferredSize(JBTabsImpl.java:2411)
    4 frames
  10. Java RT
    JComponent.getPreferredSize
    1. java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719)
    2. java.awt.Container.preferredSize(Container.java:1794)
    3. java.awt.Container.getPreferredSize(Container.java:1778)
    4. javax.swing.JComponent.getPreferredSize(JComponent.java:1664)
    4 frames
  11. Jetbrains uiDesigner
    GridLayoutManager.layoutContainer
    1. com.intellij.uiDesigner.core.Util.getPreferredSize(Util.java:55)
    2. com.intellij.uiDesigner.core.DimensionInfo.getPreferredSize(DimensionInfo.java:230)
    3. com.intellij.uiDesigner.core.HorizontalInfo.getPreferredWidth(HorizontalInfo.java:52)
    4. com.intellij.uiDesigner.core.GridLayoutManager.getMinOrPrefSizes(GridLayoutManager.java:661)
    5. com.intellij.uiDesigner.core.GridLayoutManager.getPrefSizes(GridLayoutManager.java:630)
    6. com.intellij.uiDesigner.core.GridLayoutManager.preferredLayoutSize(GridLayoutManager.java:274)
    7. com.intellij.uiDesigner.core.GridLayoutManager.layoutContainer(GridLayoutManager.java:409)
    7 frames
  12. Java RT
    EventQueue.dispatchEvent
    1. java.awt.Container.layout(Container.java:1508)
    2. java.awt.Container.doLayout(Container.java:1497)
    3. java.awt.Container.validateTree(Container.java:1693)
    4. java.awt.Container.validateTree(Container.java:1702)
    5. java.awt.Container.validateTree(Container.java:1702)
    6. java.awt.Container.validateTree(Container.java:1702)
    7. java.awt.Container.validateTree(Container.java:1702)
    8. java.awt.Container.validateTree(Container.java:1702)
    9. java.awt.Container.validateTree(Container.java:1702)
    10. java.awt.Container.validateTree(Container.java:1702)
    11. java.awt.Container.validateTree(Container.java:1702)
    12. java.awt.Container.validateTree(Container.java:1702)
    13. java.awt.Container.validate(Container.java:1628)
    14. java.awt.Window.dispatchEventImpl(Window.java:2748)
    15. java.awt.Component.dispatchEvent(Component.java:4703)
    16. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    17. java.awt.EventQueue.access$500(EventQueue.java:97)
    18. java.awt.EventQueue$3.run(EventQueue.java:709)
    19. java.awt.EventQueue$3.run(EventQueue.java:703)
    20. java.security.AccessController.doPrivileged(Native Method)
    21. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    22. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    23. java.awt.EventQueue$4.run(EventQueue.java:731)
    24. java.awt.EventQueue$4.run(EventQueue.java:729)
    25. java.security.AccessController.doPrivileged(Native Method)
    26. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    27. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    27 frames
  13. IDEA
    IdeEventQueue.dispatchEvent
    1. com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:857)
    2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
    3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
    3 frames
  14. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    6 frames