It is currently 18 Apr 2024, 12:14
   
Text Size

Mobile Crash report can't play

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

Mobile Crash report can't play

Postby discodingle » 06 Jul 2018, 07:15

Description: Playing Quest with custom deck, beat first opponent. Changed theme to see what the others looked like. On loading next opponent game crashed and won't reload without giving error and crash report . UI disappeared. Tried uninstalling/reinstalling and deleting game data to no avail. Android platform latest (1.6) update.

edit: Using Google Pixel 2 Android 8.1. I can't open the app without getting the error, after the initial loading process. I'd rather not have to factory reset my phone but I could if I need to. Thanks!

NullPointerException | Open
Code: Select all
Forge Version:    1.6.11.001
Operating System: Linux 4.4.88-g1b72a7fee7bf armv8l
Java Version:     0 The Android Project

java.lang.NullPointerException: Attempt to invoke virtual method 'int com.badlogic.gdx.graphics.g2d.TextureRegion.getRegionWidth()' on a null object reference
   at forge.assets.FTextureRegionImage.getWidth(FTextureRegionImage.java:17)
   at forge.toolbox.FLabel.drawContent(FLabel.java:325)
   at forge.toolbox.FLabel.drawContent(FLabel.java:319)
   at forge.toolbox.FLabel.draw(FLabel.java:301)
   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.Graphics.draw(Graphics.java:147)
   at forge.screens.FScreen.draw(FScreen.java:159)
   at forge.Forge.render(Forge.java:321)
   at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:422)
   at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1571)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
discodingle
 
Posts: 3
Joined: 15 Jan 2017, 18:28
Has thanked: 0 time
Been thanked: 0 time

Re: Mobile Crash report can't play

Postby timmermac » 06 Jul 2018, 21:39

You are getting this error because the Android version only comes with the files necessary to load the default theme. If you use a file manager and compare the default skin folder to the other skin folders, you'll see that the others are missing ~10 files. Copying the missing files from the default folder to the folder for the skin you want to use will let you use that skin.
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Mobile Crash report can't play

Postby discodingle » 06 Jul 2018, 21:55

Thanks! I didn't realise those files were missing.

I got into my DCIM and deleted the forge file and redownloaded it and it's now working.
discodingle
 
Posts: 3
Joined: 15 Jan 2017, 18:28
Has thanked: 0 time
Been thanked: 0 time


Return to Forge

Who is online

Users browsing this forum: No registered users and 60 guests


Who is online

In total there are 60 users online :: 0 registered, 0 hidden and 60 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 60 guests

Login Form