BuildingPlanner

BuildingPlanner

6.3k Downloads

Starting up server issue

fabiozaza opened this issue ยท 4 comments

commented

Not too sure what caused this.. but this is what it gives me when starting up the server:

10:14:52 [INFO] Preparing spawn area: 69%
10:14:54 [SEVERE] java.io.EOFException
10:14:54 [SEVERE] at java.io.DataInputStream.readInt(Unknown Source)
10:14:54 [SEVERE] at za.dats.bukkit.buildingplanner.model.PlanArea.loadAre
a(PlanArea.java:885)
10:14:54 [SEVERE] at za.dats.bukkit.buildingplanner.PlanAreaManager.init(P
lanAreaManager.java:118)
10:14:54 [SEVERE] at za.dats.bukkit.buildingplanner.BuildingPlanner.onEnab
le(BuildingPlanner.java:49)
10:14:54 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
in.java:126)
10:14:54 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
JavaPluginLoader.java:920)
10:14:54 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
mplePluginManager.java:278)
10:14:54 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
rver.java:173)
10:14:54 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(Craf
tServer.java:156)
10:14:54 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
r.java:297)
10:14:54 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
r.java:284)
10:14:54 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
rver.java:152)
10:14:54 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
ver.java:348)
10:14:54 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
ceFile:417)
10:15:12 [INFO] [BuildingPlanner] BuildingPlanner version 0.5.0 is enabled!

commented

Was it possible that you killed the server while it was busy saving an area? I'll have to write to a temp file and move it over the old one.. either that, or just implement the RandomAccess I was thinking of

commented

It is possible that i killed the server while it was busy saving.. not too sure what happened... just thought i would post it anyway

commented

cool, good to know that this is happening, i need to think of how to solve it

commented

For now, I'm writing the save to a temp file first.