Project Red - Fabrication

Project Red - Fabrication

19M Downloads

Routed Request Pipe - Internal server error

TheAndrey opened this issue ยท 4 comments

commented

When I selected item then pressiing "Submit" button in request pipe GUI server kicking me with "Internal server error".

Video: http://myupy.ru/5955739bf


ava.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(TimSort.java:868)
at java.util.TimSort.mergeAt(TimSort.java:485)
at java.util.TimSort.mergeForceCollapse(TimSort.java:426)
at java.util.TimSort.sort(TimSort.java:223)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at mrtjp.projectred.transportation.RequestBranchNode.getPromisesFromBroadcasters(Unknown Source)
at mrtjp.projectred.transportation.RequestBranchNode.(Unknown Source)
at mrtjp.projectred.transportation.RequestBranch.(Unknown Source)
at mrtjp.projectred.transportation.RequestConsole.makeRequest(Unknown Source)
at mrtjp.projectred.transportation.TransportationSPH$.handleRequestSubmit(packethandlers.scala:204)
at mrtjp.projectred.transportation.TransportationSPH$.handlePacket(packethandlers.scala:142)
at codechicken.lib.packet.PacketCustom$ServerTinyPacketHandler.handle(PacketCustom.java:201)
at codechicken.lib.packet.PacketCustom$CustomTinyPacketHandler.handle(PacketCustom.java:233)
at cpw.mods.fml.common.network.NetworkRegistry.handleTinyPacket(NetworkRegistry.java:433)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket131Packet(FMLNetworkHandler.java:429)
at net.minecraft.network.NetServerHandler.func_72494_a(NetServerHandler.java:2674)
at net.minecraft.network.packet.Packet131MapData.func_73279_a(Packet131MapData.java:61)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:910)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:777)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
14:06:44 [WARNING] Failed to handle packet for Andrey/...: java.lang.IllegalArgumentException: Comparison method violates its general contract!
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.TimSort.mergeHi(TimSort.java:868)
at java.util.TimSort.mergeAt(TimSort.java:485)
at java.util.TimSort.mergeForceCollapse(TimSort.java:426)
at java.util.TimSort.sort(TimSort.java:223)
at java.util.TimSort.sort(TimSort.java:173)
at java.util.Arrays.sort(Arrays.java:659)
at java.util.Collections.sort(Collections.java:217)
at mrtjp.projectred.transportation.RequestBranchNode.getPromisesFromBroadcasters(Unknown Source)
at mrtjp.projectred.transportation.RequestBranchNode.(Unknown Source)
at mrtjp.projectred.transportation.RequestBranch.(Unknown Source)
at mrtjp.projectred.transportation.RequestConsole.makeRequest(Unknown Source)
at mrtjp.projectred.transportation.TransportationSPH$.handleRequestSubmit(packethandlers.scala:204)
at mrtjp.projectred.transportation.TransportationSPH$.handlePacket(packethandlers.scala:142)
at codechicken.lib.packet.PacketCustom$ServerTinyPacketHandler.handle(PacketCustom.java:201)
at codechicken.lib.packet.PacketCustom$CustomTinyPacketHandler.handle(PacketCustom.java:233)
at cpw.mods.fml.common.network.NetworkRegistry.handleTinyPacket(NetworkRegistry.java:433)
at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket131Packet(FMLNetworkHandler.java:429)
at net.minecraft.network.NetServerHandler.func_72494_a(NetServerHandler.java:2674)
at net.minecraft.network.packet.Packet131MapData.func_73279_a(Packet131MapData.java:61)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:910)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:777)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

commented

Just looked up that error as I've seen that before, and is the same as #357.
No "fix" was made but MrTJP said that this happens when two routers are assigned the same IP address. You will need to break everything and try again.

commented

The entire transportation code was rewritten, more or less. It was fixed in that but for the version you have, something went wrong when you went from previous version to a newer one. (That shouldn't happen in the future)

commented

What version of Project Red do you have? This may have already been fixed.

commented

4.3.5.30