java.lang.ArrayIndexOutOfBoundsException: 20003

Game Development | kacpr | 6 months 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

    Libgdx drawing a circle with large radius causes exception

    Game Development | 6 months ago | kacpr
    java.lang.ArrayIndexOutOfBoundsException: 20003

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      20003

      at com.badlogic.gdx.graphics.glutils.ImmediateModeRenderer20.color()
    2. libGDX Core
      ShapeRenderer.circle
      1. com.badlogic.gdx.graphics.glutils.ImmediateModeRenderer20.color(ImmediateModeRenderer20.java:116)
      2. com.badlogic.gdx.graphics.glutils.ShapeRenderer.circle(ShapeRenderer.java:880)
      3. com.badlogic.gdx.graphics.glutils.ShapeRenderer.circle(ShapeRenderer.java:844)
      3 frames
    3. com.kacpr.solar
      SolarSystem.render
      1. com.kacpr.solar.system.Planet.draw(Planet.java:74)
      2. com.kacpr.solar.system.SolarSystem.render(SolarSystem.java:66)
      2 frames
    4. libGDX LWJGL Backend
      LwjglApplication$1.run
      1. com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:223)
      2. com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
      2 frames