Unable to load theme | XML Theme parsing java exception
Closed this issue · 1 comments
PoorPocketsMcNewHold commented
[INFO 2022-08-23 14:18:21 CEST][main] f.qh:8 - Loaded theme "default" in 281
[INFO 2022-08-23 14:18:21 CEST][main] f.qh:28 - refreshing uix viewport with 3440.0 x 1384.0 // 3440 x 1384 uiViewportScale: 1.0
[INFO 2022-08-23 14:18:21 CEST][main] f.ed:20 - Loaded addons in 15 milliseconds
[WARN 2022-08-23 14:18:22 CEST][main] f.KO:3 - Dialog layout has incomplete state
[INFO 2022-08-23 14:18:34 CEST][main] f.qh:-1 - Loading theme "archetype"
[INFO 2022-08-23 14:18:34 CEST][main] f.qh:4 - Theme url pokemmo://local:80theme.xml
[INFO 2022-08-23 14:18:34 CEST][main] f.sw0:11 - Generating Fonts...
[INFO 2022-08-23 14:18:35 CEST][main] f.sw0:13 - Default font to 'alphabeta-battle-feed'
[INFO 2022-08-23 14:18:35 CEST][main] f.sw0:15 - Generated fonts in 911 ms.
[WARN 2022-08-23 14:18:35 CEST][main] f.sw0:6 - Unused attribute 'repeatx' on 'area' at START_TAG seen ...ea name="EXP-Overlay" repeatx="true" xywh="*" inset="-1,-49,1,0"/>... @573:72 in pokemmo://local:80/MAsXAmMZ9W.xml
[WARN 2022-08-23 14:18:35 CEST][main] f.vs0:9 - texture partly outside of file: START_TAG seen ...2,16"/>\n\t\t<area name="battle-ui-self-slim" xywh="815,520,299,28"/>... @629:59 in pokemmo://local:80/MAsXAmMZ9W.xml
[ERROR 2022-08-23 14:18:35 CEST][main] f.qh:8 - Unable to load theme "archetype"
java.io.IOException: while parsing Theme XML: pokemmo://local:80theme.xml
at f.sw0.LA(SourceFile:3)
at f.sw0.gc0(SourceFile:5)
at f.qh.ww0(SourceFile:6)
at f.qh.Sp0(SourceFile)
at f.Py0.b5(SourceFile:2)
at f.bJ0.HF(SourceFile:238)
at f.bJ0.Ov0(SourceFile)
at f.lA0.Fi0(SourceFile)
at f.k50.wx0(SourceFile:1)
at f.k50.sB(SourceFile:6)
at f.K80.RE0(SourceFile:24)
at f.lV.nx(SourceFile:4)
at f.lV.qi(SourceFile:12)
at f.Ig0.qi(SourceFile)
at f.Hw.gw(SourceFile)
at f.oc0.gw(SourceFile)
at f.aZ.aj(SourceFile:13)
at f.Ah0.h5(SourceFile:6)
at f.sc.Et(SourceFile:8)
at f.sc.<init>(SourceFile)
at com.pokeemu.client.Client.main(SourceFile)
Caused by: java.io.IOException: while parsing Theme XML: pokemmo://local:80/w42Wg9V90m.xml
at f.sw0.LA(SourceFile:3)
at f.sw0.HE0(SourceFile:6)
... 21 common frames omitted
Caused by: java.lang.NullPointerException: loadTexture returned null
at f.sw0.HE0(SourceFile:29)
... 23 common frames omitted
[INFO 2022-08-23 14:18:38 CEST][main] f.qh:-1 - Loading theme "default"
[INFO 2022-08-23 14:18:38 CEST][main] f.qh:4 - Theme url pokemmo://local:80theme.xml
[INFO 2022-08-23 14:18:38 CEST][main] f.sw0:11 - Generating Fonts...
[INFO 2022-08-23 14:18:38 CEST][main] f.sw0:13 - Default font to 'alphabeta'
[INFO 2022-08-23 14:18:38 CEST][main] f.sw0:15 - Generated fonts in 121 ms.
[INFO 2022-08-23 14:18:38 CEST][main] f.qh:8 - Loaded theme "default" in 167
[INFO 2022-08-23 14:18:38 CEST][main] f.coM6:2 - Saved config to /home/pm/Documents/PokeMMO/config/main.properties
The language strings seem to be unrelated, even when setting the theme in English before loading it.
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - Java Vendor: Red Hat, Inc.
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - Java Version: 18.0.2
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - Java Home: /usr/lib/jvm/java-18-openjdk-18.0.2.0.9-1.rolling.fc36.x86_64
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - Client Home: /home/%OS_USERNAME%/Documents/PokeMMO
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - OS name: Linux
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - OS version: 5.18.18-201.fsync.fc36.x86_64
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - OS arch: amd64
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - JVM arch: 64
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - JVM Runtime: OpenJDK Runtime Environment
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - JVM version: 18.0.2+9
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - Max Heap Memory: 384 MB
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - Locale: fr_FR
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - File Encoding: UTF-8
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - Gdx version: 1.10.0
[INFO 2022-08-23 14:18:19 CEST][main] f.SB0:-1 - JVM Arguments: -Xmx384M -Dfile.encoding=UTF-8
ssjshields commented
fixed backlash and empty errors