It is currently 23 Jul 2019, 02:38
   
Text Size

Bug report android app

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins

Bug report android app

Postby doctorase » 27 Jan 2017, 22:21

Description: When i start any type of new game match or i want to change the enemy avatar, the game crash with that error

NullPointerException | Open
Code: Select all
Forge Version:    1.5.59.002
Operating System: Linux 3.10.72-user-00042-ga696304-cIf1ca45b aarch64
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:326)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:422)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1583)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)
doctorase
 
Posts: 4
Joined: 27 Jan 2017, 22:13
Has thanked: 0 time
Been thanked: 2 times

Re: Bug report android app

Postby Agetian » 30 Jan 2017, 13:55

It looks like your skins/sprites folder might have somehow become corrupt, I recommend removing Forge completely (except for card picture cache) and reinstalling it from scratch.

- Agetian
Agetian
Programmer
 
Posts: 3341
Joined: 14 Mar 2011, 05:58
Has thanked: 641 times
Been thanked: 495 times

Re: Bug report android app

Postby doctorase » 30 Jan 2017, 14:25

Thx!
doctorase
 
Posts: 4
Joined: 27 Jan 2017, 22:13
Has thanked: 0 time
Been thanked: 2 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 5 guests


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 5 guests

Login Form