CD4017BE / RedstoneControl

AutomatedRedstone mod remake: this time more awesome with point to point wires and less complicated GUIs
MIT License
17 stars 8 forks source link

NPE in server tick loop #17

Closed marcin212 closed 4 years ago

marcin212 commented 4 years ago

Crash after LMB with screwdriver on 7-seg display connected to Power Regulator with clock 0,05s.

---- Minecraft Crash Report ----

WARNING: coremods are present:
  Do not report to Forge! (If you haven't disabled the FoamFix coremod, try disabling it in the config! Note that this bit of text will still appear.) (foamfix-0.10.9-1.12.2.jar)
  Quark Plugin (Quark-r1.6-177.jar)
  CTMCorePlugin (CTM-MC1.12.2-1.0.1.30.jar)
  ForgelinPlugin (Forgelin-1.8.4.jar)
  MekanismCoremod (Mekanism-1.12.2-9.8.3.390.jar)
  OTGCorePlugin (OTG-Core.jar)
  LogisticsPipesCoreLoader (logisticspipes-0.10.2.214.jar)
Contact their authors BEFORE contacting forge

// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 12/9/19 7:00 PM
Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
        at cd4017be.rs_ctr.tileentity.EnergyValve.updateSignal(EnergyValve.java:61)
        at cd4017be.rs_ctr.port.Clock.tick(Clock.java:71)
        at cd4017be.lib.TickRegistry.tick(TickRegistry.java:71)
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_573_TickRegistry_tick_ServerTickEvent.invoke(.dynamic)
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
        at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:266)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:712)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
        at java.lang.Thread.run(Thread.java:748)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
        Minecraft Version: 1.12.2
        Operating System: Linux (amd64) version 4.19.10-200.fc28.x86_64
        Java Version: 1.8.0_192, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 523497824 bytes (499 MB) / 1560006656 bytes (1487 MB) up to 4260102144 bytes (4062 MB)
        JVM Flags: 8 total; -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=80 -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseCodeCacheFlushing -XX:ParallelGCThreads=4 -Xmx4G