java.lang.ArrayIndexOutOfBoundsException: 2 >= 2

Oracle Community | 807577 | 1 decade ago
  1. 0

    JTable repaint sometimes causes array error

    Oracle Community | 1 decade ago | 807577
    java.lang.ArrayIndexOutOfBoundsException: 2 >= 2
  2. 0

    Exception in thread awt eventqueue 0 java lang arrayindexoutofboundsexception 9 - Java Programming Help - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.ArrayIndexOutOfBoundsException: 18 t sun.font.ExtendedTextSourceLabel.getJustificationI nfos(ExtendedTextSourceLabel.java:946) at java.awt.font.TextLine.getJustifiedLine(TextLine.j ava:1353) at java.awt.font.TextLayout.getJustifiedLayout(TextLa yout.java:808) at sun.swing.SwingUtilities2.drawString(SwingUtilitie s2.java:511) at sun.swing.SwingUtilities2.drawStringUnderlineCharA t(SwingUtilities2.java:593) at javax.swing.plaf.synth.SynthGraphicsUtils.paintTex t(SynthGraphicsUtils.java:340) at javax.swing.plaf.synth.SynthGraphicsUtils.paintTex t(SynthGraphicsUtils.java:319) at javax.swing.plaf.synth.SynthGraphicsUtils.paintTex t(SynthGraphicsUtils.java:410) at javax.swing.plaf.synth.SynthLabelUI.paint(SynthLab elUI.java:213) at javax.swing.plaf.synth.SynthLabelUI.update(SynthLa belUI.java:177) at javax.swing.JComponent.paintComponent(JComponent.j ava:778) at javax.swing.JComponent.printComponent(JComponent.j ava:1218)
  3. 0

    ArrayIndexOutOfBoundsException somewhere in tree painting (?)

    GitHub | 1 year ago | MightyPork
    java.lang.ArrayIndexOutOfBoundsException: No such child: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception that I cannot track (Swing / AWT / SWT forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
  6. 0

    Java 1652 javax print attribute printrequestattributeset is abstract cannot be inst - Java Programming - KnowCoding.com

    knowcoding.com | 12 months ago
    java.lang.ArrayIndexOutOfBoundsException: 18 t sun.font.ExtendedTextSourceLabel.getJustificationI nfos(ExtendedTextSourceLabel.java:946) at java.awt.font.TextLine.getJustifiedLine(TextLine.j ava:1353) at java.awt.font.TextLayout.getJustifiedLayout(TextLa yout.java:808) at sun.swing.SwingUtilities2.drawString(SwingUtilitie s2.java:511) at sun.swing.SwingUtilities2.drawStringUnderlineCharA t(SwingUtilities2.java:593) at javax.swing.plaf.synth.SynthGraphicsUtils.paintTex t(SynthGraphicsUtils.java:340) at javax.swing.plaf.synth.SynthGraphicsUtils.paintTex t(SynthGraphicsUtils.java:319) at javax.swing.plaf.synth.SynthGraphicsUtils.paintTex t(SynthGraphicsUtils.java:410) at javax.swing.plaf.synth.SynthLabelUI.paint(SynthLab elUI.java:213) at javax.swing.plaf.synth.SynthLabelUI.update(SynthLa belUI.java:177) at javax.swing.JComponent.paintComponent(JComponent.j ava:778) at javax.swing.JComponent.printComponent(JComponent.j ava:1218)

    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.ArrayIndexOutOfBoundsException

      2 >= 2

      at java.util.Vector.elementAt()
    2. Java RT
      JComponent.paint
      1. java.util.Vector.elementAt(Vector.java:427)
      2. javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277)
      3. javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1047)
      4. javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
      5. javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
      6. javax.swing.JComponent.paintComponent(JComponent.java:541)
      7. javax.swing.JComponent.paint(JComponent.java:808)
      7 frames