[1.16.5] EB makes Refined Storage to crash a server when Destructor breaks a block

Create issue
Issue #113 resolved
Тандер Фалькор created an issue

EB is incompatible with Refined Storage in a way that makes server to crash endlessly. Without EB it works as intended.

Expected behavior: Destructor breaks a block

Observed behavior: Server crashes

Steps to reproduce:

  1. Build this:

  2. Power the controller (or use creative one)

Crash log:

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 4/26/21 8:56 PM
Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
    at net.minecraftforge.fml.network.PacketDistributor.lambda$playerConsumer$1(PacketDistributor.java:217) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.network.PacketDistributor$$Lambda$6416/1394713621.accept(Unknown Source) ~[?:?] {}
    at net.minecraftforge.fml.network.PacketDistributor$PacketTarget.send(PacketDistributor.java:179) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.network.simple.SimpleChannel.send(SimpleChannel.java:124) ~[?:?] {re:classloading}
    at nl.requios.effortlessbuilding.EventHandler.onBlockBroken(EventHandler.java:109) ~[?:1.16.3-2.22] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_36_EventHandler_onBlockBroken_BreakEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus$$Lambda$2572/1375508787.invoke(Unknown Source) ~[?:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
    at com.refinedmods.refinedstorage.apiimpl.network.node.DestructorNetworkNode.breakBlock(DestructorNetworkNode.java:156) ~[?:1.9.12] {re:classloading}
    at com.refinedmods.refinedstorage.apiimpl.network.node.DestructorNetworkNode.update(DestructorNetworkNode.java:92) ~[?:1.9.12] {re:classloading}
    at com.refinedmods.refinedstorage.apiimpl.network.NetworkListener.onWorldTick(NetworkListener.java:25) ~[?:1.9.12] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_44_NetworkListener_onWorldTick_WorldTickEvent.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus$$Lambda$2572/1375508787.invoke(Unknown Source) ~[?:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.fml.hooks.BasicEventHooks.onPostWorldTick(BasicEventHooks.java:100) ~[?:?] {re:classloading}
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:857) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:78) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) [?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) [?:?] {re:classloading,pl:accesstransformer:B}
    at net.minecraft.server.MinecraftServer$$Lambda$5699/1372802818.run(Unknown Source) [?:?] {}
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51] {}


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

-- System Details --
Details:
    Minecraft Version: 1.16.5
    Minecraft Version ID: 1.16.5
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 934189160 bytes (890 MB) / 2431647744 bytes (2319 MB) up to 5249695744 bytes (5006 MB)
    CPUs: 12
    JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx5632m -Xms256m -XX:PermSize=256m
    ModLauncher: 8.0.9+86+master.3cf110c
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /mixin-0.8.2.jar mixin PLUGINSERVICE 
        /eventbus-4.0.0.jar eventbus PLUGINSERVICE 
        /forge-1.16.5-36.1.13.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.16.5-36.1.13.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE 
        /forge-1.16.5-36.1.13.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.16.5-36.1.13.jar runtimedistcleaner PLUGINSERVICE 
        /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE 
        /forge-1.16.5-36.1.13.jar fml TRANSFORMATIONSERVICE 
    FML: 36.1
    Forge: net.minecraftforge:36.1.13
    FML Language Providers: 
        javafml@36.1
        minecraft@1
    Mod List: 
        forge-1.16.5-36.1.13-client.jar                   |Minecraft                     |minecraft                     |1.16.5              |DONE      |NOSIGNATURE
        forge-1.16.5-36.1.13-universal.jar                |Forge                         |forge                         |36.1.13             |DONE      |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
        refinedstorage-1.9.12.jar                         |Refined Storage               |refinedstorage                |1.9.12              |DONE      |NOSIGNATURE
        effortlessbuilding-1.16.3-2.22.jar                |Effortless Building           |effortlessbuilding            |1.16.3-2.22         |DONE      |NOSIGNATURE
    Crash Report UUID: 419b6a87-6a89-4a97-9fe8-d169c5b3332b
    Player Count: 1 / 8; [ServerPlayerEntity['MrTander'/246, l='ServerLevel[New World]', x=48.32, y=72.00, z=17.06]]
    Data Packs: vanilla, mod:forge, mod:refinedstorage, mod:effortlessbuilding (incompatible)
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'forge'

Comments (1)

  1. Log in to comment