java.lang.IllegalStateException: Buffers have not been created

robocode | simonton | 9 years 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

    Resizing kills the round

    robocode | 9 years ago | simonton
    java.lang.IllegalStateException: Buffers have not been created

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Buffers have not been created

      at sun.awt.X11.XComponentPeer.getBackBuffer()
    2. sun.awt.X11
      XComponentPeer.getBackBuffer
      1. sun.awt.X11.XComponentPeer.getBackBuffer(XComponentPeer.java:1288)
      1 frame
    3. Java RT
      Component$FlipBufferStrategy.getDrawGraphics
      1. java.awt.Component$FlipBufferStrategy.getBackBuffer(Component.java:3620)
      2. java.awt.Component$FlipBufferStrategy.updateInternalBuffers(Component.java:3605)
      3. java.awt.Component$FlipBufferStrategy.revalidate(Component.java:3699)
      4. java.awt.Component$FlipBufferStrategy.revalidate(Component.java:3681)
      5. java.awt.Component$FlipBufferStrategy.getDrawGraphics(Component.java:3673)
      5 frames
    4. robocode.battleview
      BattleView.update
      1. robocode.battleview.BattleView.update(Unknown Source)
      1 frame
    5. robocode.battle
      Battle.run
      1. robocode.battle.Battle.runRound(Unknown Source)
      2. robocode.battle.Battle.run(Unknown Source)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame