LittleTiles

LittleTiles

12M Downloads

[Bug] Server crash when creating angled pieces

Captainaviator opened this issue ยท 6 comments

commented

Mod calls a GUI class server-side when it throws an error. This cannot be interacted with from the server, causing it to crash. I'm unable to see what this error was.

commented

I really need the crash log (server log). Otherwise I can't do anything about it.

commented

Hmmm... I guess it's related
#87

commented

He didn't say anything about the replay mod.

commented

The server crash was actually being caused by VanillaFix calling a clientside gui class in response to this:

java.util.concurrent.ExecutionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_162]
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_162]
        at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:721) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396) [nz.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:666) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:524) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_162]
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_162]
        at java.util.ArrayList.get(ArrayList.java:433) ~[?:1.8.0_162]
        at com.creativemd.littletiles.common.action.LittleAction.getIngredientsPreviews(LittleAction.java:710) ~[LittleAction.class:?]
        at com.creativemd.littletiles.common.action.LittleAction.addTilesToInventoryOrDrop(LittleAction.java:719) ~[LittleAction.class:?]
        at com.creativemd.littletiles.common.action.block.LittleActionPlaceRelative.placeTile(LittleActionPlaceRelative.java:194) ~[LittleActionPlaceRelative.class:?]
        at com.creativemd.littletiles.common.action.block.LittleActionPlaceRelative.action(LittleActionPlaceRelative.java:118) ~[LittleActionPlaceRelative.class:?]
        at com.creativemd.littletiles.common.action.LittleAction.executeServer(LittleAction.java:208) ~[LittleAction.class:?]
        at com.creativemd.creativecore.common.packet.PacketReciever$2.run(PacketReciever.java:129) ~[PacketReciever$2.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_162]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_162]
        at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
        ... 5 more
commented

Can you send me a screenshot of what you are doing, so I can reproduce it?

commented

This issue should be fixed in the next pre-release (hopefully).