Server crashes after Restarting


#1

So after 3 Weeks of absence/inactivity in my Pixelmon Server I saw that a new Version of Pixelmon was released so I updated it along with the Sidemods-Plugins. But after that it just only crashed and I couldnt get it working.
So this is the crashreport from it

---- Minecraft Crash Report ----

WARNING: coremods are present:
SpongeCoremod (spongeforge-1.12.2-2825-7.1.6.jar)
Contact their authors BEFORE contacting forge

// Hey, that tickles! Hehehe!

Time: 04.07.19 15:06
Description: Exception in server tick loop

java.lang.RuntimeException: derp
at net.minecraft.world.storage.SaveHandler.redirect$onLoadWorldInfo$bde000(SaveHandler.java:1073)
at net.minecraft.world.storage.SaveHandler.func_75757_d(SaveHandler.java:132)
at org.spongepowered.common.world.WorldManager.loadAllWorlds(WorldManager.java:732)
at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:3550)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:270)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Attempt failed when reading Sponge level data for [world] from file [level_sponge.dat]!
at net.minecraft.world.storage.SaveHandler.loadSpongeDatData(SaveHandler.java:618)
at net.minecraft.world.storage.SaveHandler.redirect$onLoadWorldInfo$bde000(SaveHandler.java:1071)
… 6 more
Caused by: java.io.EOFException
at java.util.zip.GZIPInputStream.readUByte(Unknown Source)
at java.util.zip.GZIPInputStream.readUShort(Unknown Source)
at java.util.zip.GZIPInputStream.readHeader(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at java.util.zip.GZIPInputStream.(Unknown Source)
at net.minecraft.nbt.CompressedStreamTools.func_74796_a(CompressedStreamTools.java:26)
at net.minecraft.world.storage.SaveHandler.loadSpongeDatData(SaveHandler.java:615)
… 7 more

A detailed walkthrough of the error, its code path and all known details is as follows:

– Head –
Thread: Server thread
Stacktrace:
at net.minecraft.world.storage.SaveHandler.redirect$onLoadWorldInfo$bde000(SaveHandler.java:1073)
at net.minecraft.world.storage.SaveHandler.func_75757_d(SaveHandler.java:132)

– Sponge PhaseTracker –
Details:
Phase Stack: [Empty stack]
Stacktrace:
at net.minecraft.server.MinecraftServer.handler$onCrashReport$zjo000(MinecraftServer.java:3980)
at net.minecraft.server.MinecraftServer.func_71230_b(MinecraftServer.java:889)
at net.minecraft.server.dedicated.DedicatedServer.func_71230_b(DedicatedServer.java:371)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:558)
at java.lang.Thread.run(Unknown Source)

– System Details –
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_211, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1307475888 bytes (1246 MB) / 1868038144 bytes (1781 MB) up to 2863661056 bytes (2731 MB)
JVM Flags: 2 total; -Xms1G -Xmx3G
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2838 21 mods loaded, 21 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored

