java.lang.NullPointerException

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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.watabou.gltextures.SmartTexture.<init>()
  2. com.watabou.gltextures
    TextureCache.get
    1. com.watabou.gltextures.SmartTexture.<init>(SmartTexture.java:47)
    2. com.watabou.gltextures.SmartTexture.<init>(SmartTexture.java:41)
    3. com.watabou.gltextures.TextureCache.get(TextureCache.java:68)
    3 frames
  3. 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
  4. com.shatteredpixel.shatteredpixeldungeon
    TrapSprite.<init>
    1. com.shatteredpixel.shatteredpixeldungeon.sprites.TrapSprite.<init>(TrapSprite.java:18)
    1 frame
  5. 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
  6. libGDX Core
    ClassReflection.newInstance
    1. com.badlogic.gdx.utils.reflect.ClassReflection.newInstance(ClassReflection.java:63)
    1 frame
  7. com.watabou.noosa
    Group.recycle
    1. com.watabou.noosa.Group.recycle(Group.java:158)
    1 frame
  8. 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
  9. 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
  10. 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