[BUILDTOOLS-534] Exception in server tick loop - After using BuildTools can't use spigot server anymore Created: 17/Jun/20  Updated: 17/Jun/20  Resolved: 17/Jun/20

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

Type: Bug Priority: Major
Reporter: Magnus Brandt Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: 1.15.2, bug, bukkit, crash, spigot

Attachments: Zip Archive crash-log-spiggy-fails.zip    
Version: This server is running CraftBukkit version git-Spigot-a99063f-cb701f6 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

I just installed spigot-1.15.2.jar from getbukkit.org, started it, opped my player, relogged and it worked fine.
I created a new folder, put the server jar inside, got the BuildTools jar from the spigot wiki, executed the BuildTools just as instructed on the spigot wiki and everything was fine. BUT: as soon as i typed "op M4GG1_" (M4GG1_ is obviously my igname), the console spat out a weird error: https://hastebin.com/ezowopazul.bash (yup, it really is that long). I suspected nothing bad at all, but as soon as I relogged into the sever, the server instantly crashed and my client said: "Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host". The server said something like "Exception in server tick loop".

I suspect it being an error related to the ops.json file, because as soon as I delete it, it works until I op my player again.

Why is that and how can I fix it. I just wanted to program some minecraft plugins.

Notes:

  • This is not my first time doing spigot related stuff. I'm familiar with the whole download server, execute BuildTools, program plugins thing but this I've never seen.
  • I already searched Google but didn't got anything useful.
  • I didn't change any server files manually. I, as said, only deleted the ops.json once.
  • I tried it with --rev latest and --rev 1.15.2 as arguments on BuildTools

Thanks in advance

The log from the server: https://hastebin.com/suzeyucudu.md
The crash log from the server: https://hastebin.com/jopujefope.cs



 Comments   
Comment by Daniel Scalzi [ 17/Jun/20 ]

This is a critical bug, server is unusable on the latest version.

Comment by Floris Fiedeldij Dop [ 17/Jun/20 ]

I was about to report this.

 

I've trashed buildtools and spigot jar, and made a new folder, got the latest buildtools and made a new 1.15.2 with --rev, it compiled fine. 

 

I can run a new server, accept eula and it generates a world and completes. Players can join.

 

It goes wrong when an operator joins. Creating a null exception. 

I believe it might be related to this, https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/cb701f6b6321ac3cf1d7ccc2c1245dee736d786a

 

 I can reproduce this on ubuntu 18 and macos. Attached are my crash log and log file from me trying locally on macos with java11

crash-log-spiggy-fails.zip

Generated at Tue Apr 22 14:11:42 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.