| State  | ID                       | Version                | Source                                    | Signature                                |
|:------ |:------------------------ |:---------------------- |:----------------------------------------- |:---------------------------------------- |
| LCHIJA | minecraft                | 1.12.2                 | minecraft.jar                             | None                                     |
| LCHIJA | mcp                      | 9.42                   | minecraft.jar                             | None                                     |
| LCHIJA | FML                      | 8.0.99.99              | minecraft_server.jar                      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | forge                    | 14.23.5.2838           | minecraft_server.jar                      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | spongeapi                | 7.1.0-fb496dbf0        | spongeforge-1.12.2-2825-7.1.6.jar         | None                                     |
| LCHIJA | sponge                   | 1.12.2-7.1.6           | spongeforge-1.12.2-2825-7.1.6.jar         | None                                     |
| LCHIJA | spongeforge              | 1.12.2-2825-7.1.6      | spongeforge-1.12.2-2825-7.1.6.jar         | None                                     |
| LCHIJA | pixelmon                 | 7.0.6                  | Pixelmon-1.12.2-7.0.6-universal.jar       | None                                     |
| LCHIJA | evenmorepixelmoncommands | 5.1.0                  | EvenMorePixelmonCommands-1.12.2-5.1.0.jar | None                                     |
| LCHIJA | legendaryplus            | 4.4                    | LegendaryPlus-4.4.jar                     | None                                     |
| LCHIJA | meltanfixer              | 1.12.2-1.0.4-universal | MeltanFixer-1.12.2-1.0.4-universal.jar    | None                                     |
| LCHIJA | nucleus                  | 1.12.1-S7.1            | Nucleus-1.12.1-S7.1-MC1.12.2-plugin.jar   | None                                     |
| LCHIJA | pixelevent               | 5.4                    | PixelEvent-5.4.jar                        | None                                     |
| LCHIJA | pixelextras              | 2.5.0                  | PixelExtras-1.12.2-2.5.0-universal.jar    | None                                     |
| LCHIJA | pixelhunt                | 1.1.3                  | PixelHunt-1.1.3-MC1.12.2-S7.2.0.jar       | None                                     |
| LCHIJA | pokedexrewards           | 0.8.1                  | PokedexRewards-0.8.1.jar                  | None                                     |
| LCHIJA | pokestop                 | 2.0.2                  | PokeStops_1.12.2-2.0.2.jar                | None                                     |
| LCHIJA | simpledexrewards         |                        | SimpleDexRewards-1.0-RELEASE-.jar         | None                                     |
| LCHIJA | tcg                      | 1.12.2-4.0.1-universal | TCG-1.12.2-4.0.1-universal.jar            | None                                     |
| LCHIJA | totaleconomy             | 1.8.1                  | TotalEconomy-1.8.1.jar                    | None                                     |
| LCHIJA | wondertrade              | 4.6.2                  | WonderTrade-1.12.2-4.6.2-universal.jar    | None                                     |

Loaded coremods (and transformers): 

SpongeCoremod (spongeforge-1.12.2-2825-7.1.6.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
Profiler Position: N/A (disabled)
Player Count: 0 / 20; []
Is Modded: Definitely; Server brand changed to ‘fml,forge,sponge’
Type: Dedicated Server (map_server.txt)

I hope to get a helping hand as soon as possible.
Thanks in advance.


#2

So I tried to change the versions of spongeforge and forge itself or the plugins but nothing has changed, its always the same error. So I put the world file in the minecraft saves folder in my pc and started it in singleplayer but before I could log in to the game it asked


so I pressed yes and went in, everything is just fine. But on the server it doesnt function


#3

if you look through some of the other form post, you’ll see that this is a relatively common issue. What happened here is that a file got corrupted in the world folder. Since it is affecting just the server, it is likely the level_sponge.dat file. This usually happens when the server is force quit or crashes from power loss or such…

Try replacing the existing level_sponge.dat with the one labelled old, or from a backup


#4

Sadly, I dont have a backup. I tried to replace it but it didnt function, same crash, same error shows up.
Is there another way to solve it?


#5

I do not remember 100% what the sponge level file does. There’s a chance that certain world settings might be broken, and newly generated terrain won’t match up: But you could try just deleting the file and seeing if it regenerates.

On another note, you should start always always always making periodic backups.


#6

So after I’ve read the crash process many times, I figured out that the its on dim1 and ultra dimension, so not in all dimension ( dimension -1 is not corrupted )
So I went to the world folder, went in to the dim1 and ultra folder and deleted there the level_sponge and it worked now, but I dont know how much I went back or if its the actual standingpoint before the crash happened to the server. The level_sponge.dat 's were 0 bytes, so definitely damaged. the level_sponge.dat_old had about 280bytes in it so it worked.
For me its donezo. :slight_smile: thanks for the help


#7

level_sponge.dat stores the world UUID, the per-world settings which are used rather than those in server.properties, and the table of player UUIDs whose indexes the block placement tracking system references.