Page 1 of 1

Game crashing bug

PostPosted: 16 Dec 2016, 14:15
by Sulfur
Anytime I try to play offline, even testing a deck, the game immediately crashes. Only when choosing "test deck" does it give me the option to report.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.58.005
Operating System: Linux 3.4.0-g324264e armv7l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to read from field 'com.badlogic.gdx.graphics.Texture com.badlogic.gdx.graphics.g2d.TextureRegion.texture' on a null object reference
   at com.badlogic.gdx.graphics.g2d.SpriteBatch.draw(SpriteBatch.java:592)
   at forge.Graphics.drawImage(Graphics.java:543)
   at forge.assets.FTextureRegionImage.draw(FTextureRegionImage.java:42)
   at forge.Graphics.drawImage(Graphics.java:537)
   at forge.screens.match.views.VAvatar.draw(VAvatar.java:59)
   at forge.Graphics.draw(Graphics.java:144)
   at forge.toolbox.FContainer.draw(FContainer.java:64)
   at forge.Graphics.draw(Graphics.java:144)
   at forge.toolbox.FContainer.draw(FContainer.java:64)
   at forge.toolbox.FScrollPane.draw(FScrollPane.java:312)
   at forge.Graphics.draw(Graphics.java:144)
   at forge.toolbox.FContainer.draw(FContainer.java:64)
   at forge.screens.FScreen.draw(FScreen.java:164)
   at forge.Forge.render(Forge.java:317)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:422)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

Re: Game crashing bug

PostPosted: 16 Dec 2016, 14:22
by Sulfur
Screenshot_2016-12-16-08-20-45.png
This is the mess I get when I try selecting "New game"

Re: Game crashing bug

PostPosted: 18 Dec 2016, 13:42
by Agetian
This *might* be caused by using a theme that is outdated and thus not fully supported by current Forge. Can you try changing the game theme and see if that helps? (try the default theme first to test whether that's the cause).

- Agetian