It is currently 18 Oct 2017, 13:04
   
Text Size

Android Crash :Fixed

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

Android Crash :Fixed

Postby Sinistrality » 19 Jul 2017, 16:57

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.6.0.004
Operating System: Linux 4.4.16-11449429 armv8l
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:546)
   at forge.assets.FTextureRegionImage.draw(FTextureRegionImage.java:42)
   at forge.Graphics.drawImage(Graphics.java:540)
   at forge.screens.match.views.VAvatar.draw(VAvatar.java:59)
   at forge.Graphics.draw(Graphics.java:147)
   at forge.toolbox.FContainer.draw(FContainer.java:64)
   at forge.Graphics.draw(Graphics.java:147)
   at forge.toolbox.FContainer.draw(FContainer.java:64)
   at forge.toolbox.FScrollPane.draw(FScrollPane.java:312)
   at forge.Graphics.draw(Graphics.java:147)
   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:1562)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1262)
Sinistrality
 
Posts: 2
Joined: 19 Jul 2017, 16:54
Has thanked: 0 time
Been thanked: 0 time

Re: Android Crash :Fixed

Postby Sinistrality » 23 Jul 2017, 00:46

It was my change of theme. Once I switched the theme back to default, it works again.
Sinistrality
 
Posts: 2
Joined: 19 Jul 2017, 16:54
Has thanked: 0 time
Been thanked: 0 time


Return to Forge

Who is online

Users browsing this forum: jtrowell and 7 guests


Who is online

In total there are 8 users online :: 1 registered, 0 hidden and 7 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: jtrowell and 7 guests

Login Form