The server sometimes randomly crashes and from what we can tell from the crash dump it's always related to
app//net.minecraft.server.v1_13_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:77)
This has been happening for a few days (and versions)
We are not sure if this is a bug with our code, Spigot or Java itself.
We noticed the "ClanClaim.java:130" in the stack and checked our code, but that method only gets the state of a block
// This is line 127 public void validateContainers() { Set<Location> toRemove = new HashSet<>(); // this.containers is just a Set<Location> for (Location location : this.containers) { // This is line 130 if (!(location.getBlock().getState() instanceof Lockable)) { toRemove.add(location); } } for (Location location : toRemove) { this.containers.remove(location); } }