It is currently 28 Aug 2025, 18:35
   
Text Size

Hey-o, having trouble with the app. Think you can help?

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

Hey-o, having trouble with the app. Think you can help?

Postby Adam V » 02 Apr 2020, 05:18

Description: All I did was press "New Game" and this happened. I had came back to the 1.6.9.005 version as I was having similar problems starting a game in the 1.6.33 version.

NullPointerException | Open
Code: Select all
Forge Version:    1.6.9.005
Operating System: Linux 3.18.31-perf-g5c5c511 armv8l
Java Version:     0 The Android Project

java.lang.NullPointerException
   at java.util.TreeMap.getEntry(TreeMap.java:348)
   at java.util.TreeMap.containsKey(TreeMap.java:233)
   at forge.itemmanager.views.ImageView.updateLayout(ImageView.java:433)
   at forge.itemmanager.views.ImageView.onRefresh(ImageView.java:382)
   at forge.itemmanager.views.ItemView.refresh(ItemView.java:116)
   at forge.itemmanager.ItemManager.updateView(ItemManager.java:790)
   at forge.itemmanager.ItemManager.setPool(ItemManager.java:416)
   at forge.itemmanager.ItemManager.setPool(ItemManager.java:406)
   at forge.deck.FDeckChooser.refreshDecksList(FDeckChooser.java:704)
   at forge.deck.FDeckChooser.restoreSavedState(FDeckChooser.java:932)
   at forge.deck.FDeckChooser.initialize(FDeckChooser.java:544)
   at forge.screens.constructed.PlayerPanel.initialize(PlayerPanel.java:260)
   at forge.screens.constructed.LobbyScreen$4.run(LobbyScreen.java:159)
   at java.lang.Thread.run(Thread.java:761)
Adam V
 
Posts: 3
Joined: 02 Apr 2020, 05:12
Has thanked: 0 time
Been thanked: 0 time

Re: Hey-o, having trouble with the app. Think you can help?

Postby CptKird » 02 Apr 2020, 09:25

Hi, this is a very odd log file..

What system/device is this running on?

If this is, what I think it is, you may be using this wrong..

K.
User avatar
CptKird
 
Posts: 182
Joined: 02 Nov 2017, 17:25
Has thanked: 36 times
Been thanked: 29 times

Re: Hey-o, having trouble with the app. Think you can help?

Postby Adam V » 02 Apr 2020, 15:13

I'm running it on Android 7.1.1 on a ZTE bladeX Android phone.
Adam V
 
Posts: 3
Joined: 02 Apr 2020, 05:12
Has thanked: 0 time
Been thanked: 0 time

Re: Hey-o, having trouble with the app. Think you can help?

Postby CptKird » 02 Apr 2020, 18:09

Hm, ok..?

What I mean is: your header in Forge.log has some entries which made me think you're running some kind of native linux OS on your mobile :shock:
(Which isn't impossible at all)

This, or similar to this, is how the header should look like on Android (I'm running LineageOS 9 here, this is from current main release 1.6.33.001):

Code: Select all
ThreadUtil first call): Running on a machine with 4 cpu core(s)
[GLThread 2210] INFO org.cache2k.core.Cache2kCoreProviderImpl - cache2k starting. version=1.2.4.Final
Language 'java.util.PropertyResourceBundle@974c9c6' loaded successfully.
Read cards: 19728 archived files in 24136 ms (25 parts) using thread pool
Read cards: 391 files in 190 ms (3 parts) using thread pool
Anyhoo... for such a downgrade it's necessary to uninstall your much newer version first AND manually erase the Forge folder on internal storage (after backing up your data and maybe cache folder, if you store the card images on internal storage as well), so that there's no trace of Forge left.

Then, if you really must use this version, after installing the apk and before launching Forge, you have to unzip the assets.zip (into your Forge folder on internal storage, overwriting all files, on conflict) from here:

https://releases.cardforge.org/forge/forge-gui-android/1.6.9.005/

and skip/ignore all future attempts of (this old version of) Forge to download "additional assets" on launch.

You basically need to keep that ancient version as it is, no updates.

Well, hope that gets you back in the game!
All the best
K.

PS: you said similar error with 1.6.33, also null pointer?
User avatar
CptKird
 
Posts: 182
Joined: 02 Nov 2017, 17:25
Has thanked: 36 times
Been thanked: 29 times

Re: Hey-o, having trouble with the app. Think you can help?

Postby Adam V » 04 Apr 2020, 03:15

It worked! And I updated back to 1.6.33 and the error there seems to be gone also. For now at least. The only issue now is lag which is most likely my device's fault. Tt ty for the help.
Adam V
 
Posts: 3
Joined: 02 Apr 2020, 05:12
Has thanked: 0 time
Been thanked: 0 time

Re: Hey-o, having trouble with the app. Think you can help?

Postby CptKird » 04 Apr 2020, 09:55

Nice!! :)
And you're welcome!
K.
User avatar
CptKird
 
Posts: 182
Joined: 02 Nov 2017, 17:25
Has thanked: 36 times
Been thanked: 29 times


Return to Forge

Who is online

Users browsing this forum: No registered users and 38 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 38 users online :: 0 registered, 0 hidden and 38 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 38 guests

Login Form