[1.12] The game crashes when 2 ICBMs fly into each other
oliwier509 opened this issue ยท 7 comments
As the title suggests, the game crashes when 2 ICBMs ran into each other
Possible cause is the CME being eaten and ignored
This happen on the supersymmetry modpack, and I was using ICBM-classic-1.12.2-6.4.1 and ICBM-Classic-CC-Addon-oc
I would need more information. As collisions, blast triggers, and world handling are on the main thread. So shouldn't be generating a CME from a simple array list tracking blasts.
The crash also is happening in another mod's code and doesn't indicate a CME.
java.lang.NullPointerException: Exception in server tick loop
at it.unimi.dsi.fastutil.objects.ObjectOpenHashSet$SetIterator.next(ObjectOpenHashSet.java:568)
at net.minecraft.entity.EntityTracker.tick(EntityTracker.java:290)
So it is possible fastutils has changed some behavior of vanilla.
Additional info from user in Discord. Seems an OC setup trigger a missile spawn and failed. At which point the entity tracker died taking out the radar and blast trackers. Given this failed inside MC code there may not be much to fix.
[19:47:43] [Server thread/INFO] [icbmclassic]: Missile[46050] (2335x, 66y, -64z, 0d) impacted at (2335.3377819080843, 66.0, -63.454542323340064)
[19:47:43] [Client thread/INFO] [icbmclassic]: Missile[46050] (2335x, 66y, -64z, 0d) impacted at (2335.337646484375, 66.0, -63.45458984375)
[19:47:43] [OpenComputers-Computer-1/ERROR] [net.minecraft.entity.EntityTracker]: "Silently" catching entity tracking error.
net.minecraft.util.ReportedException: Adding entity to track
at net.minecraft.entity.EntityTracker.track(EntityTracker.java:256) ~[ol.class:?]
at net.minecraftforge.fml.common.registry.EntityRegistry.tryTrackingEntity(EntityRegistry.java:369) ~[EntityRegistry.class:?]
at net.minecraft.entity.EntityTracker.track(EntityTracker.java:80) ~[ol.class:?]
at net.minecraft.world.ServerWorldEventHandler.onEntityAdded(ServerWorldEventHandler.java:37) ~[op.class:?]
at net.minecraft.world.World.onEntityAdded(World.java:1222) ~[amu.class:?]
at net.minecraft.world.WorldServer.onEntityAdded(WorldServer.java:1112) ~[oo.class:?]
at net.minecraft.world.World.spawnEntity(World.java:1213) ~[amu.class:?]
at net.minecraft.world.WorldServer.spawnEntity(WorldServer.java:1058) ~[oo.class:?]
at icbm.classic.content.blocks.launcher.base.LauncherCapability.fireMissile(LauncherCapability.java:192) ~[LauncherCapability.class:6.4.1]
at icbm.classic.content.blocks.launcher.base.LauncherCapability.launch(LauncherCapability.java:163) ~[LauncherCapability.class:6.4.1]
at icbm.classic.api.launcher.IMissileLauncher.launch(IMissileLauncher.java:77) ~[IMissileLauncher.class:6.4.1]
at icbm.classic.cc.methods.ConnectorMethods.launch(ConnectorMethods.java:81) ~[ConnectorMethods.class:?]
at icbm.classic.cc.builder.PeripheralBuilder.lambda$withMethod$0(PeripheralBuilder.java:39) ~[PeripheralBuilder.class:?]
at icbm.classic.cc.builder.PeripheralMethodFunc.invoke(PeripheralMethodFunc.java:20) [PeripheralMethodFunc.class:?]
at icbm.classic.cc.builder.Peripheral.callMethod(Peripheral.java:54) [Peripheral.class:?]
at li.cil.oc.integration.computercraft.DriverPeripheral$Environment.invoke(DriverPeripheral.java:120) [DriverPeripheral$Environment.class:?]
at li.cil.oc.server.machine.Callbacks$PeripheralCallback.apply(Callbacks.scala:129) [Callbacks$PeripheralCallback.class:?]
at li.cil.oc.server.network.Component$class.invoke(Component.scala:112) [Component$class.class:?]
at li.cil.oc.server.network.Network$ComponentBuilder$$anon$2.invoke(Network.scala:616) [Network$ComponentBuilder$$anon$2.class:?]
at li.cil.oc.server.machine.Machine.invoke(Machine.scala:383) [Machine.class:?]
at li.cil.oc.server.machine.luac.ComponentAPI$$anonfun$initialize$5$$anonfun$apply$6.apply(ComponentAPI.scala:78) [ComponentAPI$$anonfun$initialize$5$$anonfun$apply$6.class:?]
at li.cil.oc.server.machine.luac.ComponentAPI$$anonfun$initialize$5$$anonfun$apply$6.apply(ComponentAPI.scala:78) [ComponentAPI$$anonfun$initialize$5$$anonfun$apply$6.class:?]
at li.cil.oc.server.machine.luac.NativeLuaArchitecture.invoke(NativeLuaArchitecture.scala:60) [NativeLuaArchitecture.class:?]
at li.cil.oc.server.machine.luac.ComponentAPI$$anonfun$initialize$5.apply(ComponentAPI.scala:78) [ComponentAPI$$anonfun$initialize$5.class:?]
at li.cil.oc.server.machine.luac.ComponentAPI$$anonfun$initialize$5.apply(ComponentAPI.scala:74) [ComponentAPI$$anonfun$initialize$5.class:?]
at li.cil.oc.util.ExtendedLuaState$ExtendedLuaState$$anon$1.invoke(ExtendedLuaState.scala:24) [ExtendedLuaState$ExtendedLuaState$$anon$1.class:?]
at li.cil.repack.com.naef.jnlua.LuaStateFiveThree.lua_resume(Native Method) ~[LuaStateFiveThree.class:?]
at li.cil.repack.com.naef.jnlua.LuaState.resume(LuaState.java:1811) [LuaState.class:?]
at li.cil.oc.server.machine.luac.NativeLuaArchitecture.runThreaded(NativeLuaArchitecture.scala:233) [NativeLuaArchitecture.class:?]
at li.cil.oc.server.machine.Machine.run(Machine.scala:995) [Machine.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_441]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_441]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [?:1.8.0_441]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:1.8.0_441]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_441]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_441]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_441]
Caused by: java.lang.NullPointerException
at io.netty.channel.ChannelOutboundBuffer.addMessage(ChannelOutboundBuffer.java:117) ~[ChannelOutboundBuffer.class:4.1.9.Final]
at io.netty.channel.AbstractChannel$AbstractUnsafe.write(AbstractChannel.java:810) ~[AbstractChannel$AbstractUnsafe.class:4.1.9.Final]
at io.netty.channel.DefaultChannelPipeline$HeadContext.write(DefaultChannelPipeline.java:1291) ~[DefaultChannelPipeline$HeadContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at net.minecraftforge.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:383) ~[FMLOutboundHandler.class:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:111) ~[MessageToMessageEncoder.class:4.1.9.Final]
at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116) ~[MessageToMessageCodec.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:704) ~[AbstractChannelHandlerContext.class:4.1.9.Final]
at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1017) ~[DefaultChannelPipeline.class:4.1.9.Final]
at io.netty.channel.AbstractChannel.write(AbstractChannel.java:286) ~[AbstractChannel.class:4.1.9.Final]
at io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:341) ~[EmbeddedChannel.class:4.1.9.Final]
at net.minecraftforge.fml.common.network.FMLEmbeddedChannel.generatePacketFrom(FMLEmbeddedChannel.java:72) ~[FMLEmbeddedChannel.class:?]
at net.minecraftforge.fml.common.network.internal.FMLNetworkHandler.getEntitySpawningPacket(FMLNetworkHandler.java:134) ~[FMLNetworkHandler.class:?]
at net.minecraft.entity.EntityTrackerEntry.createSpawnPacket(EntityTrackerEntry.java:501) ~[os.class:?]
at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntity(EntityTrackerEntry.java:380) ~[os.class:?]
at net.minecraft.entity.EntityTrackerEntry.updatePlayerEntities(EntityTrackerEntry.java:490) ~[os.class:?]
at net.minecraft.entity.EntityTracker.track(EntityTracker.java:230) ~[ol.class:?]
... 36 more
[19:47:43] [Client thread/WARN] [universalmodcore]: Server/Client desync, skipping from 246.2770691226446 to 275
[19:47:43] [Server thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.TickEvent$WorldTickEvent@2599707a:
java.lang.NullPointerException: null
at icbm.classic.lib.radar.RadarMap.lambda$update$0(RadarMap.java:108) ~[RadarMap.class:6.4.1]
at java.util.ArrayList.removeIf(Unknown Source) ~[?:1.8.0_441]
at icbm.classic.lib.radar.RadarMap.update(RadarMap.java:108) ~[RadarMap.class:6.4.1]
at icbm.classic.lib.radar.RadarRegistry.worldUpdateTick(RadarRegistry.java:191) ~[RadarRegistry.class:6.4.1]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1411_RadarRegistry_worldUpdateTick_WorldTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer.redirectEvent(EventBusTransformer.java:67) ~[LagGoggles-1.12.2-5.9-140.jar:1.12.2-5.9-140]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274) [FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:776) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185) [chd.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1817) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_441]
[19:47:43] [Server thread/ERROR] [FML]: Index: 14 Listeners:
[19:47:43] [Server thread/ERROR] [FML]: 0: NORMAL
[19:47:43] [Server thread/ERROR] [FML]: 1: ASM: class com.cleanroommc.bogosorter.BogoSorter onServerTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 2: ASM: class com.feed_the_beast.ftblib.lib.data.Universe onTickEvent(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 3: ASM: class com.feed_the_beast.ftbutilities.handlers.FTBUtilitiesServerEventHandler onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 4: ASM: class gregtech.api.pipenet.tickable.TickableWorldPipeNetEventHandler onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 5: ASM: class gregtech.api.util.TaskScheduler onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 6: ASM: class icbm.classic.content.missile.tracker.MissileTrackerHandler onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 7: ASM: class icbm.classic.lib.transform.BlockEditHandler onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 8: ASM: class cam72cam.mod.event.CommonEvents$EventBus onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 9: ASM: com.codetaylor.mc.pyrotech.modules.core.event.StrawBedEventHandler@79eeac7d on(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 10: ASM: class net.silentchaos512.lib.util.EntityHelper onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 11: ASM: class supersymmetry.common.EventHandlers onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 12: ASM: vazkii.quark.tweaks.feature.ImprovedSleeping@7574cf83 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 13: ASM: ca.wescook.nutrition.events.EventWorldTick@7fbc85cf WorldTickEvent(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 14: ASM: icbm.classic.lib.radar.RadarRegistry@acb6941 worldUpdateTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 15: ASM: sereneseasons.handler.season.SeasonHandler@64eae065 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 16: ASM: sereneseasons.handler.season.RandomUpdateHandler@3af70337 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 17: ASM: sereneseasons.handler.season.SeasonSleepHandler@5afb00e6 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 18: ASM: mcjty.incontrol.ForgeEventHandlers@c14b751 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 19: ASM: omtteam.omlib.handler.OMLibEventHandler@29c958e9 tickEvent(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 20: ASM: mcjty.rftools.ForgeEventHandlers@699d5e8c onPostWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 21: ASM: mcjty.rftools.ForgeEventHandlers@699d5e8c onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 22: ASM: mcjty.rftools.world.WorldTickHandler@20c61804 tickEnd(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 23: ASM: net.silentchaos512.scalinghealth.event.DifficultyHandler@2c4ec082 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 24: ASM: com.dhanantry.scapeandrunparasites.util.handlers.SRPEventHandlerBus@23895bf worldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 25: ASM: mcjty.xnet.ForgeEventHandlers@540bc832 onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 26: ASM: class com.creativemd.littletiles.common.world.WorldAnimationHandler tick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 27: ASM: class com.creativemd.littletiles.common.util.converation.ChiselAndBitsConveration worldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 28: ASM: squeek.applecore.network.SyncHandler@523bb08d onWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 29: ASM: com.theundertaker11.geneticsreborn.event.GREventHandler@3c9adba7 GameTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 30: ASM: com.theundertaker11.geneticsreborn.event.OnWorldTickEvent@3893443c WorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 31: ASM: com.theundertaker11.geneticsreborn.potions.GRPotions@3852f644 handleCurePotion(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 32: ASM: serenetweaks.handlers.SnowRecalculationHandler@6d4b2fec onTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 33: ASM: com.codetaylor.mc.dropt.modules.dropt.events.EventHandler@2b01e29 onTickEvent(Lnet/minecraftforge/fml/common/gameevent/TickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 34: ASM: ivorius.reccomplex.events.handlers.RCForgeEventHandler@13e182f3 onTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 35: ASM: com.sk89q.worldedit.forge.ThreadSafeCache@35974ca5 tickStart(Lnet/minecraftforge/fml/common/gameevent/TickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 36: ASM: com.creativemd.creativecore.common.event.CreativeTickHandler@6823c4df onEventTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 37: ASM: appeng.hooks.TickHandler@c1fe50a onTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent;)V
[19:47:43] [Server thread/ERROR] [FML]: 38: LOWEST
[19:47:43] [Server thread/ERROR] [FML]: 39: ASM: class mod.acgaming.universaltweaks.tweaks.world.chunks.tidy.mixin.UTTidyChunk utOnWorldTick(Lnet/minecraftforge/fml/common/gameevent/TickEvent$WorldTickEvent;)V
[19:47:43] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception
java.lang.NullPointerException: null
at icbm.classic.lib.radar.RadarMap.lambda$update$0(RadarMap.java:108) ~[RadarMap.class:6.4.1]
at java.util.ArrayList.removeIf(Unknown Source) ~[?:1.8.0_441]
at icbm.classic.lib.radar.RadarMap.update(RadarMap.java:108) ~[RadarMap.class:6.4.1]
at icbm.classic.lib.radar.RadarRegistry.worldUpdateTick(RadarRegistry.java:191) ~[RadarRegistry.class:6.4.1]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1411_RadarRegistry_worldUpdateTick_WorldTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer.redirectEvent(EventBusTransformer.java:67) ~[LagGoggles-1.12.2-5.9-140.jar:1.12.2-5.9-140]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274) ~[FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:776) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185) ~[chd.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1817) [MinecraftServer.class:?]
java.lang.NullPointerException: null
at icbm.classic.lib.radar.RadarMap.lambda$update$0(RadarMap.java:108) ~[RadarMap.class:6.4.1]New error from user likely related to this problem https://discord.com/channels/97599288397275136/416462327911677962/1353066713578737757
Version 6.5.0 released 3/22/2025
java.lang.NullPointerException: Ticking entity
at icbm.classic.content.missile.entity.EntityMissile.onImpact(EntityMissile.java:284)
at icbm.classic.lib.projectile.EntityProjectile.onImpactEntity(EntityProjectile.java:490)
at icbm.classic.content.missile.entity.EntityMissile.handleEntityCollision(EntityMissile.java:161)
at icbm.classic.lib.projectile.EntityProjectile.TickCentral_TrueOnUpdateTick(EntityProjectile.java:290)
at icbm.classic.content.missile.entity.EntityMissile.TickCentral_TrueOnUpdateTick(EntityMissile.java:106)
at icbm.classic.content.missile.entity.explosive.EntityExplosiveMissile.TickCentral_TrueOnUpdateTick(EntityExplosiveMissile.java:128)
at com.github.terminatornl.tickcentral.api.TickHub.trueOnUpdate(TickHub.java:56)
at com.github.terminatornl.laggoggles.Main.redirectOnUpdate(Main.java:105)
at icbm.classic.content.missile.entity.explosive.EntityExplosiveMissile.onUpdate(EntityExplosiveMissile.java)
at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:1996)
at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:832)
at net.minecraft.world.World.updateEntity(World.java:1958)
at net.minecraft.world.World.updateEntities(World.java:1762)
at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1817)
at java.lang.Thread.run(Unknown Source) icbm.classic.content.missile.entity.EntityMissile.onImpact(EntityMissile.java:284)
This may not be the same issue but I assume the radar map npe may have been masking it. Hard to tell for sure but needs resolved regardless.
Related to PR #448
Seems https://github.com/BuiltBrokenModding/ICBM-Classic/blob/dev/1.12-6.x.x/src/main/java/icbm/classic/lib/projectile/EntityProjectile.java#L284 can produce a null if no intercept is detected. I've added @nonnull annotations to have the IDE better warn for nullability in this instance
latest.log
was able to reproduce the bug, idk how exactly
also found this bug
crash-2025-03-22_18.20.38-server.txt
[18:20:38] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
java.lang.NullPointerException: null
at icbm.classic.lib.radar.RadarMap.lambda$update$0(RadarMap.java:108) ~[RadarMap.class:6.4.1]
at java.util.ArrayList.removeIf(Unknown Source) ~[?:1.8.0_441]
at icbm.classic.lib.radar.RadarMap.update(RadarMap.java:108) ~[RadarMap.class:6.4.1]
at icbm.classic.lib.radar.RadarRegistry.worldUpdateTick(RadarRegistry.java:191) ~[RadarRegistry.class:6.4.1]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1413_RadarRegistry_worldUpdateTick_WorldTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at com.github.terminatornl.laggoggles.tickcentral.EventBusTransformer.redirectEvent(EventBusTransformer.java:67) ~[LagGoggles-1.12.2-5.9-140.jar:1.12.2-5.9-140]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274) ~[FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:776) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185) ~[chd.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1817) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_441]
[18:20:38] [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: D:\Prism instances\SuSy Building only (15-03-2025)\minecraft\crash-reports\crash-2025-03-22_18.20.38-server.txt