Logistics Pipes

Logistics Pipes

13M Downloads

stack overflow Laser transport

freakyd opened this issue ยท 3 comments

commented

Sometimes I get a stack overflow when I am removing red pipe wire from the logistics system the laser travels over.
[16:14:30] [Server thread/ERROR] [FML/]: PacketInboundHandler exception
java.lang.StackOverflowError
at logisticspipes.routing.pathfinder.PathFinder.getConnectedRoutingPipes(PathFinder.java:130) ~[PathFinder.class:0.8.0.local]
at logisticspipes.routing.pathfinder.PathFinder.getConnectedRoutingPipes(PathFinder.java:288) ~[PathFinder.class:0.8.0.local]
at logisticspipes.routing.pathfinder.PathFinder.paintAndgetConnectedRoutingPipes(PathFinder.java:69) ~[PathFinder.class:0.8.0.local]
at logisticspipes.network.packets.pipe.RequestRoutingLasersPacket.handleRouteInDirection(RequestRoutingLasersPacket.java:90) ~[RequestRoutingLasersPacket.class:0.8.0.local]
at logisticspipes.network.packets.pipe.RequestRoutingLasersPacket.handleRouteInDirection(RequestRoutingLasersPacket.java:142) ~[RequestRoutingLasersPacket.class:0.8.0.local]
at logisticspipes.network.packets.pipe.RequestRoutingLasersPacket.handleRouteInDirection(RequestRoutingLasersPacket.java:142) ~[RequestRoutingLasersPacket.class:0.8.0.local]
at logisticspipes.network.packets.pipe.RequestRoutingLasersPacket.handleRouteInDirection(RequestRoutingLasersPacket.java:142) ~[RequestRoutingLasersPacket.class:0.8.0.local]
at logisticspipes.network.packets.pipe.RequestRoutingLasersPacket.handleRouteInDirection(RequestRoutingLasersPacket.java:142) ~[RequestRoutingLasersPacket.class:0.8.0.local]
at logisticspipes.network.packets.pipe.RequestRoutingLasersPacket.handleRouteInDirection(RequestRoutingLasersPacket.java:142) ~[RequestRoutingLasersPacket.class:0.8.0.local]

commented

to trigger it, remove a red pipewire that's on a basic logistics pipe that transmits laser power.

commented

This has nothing to do with the power lasers. This is caused by a network which was to big for one part of LP. The Routing table Laser method needs to be changed to use a list with a loop instead of using it recursive which has a limited amount of depth.

commented

Has been fixed.