java.lang.IndexOutOfBoundsException: Wrong line: 56. Available lines count: 17

GitHub | sis-yoshiday | 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

    java.lang.IndexOutOfBoundsException

    GitHub | 7 months ago | sis-yoshiday
    java.lang.IndexOutOfBoundsException: Wrong line: 56. Available lines count: 17
  2. 0

    Incorrect handling of multiple classes with same package and name (in different modules)

    GitHub | 1 year ago | michalkochanowicz
    java.lang.IndexOutOfBoundsException: Wrong line: 456. Available lines count: 313
  3. 0

    Wrong line: 20. Available lines count: 16

    GitHub | 2 months ago | shanaithal
    java.lang.IndexOutOfBoundsException: Wrong line: 20. Available lines count: 16
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IndexOutOfBound in PlantUmlExternalAnnotator

    GitHub | 2 years ago | esteinberg
    java.lang.IndexOutOfBoundsException: Wrong line: 233. Available lines count: 67
  6. 0

    Index out of Bound Exception (v1.6.1)

    GitHub | 2 years ago | esteinberg
    java.lang.IndexOutOfBoundsException: Wrong line: 254. Available lines count: 36

    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

      Wrong line: 56. Available lines count: 17

      at com.intellij.openapi.editor.impl.LineSet.a()
    2. IDEA
      DocumentImpl.getLineStartOffset
      1. com.intellij.openapi.editor.impl.LineSet.a(LineSet.java:170)
      2. com.intellij.openapi.editor.impl.LineSet.getLineStart(LineSet.java:155)
      3. com.intellij.openapi.editor.impl.DocumentImpl.getLineStartOffset(DocumentImpl.java:931)
      3 frames
    3. org.twodividedbyzero.idea
      BugTree$SelectionListenerImpl.valueChanged
      1. org.twodividedbyzero.idea.findbugs.gui.toolwindow.view.BugTreePanel.createEditor(BugTreePanel.java:215)
      2. org.twodividedbyzero.idea.findbugs.gui.toolwindow.view.BugTreePanel.setPreview(BugTreePanel.java:171)
      3. org.twodividedbyzero.idea.findbugs.gui.tree.view.BugTree$SelectionListenerImpl.valueChanged(BugTree.java:305)
      3 frames
    4. Java RT
      BasicTreeUI$Handler.mousePressed
      1. javax.swing.JTree.fireValueChanged(JTree.java:2927)
      2. javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3391)
      3. javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
      4. javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
      5. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
      6. javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
      7. javax.swing.JTree.setSelectionPath(JTree.java:1634)
      8. javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2393)
      9. javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3609)
      10. javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3548)
      10 frames
    5. IDEA
      MouseEventAdapter.mousePressed
      1. com.intellij.util.ui.MouseEventAdapter.mousePressed(MouseEventAdapter.java:42)
      1 frame
    6. Java RT
      EventQueue.dispatchEvent
      1. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
      2. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
      3. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
      4. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
      5. java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
      6. java.awt.Component.processMouseEvent(Component.java:6530)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      8. java.awt.Component.processEvent(Component.java:6298)
      9. java.awt.Container.processEvent(Container.java:2236)
      10. java.awt.Component.dispatchEventImpl(Component.java:4889)
      11. java.awt.Container.dispatchEventImpl(Container.java:2294)
      12. java.awt.Component.dispatchEvent(Component.java:4711)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      16. java.awt.Container.dispatchEventImpl(Container.java:2280)
      17. java.awt.Window.dispatchEventImpl(Window.java:2746)
      18. java.awt.Component.dispatchEvent(Component.java:4711)
      19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      20. java.awt.EventQueue.access$500(EventQueue.java:97)
      21. java.awt.EventQueue$3.run(EventQueue.java:709)
      22. java.awt.EventQueue$3.run(EventQueue.java:703)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      26. java.awt.EventQueue$4.run(EventQueue.java:731)
      27. java.awt.EventQueue$4.run(EventQueue.java:729)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      30. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      30 frames
    7. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:695)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    8. 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