GT New Horizons

GT New Horizons

867k Downloads

Residual Decontaminant Degasser Purification Unit, throw exception if it does not contain Degasser Control Hatch

Navatusein opened this issue ยท 0 comments

commented

Your GTNH Discord Username

navatusein

Your Pack Version

2.7.2

Your Server

Private server

Java Version

Java 21

Type of Server

Vanilla Forge

Your Expectation

Residual Decontaminant Degasser Purification Unit, must operate without Degasser Control Hatch.

The Reality

Residual Decontaminant Degasser Purification Unit, throws exeption if it doesn't find Degasser Control Hatch.

[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: java.lang.NullPointerException: Cannot invoke "gregtech.common.tileentities.machines.multi.purification.MTEHatchDegasifierControl.updateOutputSignal(byte)" because "this.controlHatch" is null
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//gregtech.common.tileentities.machines.multi.purification.MTEPurificationUnitDegasser.startCycle(MTEPurificationUnitDegasser.java:629)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//gregtech.common.tileentities.machines.multi.purification.MTEPurificationPlant.startCycle(MTEPurificationPlant.java:447)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//gregtech.common.tileentities.machines.multi.purification.MTEPurificationPlant.updateCycleProgress(MTEPurificationPlant.java:426)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//gregtech.common.tileentities.machines.multi.purification.MTEPurificationPlant.runMachine(MTEPurificationPlant.java:380)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//gregtech.api.metatileentity.implementations.MTEMultiBlockBase.onPostTick(MTEMultiBlockBase.java:474)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//gregtech.common.tileentities.machines.multi.purification.MTEPurificationPlant.onPostTick(MTEPurificationPlant.java:357)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//gregtech.api.metatileentity.BaseMetaTileEntity.func_145845_h(BaseMetaTileEntity.java:565)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.world.World.redirect$zzp000$laggoggles$measureUpdateEntity(World.java:58636)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.world.World.func_72939_s(World.java:1939)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
[20:05:42] [Server thread/INFO]: [java.lang.Throwable$WrappedPrintStream:println:785]: 	at Launch//net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Because of this error, the waterline doesn't want to start.
If you install Degasser Control Hatch the problem goes away.

Your Proposal

Correct the problem so that a Residual Decontaminant Degasser Purification Unit can be built without a Degasser Control Hatch.

Final Checklist

  • I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the bug still exists will prompt us to investigate and reopen it once we confirm your report.
  • I can reproduce this problem consistently by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.
  • I have asked other people and they confirm they also have this problem by follow the exact steps I described above, or this does not need reproducing, e.g. recipe loophole.