com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: traps.png

GitHub | Thimoteus | 2 years 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

    Linux desktop version crashes

    GitHub | 2 years ago | Thimoteus
    com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: traps.png
  2. 0

    Pixmap bad compression exception on iOS devices

    GitHub | 3 years ago | dhpinfotech
    com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: BPlane.png
  3. 0

    Can`t load an simple image. Libgdx

    Stack Overflow | 2 years ago | Vaclovas RekaĊĦius Jr.
    com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: devlogo.png
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    LibGDX random error

    Stack Overflow | 2 years ago
    com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: badlogic.jpg
  6. 0

    LibGdx image loads on Desktop but not Android

    Stack Overflow | 2 years ago | Steven Landow
    com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: gui/up.png

    5 unregistered visitors
    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. com.badlogic.gdx.utils.GdxRuntimeException

      File not found: traps.png (Internal)

      at com.badlogic.gdx.files.FileHandle.read()
    2. libGDX Core
      Texture.<init>
      1. com.badlogic.gdx.files.FileHandle.read(FileHandle.java:136)
      2. com.badlogic.gdx.files.FileHandle.readBytes(FileHandle.java:222)
      3. com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:137)
      4. com.badlogic.gdx.graphics.glutils.FileTextureData.prepare(FileTextureData.java:64)
      5. com.badlogic.gdx.graphics.Texture.load(Texture.java:130)
      6. com.badlogic.gdx.graphics.Texture.<init>(Texture.java:121)
      7. com.badlogic.gdx.graphics.Texture.<init>(Texture.java:100)
      8. com.badlogic.gdx.graphics.Texture.<init>(Texture.java:92)
      9. com.badlogic.gdx.graphics.Texture.<init>(Texture.java:88)
      9 frames
    3. com.watabou.gdx
      GdxTexture.<init>
      1. com.watabou.gdx.GdxTexture.<init>(GdxTexture.java:10)
      1 frame
    4. com.watabou.gltextures
      TextureCache.get
      1. com.watabou.gltextures.TextureCache.getBitmap(TextureCache.java:100)
      2. com.watabou.gltextures.TextureCache.get(TextureCache.java:68)
      2 frames
    5. com.watabou.noosa
      Image.<init>
      1. com.watabou.noosa.Image.texture(Image.java:64)
      2. com.watabou.noosa.Image.<init>(Image.java:55)
      2 frames
    6. com.shatteredpixel.shatteredpixeldungeon
      TrapSprite.<init>
      1. com.shatteredpixel.shatteredpixeldungeon.sprites.TrapSprite.<init>(TrapSprite.java:18)
      1 frame
    7. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.Class.newInstance(Class.java:379)
      5 frames
    8. libGDX Core
      ClassReflection.newInstance
      1. com.badlogic.gdx.utils.reflect.ClassReflection.newInstance(ClassReflection.java:63)
      1 frame
    9. com.watabou.noosa
      Group.recycle
      1. com.watabou.noosa.Group.recycle(Group.java:158)
      1 frame
    10. com.shatteredpixel.shatteredpixeldungeon
      GameScene.create
      1. com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene.addTrapSprite(GameScene.java:478)
      2. com.shatteredpixel.shatteredpixeldungeon.scenes.GameScene.create(GameScene.java:173)
      2 frames
    11. com.watabou.noosa
      Game.render
      1. com.watabou.noosa.Game.switchScene(Game.java:222)
      2. com.watabou.noosa.Game.step(Game.java:201)
      3. com.watabou.noosa.Game.render(Game.java:137)
      3 frames
    12. libGDX LWJGL Backend
      LwjglApplication$1.run
      1. com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
      2. com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
      2 frames