Presence Footsteps caused my game to crash while I was AFK in the nether. I was next to a skeleton spawner, and the log states something about failing to apply footstep sounds to a skeleton.
The crashlog is as follows (copied from latest.log):
[02:34:00] [Render thread/ERROR] [minecraft/Minecraft]: Reported exception thrown!
net.minecraft.ReportedException: Generating PF sounds for entity
at eu.ha3.presencefootsteps.sound.SoundEngine.lambda$onFrame$5(SoundEngine.java:150) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:mixin,re:classloading}
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?] {}
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?] {}
at eu.ha3.presencefootsteps.sound.SoundEngine.onFrame(SoundEngine.java:129) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:mixin,re:classloading}
at eu.ha3.presencefootsteps.events.ForgeEventSubscriber.lambda$onClientTick$1(ForgeEventSubscriber.java:26) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin}
at eu.ha3.presencefootsteps.events.ForgeEventSubscriber.onClientTick(ForgeEventSubscriber.java:20) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.events.__ForgeEventSubscriber_onClientTick_ClientTickEvent.invoke(.dynamic) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading,pl:eventbus:B}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%23143!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%23143!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%23143!/:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPostClientTick(ForgeEventFactory.java:940) ~[forge-1.20.1-47.3.1-universal.jar%23731!/:?] {re:mixin,re:classloading,pl:mixin:APP:modernfix-forge.mixins.json:perf.potential_spawns_alloc.ForgeEventFactoryMixin from mod modernfix,pl:mixin:A}
at net.minecraft.client.Minecraft.m91398(Minecraft.java:1875) ~[client-1.20.1-20230612.114412-srg.jar%23726!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:connector_pre_launch:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m91383(Minecraft.java:1112) ~[client-1.20.1-20230612.114412-srg.jar%23726!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:connector_pre_launch:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.m91374(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23726!/:?] {re:mixin,pl:accesstransformer:B,pl:connector_pre_launch:A,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:connector_pre_launch:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:218) ~[minecraft-1.20.1-client.jar:?] {re:mixin,pl:connector_pre_launch:A,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:flywheel.mixins.json:ClientMainMixin from mod flywheel,pl:mixin:APP:vivecraft.mixins.json:client.main.MainMixin from mod vivecraft,pl:mixin:APP:smoothboot.mixins.json:client.MainMixin from mod smoothboot,pl:mixin:APP:mixins.chatshot.json:MainMixin from mod chatshot,pl:mixin:A,pl:connector_pre_launch:A,pl:runtimedistcleaner:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {re:mixin}
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.3.1.jar:?] {}
at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.3.1.jar:?] {}
at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.3.1.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {re:mixin}
at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67) ~[?:?] {}
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) ~[?:?] {}
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) ~[?:?] {}
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) ~[?:?] {}
Caused by: java.lang.NullPointerException: Cannot assign field "RUNNING_RAMPUP_BEGIN" because "this.generator.variator" is null
at eu.ha3.presencefootsteps.sound.generator.MotionTracker.getSpeedScalingRatio(MotionTracker.java:100) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.SoundEngine.lambda$getVolumeForSource$0(SoundEngine.java:75) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:mixin,re:classloading}
at java.util.Optional.map(Optional.java:260) ~[?:?] {re:mixin}
at eu.ha3.presencefootsteps.sound.SoundEngine.getVolumeForSource(SoundEngine.java:75) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:mixin,re:classloading}
at eu.ha3.presencefootsteps.sound.player.ImmediateSoundPlayer.playAttenuatedSound(ImmediateSoundPlayer.java:72) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.player.ImmediateSoundPlayer.playSound(ImmediateSoundPlayer.java:65) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.acoustics.VaryingAcoustic.playSound(VaryingAcoustic.java:57) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.acoustics.VaryingAcoustic.playSound(VaryingAcoustic.java:38) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.acoustics.EventSelectorAcoustics.playSound(EventSelectorAcoustics.java:35) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.acoustics.AcousticsPlayer.playAcoustic(AcousticsPlayer.java:43) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.acoustics.AcousticLibrary.playAcoustic(AcousticLibrary.java:18) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.world.PFSolver.playAssociation(PFSolver.java:49) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.generator.TerrestrialStepSoundGenerator.simulateFootsteps(TerrestrialStepSoundGenerator.java:150) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.generator.TerrestrialStepSoundGenerator.generateFootsteps(TerrestrialStepSoundGenerator.java:85) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:classloading}
at eu.ha3.presencefootsteps.sound.SoundEngine.lambda$onFrame$4(SoundEngine.java:133) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:mixin,re:classloading}
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin}
at eu.ha3.presencefootsteps.sound.SoundEngine.lambda$onFrame$5(SoundEngine.java:131) ~[PresenceFootsteps-1.20.1-1.9.1-beta.1.jar%23648!/:?] {re:mixin,re:classloading}
... 38 more
Presence Footsteps caused my game to crash while I was AFK in the nether. I was next to a skeleton spawner, and the log states something about failing to apply footstep sounds to a skeleton.
The crashlog is as follows (copied from latest.log):