PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
10.04k stars 2.34k forks source link

Fatal Crash at Runtime #7972

Closed theiamgeek closed 2 years ago

theiamgeek commented 2 years ago

Expected behavior

The server should start.

Observed/Actual behavior

The server crashes and burns with a org.spongepowered.configurate.serialize.CoercionFailedException: [entities, behavior, pillager-patrols, spawn-delay, per-player] of type java.lang.Boolean: Failed to coerce input value of type class java.lang.String to boolean exception (see attached logfiles). paper-1.19-10_exception_on_load.log crash-2022-06-13_18.12.08-server.txt

Steps/models to reproduce

I am using an existing map coming over from paper 1.18.2-366. Running GraalVM Community version 22.1.0.

Plugin and Datapack List

CustomTime version 2.1.1 Datapacks (output from Spigot): There are 2 data packs enabled: [vanilla (built-in)], [file/bukkit (world)]There are no more data packs available

Paper version

1.19-10

Would include full-text output as requested but the server will not completely finish starting.

Other

Subbing in Spigot version This server is running CraftBukkit version 3525-Spigot-56be6a8-8f097b9 (MC: 1.19) (Implementing API version 1.19-R0.1-SNAPSHOT) starts without issue.

electronicboy commented 2 years ago

bad paper config, please provide your original config file and the new ones

theiamgeek commented 2 years ago

bad paper config, please provide your original config file and the new ones

I don't seem to have a paper.yml file at all anymore. l must have cleaned it up while fiddling around with different server distros yesterday.

Why wouldn't it be generating a new one on first start?

image

This is the paper.yml I was using on 1.18.2 that I pulled from a server backup: paper.yml.txt

After restoring the copy of paper.yml linked just above to the server's directory, I get the following crash: paper-1.19-10_exception_on_load-1.log crash-2022-06-13_18.45.00-server.txt

electronicboy commented 2 years ago

configs are in the config folder

theiamgeek commented 2 years ago

configs are in the config folder

Ahhh. They've been moved! paper-world-defaults.yml.txt paper.yml.txt

electronicboy commented 2 years ago

So, basically, your original config was bad, per-player: fals for the pillager-patrols setting, you'll need to fix your config manually

theiamgeek commented 2 years ago

So, basically, your original config was bad, per-player: fals for the pillager-patrols setting, you'll need to fix your config manually

Opps. Sorry for opening what I guess is an entirely invalid issue. Thanks for catching that, I guess the old config handler was far more forgiving than the new one.

I guess at the very least, this might give you all an idea of where some more descriptive error messages might be needed.

Thanks for all you do for this project!