Logistics Pipes

Logistics Pipes

13M Downloads

Sneaky crash with Mekanism

Dead2 opened this issue ยท 0 comments

commented

Mod versions

Dedicated server
forge-1.12.2-14.23.5.2860
logisticspipes-0.10.4.49
Mekanism-Community-Edition-1.12.2-9.12.8 (Core, Generators, Tools)

  • Lots of others that are hopefully not relevant here

How to reproduce:

  1. Place Mekanism Energized Smelter
  2. Place Crafting Pipe on top of the Smelter
  3. Insert Sneaky Upgrade into Crafting Pipe
  4. Configure Sneaky Upgrade to use bottom of Smelter
  5. Configure Smelter to use Top Input, Bottom Output, Back Energy (energy probably does not matter, no pipe was connected in this case)
  6. Configure Crafting Pipe recipe with raw FPGA in first slot, and FPGA in output slot
  7. Order 1 FPGA to be crafted
  8. Wait for Raw FPGA to be delivered, and pipe to start "blinking"
  9. Now change Smelter configuration of the bottom slot to Input -> Instant server crash

This is not how it should be used, but it should not crash.
I guess it did not like the input suddenly appearing.
Don't know whether the sneaky upgrade is required for the crash to happen

Backtrace

[17:18:12] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Ticking block entity
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:773) ~[MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) ~[nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1817) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_402]
Caused by: java.lang.NullPointerException
at logisticspipes.modules.ModuleCrafter.lambda$spaceFor$0(ModuleCrafter.java:245) ~[ModuleCrafter.class:0.10.4.49]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_402]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_402]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_402]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_402]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_402]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_402]
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:546) ~[?:1.8.0_402]
at logisticspipes.modules.ModuleCrafter.spaceFor(ModuleCrafter.java:245) ~[ModuleCrafter.class:0.10.4.49]
at logisticspipes.modules.ModuleCrafter.sinksItem(ModuleCrafter.java:216) ~[ModuleCrafter.class:0.10.4.49]
at logisticspipes.logistics.LogisticsManager.canSink(LogisticsManager.java:136) ~[LogisticsManager.class:0.10.4.49]
at logisticspipes.modules.ModuleCrafter.tick(ModuleCrafter.java:341) ~[ModuleCrafter.class:0.10.4.49]
at logisticspipes.pipes.basic.CoreRoutedPipe.updateEntity(CoreRoutedPipe.java:437) ~[CoreRoutedPipe.class:0.10.4.49]
at logisticspipes.pipes.basic.LogisticsTileGenericPipe.TickCentral_TrueITickableUpdate(LogisticsTileGenericPipe.java:214) ~[LogisticsTileGenericPipe.class:0.10.4.49]
at com.github.terminatornl.tickcentral.api.TickHub.trueUpdate(TickHub.java:48) ~[TickHub.class:3.2]
at com.github.terminatornl.laggoggles.Main.redirectUpdate(Main.java:94) ~[LagGoggles-1.12.2-5.9-140.jar:1.12.2-5.9-140]
at logisticspipes.pipes.basic.LogisticsTileGenericPipe.update(LogisticsTileGenericPipe.java) ~[LogisticsTileGenericPipe.class:0.10.4.49]
at net.minecraft.world.World.updateEntities(World.java:1838) ~[amu.class:?]
at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:613) ~[oo.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:767) ~[MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:397) ~[nz.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) ~[MinecraftServer.class:?]
... 2 more

crash-2024-03-17_17.18.12-server.txt
MultiMC Modpack: Dead2's Reborn v3.5.1.zip