java.lang.ArrayIndexOutOfBoundsException: 0 at com.sun.java.swing.plaf.gtk.GTKEngine._paintFocus(GTKEngine.java:593) at com.sun.java.swing.plaf.gtk.GTKEngine.paintFocus(GTKEngine.java:575) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:405) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:323) at javax.swing.plaf.synth.SynthButtonUI.paintBackground(SynthButtonUI.java:184) at javax.swing.plaf.synth.SynthButtonUI.update(SynthButtonUI.java:157) at javax.swing.JComponent.paintComponent(JComponent.java:740) at javax.swing.JComponent.paint(JComponent.java:1003) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4937) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4883) at javax.swing.JComponent.paint(JComponent.java:993) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)

robocode | *anonymous | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Window won't repaint itself, window flickers in battle mode

    robocode | 1 decade ago | *anonymous
    java.lang.ArrayIndexOutOfBoundsException: 0 at com.sun.java.swing.plaf.gtk.GTKEngine._paintFocus(GTKEngine.java:593) at com.sun.java.swing.plaf.gtk.GTKEngine.paintFocus(GTKEngine.java:575) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:405) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:323) at javax.swing.plaf.synth.SynthButtonUI.paintBackground(SynthButtonUI.java:184) at javax.swing.plaf.synth.SynthButtonUI.update(SynthButtonUI.java:157) at javax.swing.JComponent.paintComponent(JComponent.java:740) at javax.swing.JComponent.paint(JComponent.java:1003) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4937) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4883) at javax.swing.JComponent.paint(JComponent.java:993) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
  2. 0

    Get ArrayOutOfBound Exception when try to switch from absoluteLayout to gridBagLayout

    Netbeans Bugzilla | 1 decade ago | annawang
    java.lang.ArrayIndexOutOfBoundsException: 512

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0 at com.sun.java.swing.plaf.gtk.GTKEngine._paintFocus(GTKEngine.java:593) at com.sun.java.swing.plaf.gtk.GTKEngine.paintFocus(GTKEngine.java:575) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:405) at com.sun.java.swing.plaf.gtk.GTKPainter.paintButtonBackground(GTKPainter.java:323) at javax.swing.plaf.synth.SynthButtonUI.paintBackground(SynthButtonUI.java:184) at javax.swing.plaf.synth.SynthButtonUI.update(SynthButtonUI.java:157) at javax.swing.JComponent.paintComponent(JComponent.java:740) at javax.swing.JComponent.paint(JComponent.java:1003) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paint(JComponent.java:1012) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:840) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4937) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4883) at javax.swing.JComponent.paint(JComponent.java:993) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)

      at java.awt.Container.paint()
    2. Java RT
      Container.paint
      1. java.awt.Container.paint(Container.java:1709)
      1 frame