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
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
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
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
it worked previously
Doesn’t hurt checking again
@QarthO
qartho has reached level 3!
Roles Added:
Level 3
it didn't work
Send the full logs
!paste
U tried all of these?
just the first one, because the java version wouldn't change without user input.
Probably a messed up yml file
it happens with no mods loaded too
Could be a messed up config file for ur server. I’d start fresh
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