Obscure error when starting fabric 1.19.4 server

I ran a binary search with all my mods and datapacks, and they don't affect it. java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonArray.iterator()" because "$$1" is null at net.minecraft.class_3331.method_14630(class_3331.java:121) ~[server-intermediary.jar:?] at net.minecraft.class_3174.method_13933(class_3174.java:85) ~[server-intermediary.jar:?] at net.minecraft.class_3174.<init>(class_3174.java:24) ~[server-intermediary.jar:?] at net.minecraft.class_3176.method_3823(class_3176.java:161) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:650) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:266) ~[server-intermediary.jar:?] at java.lang.Thread.run(Thread.java:833) ~[?:?]
17 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by interstellar_1#0
QarthO
QarthO2y ago
So if u remove every single plugin the error still persists? If it is, I’d double check ur server jar wasn’t a corrupted download (just redownload it) Make sure ur on the correct Java version for ur mc version Make sure ur using a recommended jdk !javaver
Carl-bot
Carl-bot2y ago
Recently, the Java version recommendations for Minecraft became more strict
For Minecraft <1.17, Java 11 is recommended. Minecraft 1.17 won't start without Java 16 (or newer). Minecraft 1.18 won't start without Java 17 (or newer).
Admincraft Canned Responses
Interstellar_1
Interstellar_1OP2y ago
it worked previously
QarthO
QarthO2y ago
Doesn’t hurt checking again
piggy
piggy2y ago
@QarthO
qartho has reached level 3! Roles Added: Level 3
Interstellar_1
Interstellar_1OP2y ago
it didn't work
Discount Milk
Discount Milk2y ago
Send the full logs !paste
Carl-bot
Carl-bot2y ago
You should not post your logs in-line or screenshots of your console, it makes it harder to process and us slower to reply
Use a paste service of your choice, or mclogs supporting log syntax highlight and IP filtering
Admincraft Canned Responses
QarthO
QarthO2y ago
U tried all of these?
Interstellar_1
Interstellar_1OP2y ago
just the first one, because the java version wouldn't change without user input.
Discount Milk
Discount Milk2y ago
Probably a messed up yml file
Interstellar_1
Interstellar_1OP2y ago
it happens with no mods loaded too
QarthO
QarthO2y ago
Could be a messed up config file for ur server. I’d start fresh
Interstellar_1
Interstellar_1OP2y ago
I'll just try and find a backup I guess I could just start a new server and copy over the world, mods, and config folders

Did you find this page helpful?