Vexatos / Computronics

A ComputerCraft/OpenComputers addon mod.
125 stars 51 forks source link

Server crash while using text to speech #298

Closed joan-teriihoania closed 4 years ago

joan-teriihoania commented 4 years ago

Juste leaving this here. My server crashed after trying to make a speech box say something. It worked some times before, but this one triggered an Exception which made the entire server shutdown.

The message sent to be said : I've tested several messages, and some of them does not cause any crash, but then, at a random time, they cause a crash without any warning or any pattern.

Used mod : A computer from computercraft

Installed mods : minecraft, mcp, FML, forge, opencomputers|core, biomesoplenty, buildcraftcompat, buildcraftbuilders, buildcraftcore, buildcraftenergy, buildcraftfactory, buildcraftlib, buildcraftrobotics, buildcraftsilicon, buildcrafttransport, computercraft, cctweaked, chickenchunks, codechickenlib, computronics, asielib, extendedrenderer, coroutil, configmod, microblockcbe, forgemultipartcbe, minecraftmultipartcbe, icbmclassic, immersivepetroleum, immersiverailroading, universalmodcore, immersivetech, ic2, journeymap, malisiscore, malisisdoors, bnkrblks, mrtjpcore, opencomputers, projectred-core, projectred-integration, projectred-transmission, sereneseasons, trackapi, trafficcontrol, weather2, worldedit, zerocore, immersiveengineering

The crash reports : crash-2020-05-25_11.48.05-server.txt crash-2020-05-25_11.49.57-server.txt crash-2020-05-25_11.51.40-server.txt crash-2020-05-25_11.54.33-server.txt crash-2020-05-25_11.59.43-server.txt crash-2020-05-25_11.40.19-server.txt

[11:40:19] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$ServerTickEvent@1c0c8f14:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_202]
    at java.util.ArrayList.remove(ArrayList.java:496) ~[?:1.8.0_202]
    at pl.asie.computronics.audio.tts.TextToSpeech.onTick(TextToSpeech.java:78) ~[TextToSpeech.class:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_139_TextToSpeech_onTick_ServerTickEvent.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
    at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:279) [FMLCommonHandler.class:?]
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
[11:40:19] [Server thread/ERROR] [FML]: Index: 8 Listeners:
[11:40:19] [Server thread/ERROR] [FML]: 0: NORMAL
[11:40:19] [Server thread/ERROR] [FML]: 1: ASM: class dan200.computercraft.shared.util.TickScheduler tick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 2: ASM: class dan200.computercraft.shared.proxy.ComputerCraftProxyCommon$ForgeHandlers onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 3: ASM: class blusunrize.immersiveengineering.common.blocks.BlockIETileProvider onTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 4: ASM: net.minecraftforge.common.ForgeInternalHandler@4688efc2 onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 5: ASM: class buildcraft.lib.BCLibEventDist serverTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 6: ASM: INSTANCE onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 7: ASM: pl.asie.computronics.util.event.ServerTickHandler@1ac5a4fd onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 8: ASM: pl.asie.computronics.audio.tts.TextToSpeech@4fcf61b4 onTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 9: ASM: ic2.core.TickHandler@1c4872bd onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 10: ASM: weather2.EventHandlerFML@7e52f6b3 tickServer(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 11: ASM: codechicken.chunkloader.handler.ChunkLoaderEventHandler@3bfdf793 serverTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 12: ASM: li.cil.oc.common.EventHandler$@2468d153 onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)Ljava/lang/Object;
[11:40:19] [Server thread/ERROR] [FML]: 13: ASM: li.cil.oc.common.asm.SimpleComponentTickHandler@429b5ecb onTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 14: ASM: li.cil.oc.common.item.Tablet$@2d32713 onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 15: ASM: pl.asie.computronics.tape.PortableDriveManager@1a34ff8a onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 16: ASM: pl.asie.computronics.oc.driver.DriverBoardBoom$BoomHandler@9f507c2 onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 17: ASM: CoroUtil.forge.EventHandlerFML@7623b157 tickServer(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 18: ASM: journeymap.server.events.ForgeEvents@573aec12 onServerTickEvent(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 19: ASM: codechicken.multipart.handler.MultipartEventHandler$@30f46224 serverTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 20: ASM: com.sk89q.worldedit.forge.ThreadSafeCache@500543d1 tickStart(Lnet/minecraftforge/fml/common/gameevent/TickEvent;)V
[11:40:19] [Server thread/ERROR] [FML]: 21: LOWEST
[11:40:19] [Server thread/ERROR] [FML]: 22: ASM: class codechicken.lib.internal.CCLLog onTickEnd(Lnet/minecraftforge/fml/common/gameevent/TickEvent$ServerTickEvent;)V
[11:40:19] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.rangeCheck(ArrayList.java:657) ~[?:1.8.0_202]
    at java.util.ArrayList.remove(ArrayList.java:496) ~[?:1.8.0_202]
    at pl.asie.computronics.audio.tts.TextToSpeech.onTick(TextToSpeech.java:78) ~[TextToSpeech.class:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_139_TextToSpeech_onTick_ServerTickEvent.invoke(.dynamic) ~[?:?]
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
    at net.minecraftforge.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler.java:279) ~[FMLCommonHandler.class:?]
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657) ~[MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Vexatos commented 4 years ago

Thanks for reporting this.