I ran into a disk space problem with my Multicraft server, so I rebuilt it. It's running under Ubuntu 18.04. I added the worlds as new server instances, moved the files over to the new server, changed the file ownership as needed, and updated all the configuration files. Six of the nine servers work correctly, including two modded servers, but three crash on startup. This may have been a result of the space issue on the old server, but they were running ok prior to that.
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)
but the problems persist. The errors that the servers logged are below. Any suggestions as to how to fix them is appreciated. A lot of hours of hard work went into some of these worlds!
Fortress
---- Minecraft Crash Report ----
// I feel sad now
Time: 7/11/20, 7:12 PM
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at abt.f(SourceFile:121)
at yc.y(SourceFile:95)
at yc.<init>(SourceFile:22)
at yd.d(SourceFile:165)
at net.minecraft.server.MinecraftServer.v(SourceFile:647)
at net.minecraft.server.MinecraftServer.a(SourceFile:256)
at java.base/java.lang.Thread.run(Thread.java:834)
A detailed walkthrough of the error, its code path and all known details is as follows:
I ran into a disk space problem with my Multicraft server, so I rebuilt it. It's running under Ubuntu 18.04. I added the worlds as new server instances, moved the files over to the new server, changed the file ownership as needed, and updated all the configuration files. Six of the nine servers work correctly, including two modded servers, but three crash on startup. This may have been a result of the space issue on the old server, but they were running ok prior to that.
I was running java --version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~18.04-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
I subsequently installed java --version
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)
but the problems persist. The errors that the servers logged are below. Any suggestions as to how to fix them is appreciated. A lot of hours of hard work went into some of these worlds!
Fortress
---- Minecraft Crash Report ----
// I feel sad now
Time: 7/11/20, 7:12 PM
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at abt.f(SourceFile:121)
at yc.y(SourceFile:95)
at yc.<init>(SourceFile:22)
at yd.d(SourceFile:165)
at net.minecraft.server.MinecraftServer.v(SourceFile:647)
at net.minecraft.server.MinecraftServer.a(SourceFile:256)
at java.base/java.lang.Thread.run(Thread.java:834)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.16.1
Minecraft Version ID: 1.16.1
Operating System: Linux (amd64) version 5.3.0-62-generic
Java Version: 11.0.7, Ubuntu
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Ubuntu
Memory: 8829102784 bytes (8420 MB) / 9281994752 bytes (8852 MB) up to 17179869184 bytes (16384 MB)
CPUs: 8
JVM Flags: 2 total; -Xmx16384M -Xms8192M
Data Packs: vanilla
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Primaria
---- Minecraft Crash Report ----
// I just don't know what went wrong
Time: 7/11/20, 7:17 PM
Description: Exception in server tick loop
com.google.gson.JsonParseException: java.io.EOFException: End of input at line 1 column 1 path $
at zs.a(SourceFile:507)
at zs.a(SourceFile:523)
at xz.g(SourceFile:146)
at uj.z(SourceFile:98)
at uj.<init>(SourceFile:25)
at uk.d(SourceFile:185)
at net.minecraft.server.MinecraftServer.run(SourceFile:615)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.EOFException: End of input at line 1 column 1 path $
at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:425)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:74)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61)
at zs.a(SourceFile:505)
... 7 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.14.4
Minecraft Version ID: 1.14.4
Operating System: Linux (amd64) version 5.3.0-62-generic
Java Version: 11.0.7, Ubuntu
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Ubuntu
Memory: 1307207744 bytes (1246 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
CPUs: 8
JVM Flags: 2 total; -Xmx2048M -Xms2048M
Data Packs:
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Tristate Area
---- Minecraft Crash Report ----
// I bet Cylons wouldn't have this problem.
Time: 7/11/20, 7:13 PM
Description: Exception in server tick loop
java.lang.NullPointerException: Exception in server tick loop
at abt.f(SourceFile:121)
at yc.y(SourceFile:95)
at yc.<init>(SourceFile:22)
at yd.d(SourceFile:165)
at net.minecraft.server.MinecraftServer.v(SourceFile:647)
at net.minecraft.server.MinecraftServer.a(SourceFile:256)
at java.base/java.lang.Thread.run(Thread.java:834)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.16.1
Minecraft Version ID: 1.16.1
Operating System: Linux (amd64) version 5.3.0-62-generic
Java Version: 11.0.7, Ubuntu
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Ubuntu
Memory: 1793332992 bytes (1710 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
CPUs: 8
JVM Flags: 2 total; -Xmx2048M -Xms2048M
Data Packs: vanilla
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Java 11 is not supported, use Java 8.
The problem is caused by empty .json configuration files. If they're zero length, they cause a server crash on startup.
I added a couple of characters to the offending files and all three worlds start up correctly.