Jump to content

Loading Minions from NBT causing server to Crash


alexvirital

Recommended Posts

Good morning!

Got AOTBT running on my server this evening with some success until I ran into a very weird bug...

I'm running my MC server on a Ubuntu 12.04 LTS vm, and was watching as each time I attempted to log in, it started throwing the following into the logs:

2014-02-04 01:37:43 [iNFO] [Minecraft-Server] alexvirital[/ip address:52202] logged in with entity id 1034 at (194.5, 79.0, 383.5)

2014-02-04 01:37:43 [iNFO] [Minecraft-Server] alexvirital joined the game

2014-02-04 01:37:43 [iNFO] [sTDOUT] New Minionlist prepared for user me

2014-02-04 01:37:43 [iNFO] [sTDOUT] Loading Player: alexvirital

2014-02-04 01:37:43 [iNFO] [sTDOUT] Sending serverside check to: alexvirital

2014-02-04 01:37:48 [iNFO] [sTDOUT] Loaded Minion from NBT, re-registering master: anotherplayer

2014-02-04 01:37:48 [iNFO] [sTDOUT] New Minionlist prepared for user anotherplayer

2014-02-04 01:37:48 [iNFO] [sTDOUT] added additional minion for anotherplayer, now registered: 0

2014-02-04 01:37:48 [iNFO] [sTDOUT] Loaded Minion from NBT, re-registering master: anotherplayer

2014-02-04 01:37:48 [iNFO] [sTDOUT] added additional minion for anotherplayer, now registered: 1

2014-02-04 01:37:48 [iNFO] [sTDOUT] Loaded Minion from NBT, re-registering master: anotherplayer

2014-02-04 01:37:48 [iNFO] [sTDOUT] added additional minion for anotherplayer, now registered: 2

2014-02-04 01:37:48 [iNFO] [sTDOUT] Loaded Minion from NBT, re-registering master: anotherplayer

2014-02-04 01:37:48 [iNFO] [sTDOUT] added additional minion for anotherplayer, now registered: 3

2014-02-04 01:38:18 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Exception ticking world

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:663)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:276)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

2014-02-04 01:38:18 [iNFO] [sTDERR] Caused by: java.lang.IllegalArgumentException: Attempted to cancel a uncancelable event

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraftforge.event.Event.setCanceled(Event.java:104)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at atomicstryker.minions.common.MinionsChunkManager.canUnloadChunk(MinionsChunkManager.java:85)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHandler_136_MinionsChunkManager_canUnloadChunk_Unload.invoke(.dynamic)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraftforge.event.EventBus.post(EventBus.java:108)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.world.chunk.Chunk.func_76623_d(Chunk.java:1100)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:328)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:181)

2014-02-04 01:38:18 [iNFO] [sTDERR]    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:657)

2014-02-04 01:38:18 [iNFO] [sTDERR]    ... 4 more

2014-02-04 01:38:18 [sEVERE] [Minecraft-Server] Encountered an unexpected exception ReportedException

net.minecraft.util.ReportedException: Exception ticking world

    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:663)

    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:276)

    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)

    at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

Caused by: java.lang.IllegalArgumentException: Attempted to cancel a uncancelable event

    at net.minecraftforge.event.Event.setCanceled(Event.java:104)

    at atomicstryker.minions.common.MinionsChunkManager.canUnloadChunk(MinionsChunkManager.java:85)

    at net.minecraftforge.event.ASMEventHandler_136_MinionsChunkManager_canUnloadChunk_Unload.invoke(.dynamic)

    at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)

    at net.minecraftforge.event.EventBus.post(EventBus.java:108)

    at net.minecraft.world.chunk.Chunk.func_76623_d(Chunk.java:1100)

    at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:328)

    at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:181)

    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:657)

    ... 4 more

2014-02-04 01:38:18 [sEVERE] [Minecraft-Server] This crash report has been saved to: /home/alex/mc_bteam/Bteam_server_v1/./crash-reports/crash-2014-02-04_01.38.18-server.txt

2014-02-04 01:38:25 [sEVERE] [Minecraft-Server] Reached end of stream for /ip address

This persists even if I remove the alexvirital.dat file from the /world directory. Anotherplayer is an actual user on the system, who was not connected during this attempt. it seems as though it's attempting to assign my minions to him, or his to mine, or in some way the streams are being crossed.

Is there a way to purge minion data from the server without totally nuking the world?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...