[SPIGOT-6313] Jenkins 2983 does not start up Created: 12/Jan/21  Updated: 12/Jan/21  Resolved: 12/Jan/21

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: SlimeDog Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Environment:

CentOS Linux release 7.9.2009 (Core)
Java 11.0.9


Version: 1.16.4 Jenkins 2983
Guidelines Read: Yes

 Description   

Previous Spigot 1.16.4 Jenkins 2981 (and previous) runs fine.

Jenkins 2983 builds – same BuildTools #122 – but does not start up. Same environment and server content. No errors reported in the log until NPE and failure of ProtocolLib 4.6.0-SNAPSHOT-b492, which was running in both instances. Running further isolations ... will report as results appear.



 Comments   
Comment by SlimeDog [ 12/Jan/21 ]

Confirmed: This issue does not recur in build 2985. Thank you.

Comment by SlimeDog [ 12/Jan/21 ]

With no plugins, Jenkins 2983 failed to start. Do you want the crash report, or is the following sufficient?

[16:47:59] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NullPointerException: null
	at java.io.File.<init>(File.java:278) ~[?:?]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadCustomPermissions(CraftServer.java:904) ~[spigot-1.16.4.jar-2021-01-11-1636:git-Spigot-5fc0fb4-7029c0
a]
	at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:421) ~[spigot-1.16.4.jar-2021-01-11-1636:git-Spigot-5fc0fb4-7029c0a]
	at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:435) ~[spigot-1.16.4.jar-2021-01-11-1636:git-Spigot-5fc0fb4-7029c0a]
	at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:218) ~[spigot-1.16.4.jar-2021-01-11-1636:git-Spigot-5fc0fb4-7029c0a]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:809) ~[spigot-1.16.4.jar-2021-01-11-1636:git-Spigot-5fc0fb4-7029c0a]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.4.jar-2021-01-11-1636:git-Spigot-5fc0fb4-7029c0a]
	at java.lang.Thread.run(Thread.java:834) [?:?]
[16:47:59] [Server thread/ERROR]: This crash report has been saved to: ./crash-reports/crash-2021-01-11_16.47.59-server.txt
[16:47:59] [Server thread/INFO]: Stopping server
[16:47:59] [Server thread/INFO]: Saving players
[16:47:59] [Server thread/INFO]: Saving worlds
[16:47:59] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[16:48:01] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[16:48:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world_nether]'/minecraft:the_nether
[16:48:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[16:48:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[16:48:02] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
Comment by SlimeDog [ 12/Jan/21 ]

I ran Jenkins 2983. NPE was reported on ProtocolLib (per above). I left the data as-is, but reverted to Jenkins 2981. On startup, config.yml for CombatLogX reported corrupted, and was regenerated by that plugin.

Comment by md_5 [ 12/Jan/21 ]

That's good to hear!

Comment by md_5 [ 12/Jan/21 ]

Can you be more specific about the data? I'm struggling to see how at least basic usage of the config API could've lost data

Comment by SlimeDog [ 12/Jan/21 ]

No worries. This is a test server, used for just this purpose. I'll report more when I have more.

Comment by md_5 [ 12/Jan/21 ]

I've reverted the problematic change... that's very concerning about the plugin data and I'm really sorry about that; although the quite extensive unit tests on the config API did pass

Comment by SlimeDog [ 12/Jan/21 ]

Also caused corruption of some plugin data. Running a test without plugins ...

Comment by md_5 [ 12/Jan/21 ]

Works for me, rebuilding to make sure

Generated at Tue Apr 22 05:57:09 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.