Crash when using transmitter/reciever on multiplayer server
NickPancakes opened this issue ยท 5 comments
Hi there. We're able to consistently reproduce this crash on a multiplayer server. This does not appear to affect playing in SP for whatever reason.
To reproduce, place a transmitter and receiver, and wire each end to something. I placed them both, wired the receiver to a light block controlled by redstone from the mod simply-light (this block works fine outside of this context), and then as soon as I placed a line of redstone next to the transmitter, the server crashed.
Traceback:
[16:47:25] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception while ticking
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:856) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:286) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:788) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:643) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.lambda$func_240784_a_$0(MinecraftServer.java:230) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262] {}
Caused by: java.lang.NullPointerException
at com.github.se7_kn8.gates.data.RedstoneReceiverWorldSavedData.lambda$getCurrentFrequencyValue$0(RedstoneReceiverWorldSavedData.java:79) ~[?:1.6.1] {re:classloading}
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_262] {}
at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556) ~[?:1.8.0_262] {}
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_262] {}
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_262] {}
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_262] {}
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_262] {}
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:546) ~[?:1.8.0_262] {}
at java.util.stream.ReferencePipeline.max(ReferencePipeline.java:582) ~[?:1.8.0_262] {}
at com.github.se7_kn8.gates.data.RedstoneReceiverWorldSavedData.getCurrentFrequencyValue(RedstoneReceiverWorldSavedData.java:82) ~[?:1.6.1] {re:classloading}
at com.github.se7_kn8.gates.data.RedstoneReceiverWorldSavedData.updateFrequency(RedstoneReceiverWorldSavedData.java:87) ~[?:1.6.1] {re:classloading}
at com.github.se7_kn8.gates.block.wireless_redstone.TransmitterBlock.lambda$updateFrequency$1(TransmitterBlock.java:147) ~[?:1.6.1] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraftforge.common.util.LazyOptional.ifPresent(LazyOptional.java:161) ~[?:?] {re:classloading}
at com.github.se7_kn8.gates.api.CapabilityUtil.findWirelessCapability(CapabilityUtil.java:17) ~[?:1.6.1] {re:classloading}
at com.github.se7_kn8.gates.block.wireless_redstone.TransmitterBlock.updateFrequency(TransmitterBlock.java:145) ~[?:1.6.1] {re:classloading,pl:runtimedistcleaner:A}
at com.github.se7_kn8.gates.block.wireless_redstone.TransmitterBlock.update(TransmitterBlock.java:132) ~[?:1.6.1] {re:classloading,pl:runtimedistcleaner:A}
at com.github.se7_kn8.gates.block.wireless_redstone.TransmitterBlock.func_225534_a_(TransmitterBlock.java:127) ~[?:1.6.1] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.block.AbstractBlock$AbstractBlockState.func_227033_a_(AbstractBlock.java:613) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.world.server.ServerWorld.func_205338_b(ServerWorld.java:584) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:endergetic:patch_server_world,xf:fml:quark:change-sleeping-player-count,xf:fml:quark:add-rave-hook,xf:fml:immersiveengineering:IE block update callback,pl:runtimedistcleaner:A}
at net.minecraft.world.server.ServerTickList.func_205365_a(SourceFile:84) ~[?:?] {re:classloading,xf:fml:randompatches:RandomPatches ServerTickList Transformer}
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:329) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:endergetic:patch_server_world,xf:fml:quark:change-sleeping-player-count,xf:fml:quark:add-rave-hook,xf:fml:immersiveengineering:IE block update callback,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:852) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
... 5 more
We're running forge 32.0.88, and using many mods. Here's our current list:
Abnormals-Core-1.16.1-2.0.1.jar
absentbydesign-1.16.1-1.1.0.jar
AI-Improvements-1.16.1-0.3.0.jar
AppleSkin-mc1.16.1-forge-1.0.14.jar
AutoRegLib-1.6-42.jar
Bamboo-Blocks-1.16.1-2.0.0.jar
bedspreads-FORGE-1.16.1-4.0.0.1.jar
BetterAdvancements-1.16.1-0.1.0.100.jar
BetterBurning-1.16.1-2.0.2.jar
BetterMineshaftsForge-1.16.1-1.3.jar
BetterTitleScreen-1.16.1-1.10.0.jar
BiomesOPlenty-1.16.1-11.0.0.391-universal.jar
Bones-1.16.1-1.3.2.jar
Bookshelf-1.16.1-6.2.14.jar
BotanyPots-1.16.1-3.0.4.jar
Buzzier-Bees-1.16.1-2.0.1.jar
caelus-FORGE-1.16.1-2.0-beta5.jar
cc-tweaked-1.16.1-1.90.3.jar
cherishedworlds-FORGE-1.16.1-4.0.0.1.jar
ClientTweaks_1.16.1-5.0.0.jar
cloth-config-forge-4.0.2.jar
Clumps-6.0.0.3.jar
collective-1.16.1-1.35.jar
comforts-FORGE-1.16.1-3.0.jar
Controlling-7.0.0.3.jar
CookingForBlockheads_1.16.1-9.0.0.jar
CosmeticArmorReworked-1.16.1-v1b.jar
CraftingTweaks_1.16.1-12.0.4.jar
CraftTweaker-1.16.1-7.0.0.22.jar
culinaryconstruct-FORGE-1.16.1-3.0.0.1.jar
curioofundying-FORGE-1.16.1-4.0.jar
curios-FORGE-1.16.1-3.0.0.2.jar
curiouselytra-FORGE-1.16.1-3.0.jar
curiousshulkerboxes-FORGE-1.16.1-3.0.jar
cyclepaintings_1.16-1.3.jar
dash-1.16.1-1.0.1.jar
decorative_blocks-7a.jar
DefaultOptions_1.16.1-12.0.1.jar
DoubleSlabs-1.16-3.3.3.jar
DrawersTooltip-1.16.1-2.0.1.jar
elevatorid-1.16.1-1.7.3.jar
enchantedbookredesign-3.0.jar
engineersdecor-1.16.1-1.1.1-b6.jar
Extra-Boats-1.16.1-1.4.0.jar
FastFurnace-1.16.1-4.0.0.jar
FastLeafDecay-v23.jar
FastWorkbench-1.16.1-4.1.1.jar
gates-1.6.1.jar
Hwyla-forge-1.10.10-B77_1.16.1.jar
ImmersiveEngineering-0.16-109.jar
Incubation-1.16.1-1.1.0.jar
industrial-foregoing-1.16.1-3.0.3-5935836.jar
InventoryHud_1.16.1.forge-3.0.1.jar
ironchest-1.16.1-11.0.1.jar
itemzoom-1.16.1-2.2.0.jar
jei-1.16.1-7.0.1.9.jar
JEIEnchantmentInfo-1.16.1-1.2.0.jar
JEITweaker-1.16.1-1.0.1.2.jar
JustEnoughResources-1.16.1-0.11.1.90.jar
Kiwi-1.16.1-3.2.1.jar
leap-1.16.1-1.0.1.jar
light-overlay-5.4.1.jar
mcw-doors-1.0.0-mc1.16.1.jar
Mekanism-1.16.1-10.0.8.431.jar
MekanismAdditions-1.16.1-10.0.8.431.jar
MekanismGenerators-1.16.1-10.0.8.431.jar
MekanismTools-1.16.1-10.0.8.431.jar
mining-helmet-1.16.1-1.0.8.jar
MixinBootstrap-1.0.3.jar
MouseTweaks-2.13-mc1.16.1.jar
NaturesCompass-1.16.1-1.8.5.jar
NetherPortalFix_1.16.1-7.0.0.jar
overloadedarmorbar-5.0.0.jar
PackMenu-1.16.1-2.1.0.jar
pamhc2foodcore-1.16.1-1.0.5.jar
PeacefulSurface-1.16.1-v1b.jar
Ping-1.16.1-1.6.5.jar
pitg-1.16.1-1.3.0.jar
Placebo-1.16.1-4.0.3.jar
potionofbees-1.16.1-1.0.1.0.jar
Quark-r2.2-256.jar
QuarkOddities-1.15.2.jar
randompatches-1.16.1-1.22.1.1.jar
ReAuth-1.16-Forge-3.9.0.jar
refinedstorage-1.9.2.jar
refinedstorageaddons-0.7.jar
Savage-and-Ravage-1.16.1-2.0.0.jar
serverconfigupdater-1.2.jar
ServerTabInfo-1.16.1-1.2.7-alpha.jar
simplylight-1.16.1-1.0.1.jar
SnowRealMagic-1.16.1-2.0.1.jar
snowundertrees-1.16.1-v1.1.1.jar
StepUp-1.16.1-0.2.0.jar
StorageDrawers-1.16.1-8.0.0.jar
structure-gel-api-1.16.1-1.1.1.jar
structurize-0.13.37-ALPHA.jar
the-conjurer-1.16.1-1.0.6.jar
The-Endergetic-Expansion-1.16.1-2.0.0.jar
titanium-1.16.1-3.0.2.jar
ToastControl-1.16.1-4.0.1.jar
TrashSlot_1.16.1-12.0.1.jar
Uppers-0.3.0.jar
valhelsia_structures-16.0.1.jar
Waddles-1.16.1-0.8.7.jar
Waystones_1.16.1-7.0.2.jar
Xaeros_Minimap_20.18.0.1_Forge_1.16.1.jar
XaerosWorldMap_1.8.1_Forge_1.16.1.jar
I tried to reproduce it, but in my test world (without other mods) it didn't crash. Could you send me the full log (so it's easier for me to see which mods change some of the minecraft code)?
Sorry to hear it's not easily reproducible. Here's the full log.
latest.log
Do you have a debug.log? Because in the debug log is much for information then in the lastest.log.
Sure thing, My apologies.
debug.log
I've read the log, but there was nothing unusual. I also download all mods in the same version as in your modlist and put them on a server, but I couldn't reproduce the problem. Maybe the world file is corrupted. In the world
folder of the server is a subfolder named data
in which the file gates_wireless_network.dat
. This is the save file for all wireless networks in the overworld. You can try to delete or rename it. But after it, you have to break and place all wireless blocks again.