MohistMC / Mohist

Minecraft Forge Hybrid server implementing the Spigot/Bukkit API, formerly known as Thermos/Cauldron/MCPC+
https://mohistmc.com
GNU General Public License v3.0
1.31k stars 220 forks source link

Server crashes in SERVER_STOPPING #598

Closed skiunke closed 4 years ago

skiunke commented 4 years ago

Describe the bug The server crashes every time at a random event. Server tries so save-all, I don't know if this is fault.

To Reproduce Steps to reproduce the behavior: Just play the game and the server crashes at a random time.

This is the latest log:

latest.log

ghost commented 4 years ago

You used a lot more mods that that. And it seems to be RandomPatches that's causing the Crash: "om.therandomlabs.randompatches.patch.packetsize.NettyCompressionDecoderPatch.apply(NettyCompressionDecoderPatch.java:41) ~[NettyCompressionDecoderPatch.class:?]" Also this is something quite easy to find if you know what's what.

skiunke commented 4 years ago

You used a lot more mods that that. And it seems to be RandomPatches that's causing the Crash: "om.therandomlabs.randompatches.patch.packetsize.NettyCompressionDecoderPatch.apply(NettyCompressionDecoderPatch.java:41) ~[NettyCompressionDecoderPatch.class:?]" Also this is something quite easy to find if you know what's what.

Ye, Roguelike Adventures are like 100+ mods. BspkrsCore and TreeCapitatorMod are just added by myself. Unfortunately i have no idea what random patches are.

ghost commented 4 years ago

Random Patches is a mod that patches the game in multiple ways. It doesn't really affect performance and shouldn't affect anything if removed on server. And also i thought it said Rougelike Dungeons and not Adventures. Terribly Sorry

skiunke commented 4 years ago

Is this something easy to remove ? Or do i have to recode the mods. (which im not capable of lol)

ghost commented 4 years ago

You should be able to find it in your server's mods folder. Just delete it. And i'm sure the server will boot up without any crashes. If anything else happens. Let me know here.

skiunke commented 4 years ago

How can I identify the plugin that is causing the trouble ?

ghost commented 4 years ago

It should either tell you in the log or just in the console itself. But there is no pluin causing this crash however.

ghost commented 4 years ago

plugin*

skiunke commented 4 years ago

Would it look like this:

[21:25:24] [Server thread/INFO] [THAUMCRAFT]: Creating aura cache for world 687
[21:25:24] [Server thread/INFO] [twilightforest]: Loaded a world with the tfEnforcedProgression game rule not defined. Defining it.
[21:25:24] [Server thread/INFO] [dsurround]: Creating NULL weather generator for dimension [dungeon_pockets]
[21:25:25] [Server thread/INFO] [OTG]: Saving structure data
[21:25:25] [Server thread/INFO] [OTG]: Saving structures and pre-generator data
[21:25:25] [Server thread/INFO] [OTG]: Saving done
[21:25:25] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception 

?

skiunke commented 4 years ago

Twilight forest ?

ghost commented 4 years ago

That shows no information. Although i recommend removing Dynamic Surroundings from the mods folder as it spams the console useless information.

skiunke commented 4 years ago

I have no idea what i'm looking for. There are some nullpointer exceptions, but they don't seem to impact.

skiunke commented 4 years ago
[21:25:25] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
[21:25:25] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: This crash report has been saved to: D:\Minecraft-Server\.\crash-reports\crash-2020-10-22_21.25.25-server.txt

This is literally the exception thrown.

ghost commented 4 years ago

Send the Crashlog (D:\Minecraft-Server.\crash-reports\crash-2020-10-22_21.25.25.txt)

skiunke commented 4 years ago

I already did. called latest.log

ghost commented 4 years ago

No send the log from the path i just sent

ghost commented 4 years ago

it's called crash-2020-10-22_21.25.25.txt

ghost commented 4 years ago

D:\Minecraft-Server.\crash-reports\ it's in this path

skiunke commented 4 years ago

crash-2020-10-22_21.25.25-server.txt

ghost commented 4 years ago

Did you remove Random Patches?

ghost commented 4 years ago

from the server?

skiunke commented 4 years ago

Wait... so there is a mod called randompatches. okay

ghost commented 4 years ago

You didn't remove it even though i told you to remove it...

skiunke commented 4 years ago

Well I overread it. My bad

skiunke commented 4 years ago

Thaaanks. That worked.