It is currently 16 Apr 2024, 07:54
   
Text Size

Game crashes on boot

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

Game crashes on boot

Postby NovemberMagnus » 04 Apr 2018, 11:04

I've been playing for 2 days now without issue, but today, I try changing the theme for the first time and a few taps later this happens
Screenshot_2018-04-04-03-45-19.png

On restarting the game, then restarting the tablet, I get this screen every time, though sometimes it's a different color/other minor changes.

After tapping around on this screen at random, it saved this to my clipboard

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

NullPointerException | Open
Code: Select all
Forge Version:    1.6.8.001
Operating System: Linux 3.4.0 armv7l
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:1522)
   at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
I don't know what to do, should I reinstall?
NovemberMagnus
 
Posts: 5
Joined: 04 Apr 2018, 10:47
Has thanked: 0 time
Been thanked: 1 time

Re: Game crashes on boot

Postby NovemberMagnus » 04 Apr 2018, 11:20

Well re-installing did nothing, which is the first time I've ever seen that happen. What the hell am I supposed to do now, format the tablet?
NovemberMagnus
 
Posts: 5
Joined: 04 Apr 2018, 10:47
Has thanked: 0 time
Been thanked: 1 time

Re: Game crashes on boot

Postby austinio7116 » 05 Apr 2018, 08:46

It should be possible to switch back to the default theme by manually editing your forge.properties file - reinstalling I don't think affects that file.

UI_SKIN=Default

is the line you want
User avatar
austinio7116
 
Posts: 451
Joined: 10 Mar 2017, 11:59
Has thanked: 47 times
Been thanked: 169 times

Re: Game crashes on boot

Postby timmermac » 06 Apr 2018, 11:14

Android Forge does not install all of the files necessary to use a skin other than the default. To use any other skin, there are a bunch of files that you have to copy from the default skin folder and paste into the folder for the skin that you want to use.
"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: Game crashes on boot

Postby NovemberMagnus » 07 Apr 2018, 12:16

I wound up just deleting the file of the theme I'd switched it too and that seems to have worked. :)
NovemberMagnus
 
Posts: 5
Joined: 04 Apr 2018, 10:47
Has thanked: 0 time
Been thanked: 1 time


Return to Forge

Who is online

Users browsing this forum: No registered users and 61 guests


Who is online

In total there are 61 users online :: 0 registered, 0 hidden and 61 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 61 guests

Login Form