I sent this in to the Cobblemon issue tracker too, so I'm copying it from there since I don't know which mod is causing the crash
https://gitlab.com/cable-mc/cobblemon/-/issues/1867
Summary
In Cobblemon 1.7.1 on a multiplayer server, if a player on a flying mount hovers (hold S while in the air) and mines a block, eats food, etc etc, other nearby players experience a client crash. The error reported is this:
java.lang.NullPointerException: Cannot invoke "com.cobblemon.mod.common.client.render.MatrixWrapper.getMatrix()" because "locator" is null
at knot/net.minecraft.class_1309.method_5745(class_1309.java:5854) ~[client-intermediary.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.ItemSwingEffect.rayTraceBlock(ItemSwingEffect.java:92) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.ItemSwingEffect.freeSwing(ItemSwingEffect.java:75) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.ItemSwingEffect.tick(ItemSwingEffect.java:48) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.EntityEffectInfo.tick(EntityEffectInfo.java:67) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.processing.EntityEffectHandler.process(EntityEffectHandler.java:66) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.processing.Handlers.tick(Handlers.java:136) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.eventing.ClientState.lambda$static$6(ClientState.java:48) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/net.minecraft.class_310.handler$cha000$dsurround$tickEnd(class_310.java:12674) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1574(class_310.java:2012) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1523(class_310.java:1246) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1514(class_310.java:882) [client-intermediary.jar:?]
at knot/net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514) [fabric-loader-0.18.1.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72) [fabric-loader-0.18.1.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.18.1.jar:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at com.modrinth.theseus.MinecraftLaunch.relaunch(MinecraftLaunch.java:63) [theseus.jar:?]
at com.modrinth.theseus.MinecraftLaunch.main(MinecraftLaunch.java:28) [theseus.jar:?]
Of course the "Dynamic Surroundings" mod is mentioned in this stacktrace too, so I'm also reporting the issue to that dev's Issues tracker and I'll link that in a comment on here. I should note I have no idea which mod causes the crash, hence why I'm submitting it for both.
Steps to reproduce
- Join a multiplayer server with other player(s)
- Be near them and Ride a flying pokemon
- Hover (hold S while in the air)
- Eat some food or mine a block
- Other player will crash
What is the current bug behavior?
A crash
What is the expected correct behavior?
...Not a crash
Cobblemon Version and Mod Loader
Fabric
1.7.1
Mods used besides Cobblemon
AmbientEnvironment-fabric-1.21.1-18.0.0.2.jar
AmbientSounds_FABRIC_v6.3.1_mc1.21.1.jar
amendments-1.21-2.0.9-fabric.jar
appleskin-fabric-mc1.21-3.0.6.jar
architectury-13.0.8-fabric.jar
async-locator-refined-fabric-1.21.1-1.5.0.jar
attributefix-fabric-1.21.1-21.1.3.jar
authme-fabric-9.0.1+1.21.1.jar
auto_third_person-fabric-1.21.1-2.2.jar
axolotlbuckets-1.2.0+1.21.jar
badhorsefix-fabric-3.0.1.jar
balm-fabric-1.21.1-21.0.55.jar
BetterAdvancements-Fabric-1.21.1-0.4.3.21.jar
betterbiomeblend-1.5.2.jar
BetterF3-11.0.3-Fabric-1.21.1.jar
betterladdersmod-0.0.3.1.21.jar
BetterPingDisplay-Fabric-1.21.1-1.1.1.jar
BetterThirdPerson-Fabric-1.21-1.9.0.jar
biome-golems-1.1.jar
BoatBreakFix-Universal-1.0.2.jar
boatiview-fabric-0.0.6-1.21.1.jar
bobby-5.2.4+mc1.21.jar
bookshelf-fabric-1.21.1-21.1.78.jar
bwncr-fabric-1.21.1-3.20.3.jar
c2me-fabric-mc1.21.1-0.3.0+alpha.0.362.jar
CameraOverhaul-v2.0.5-fabric+mc[1.21.0-1.21.2].jar
carryon-fabric-1.21.1-2.2.2.11.jar
cat_jam-fabric-mc1.21-1.3.1.jar
chat_heads-0.14.2-fabric-1.21.jar
chefs-delight-1.0.4-fabric-1.21.1.jar
cloth-config-15.0.140-fabric.jar
cobbledelight-0.1.jar
cobbleloots-fabric-2.1.0.jar
Cobblemon-fabric-1.7.1+1.21.1.jar
cobblemonintegrations-fabric-1.21.1-1.1.4.jar
cobblenav-fabric-2.2.5.jar
cobweb-fabric-1.21-1.4.0.jar
collective-1.21.1-8.13.jar
common-networking-fabric-1.0.21-1.21.1.jar
connectiblechains-2.5.5+1.21.1.jar
Controlling-fabric-1.21.1-19.0.5.jar
coolrain-1.3.1-1.21.1.jar
copperhopper-0.10.0+1.21.1.jar
Corgilib-Fabric-1.21.1-5.0.0.7.jar
countereds-accurate-hitboxes-1.0.1.jar
countereds_terrain_slabs-2.1.2.jar
CreativeCore_FABRIC_v2.13.14_mc1.21.1.jar
cullleaves-fabric-4.1.0+1.21.1.jar
CutThrough-v21.1.0-1.21.1-Fabric.jar
cwb-fabric-3.0.0+mc1.21.jar
dark-loading-screen-1.6.14.jar
Debugify-1.21.1+1.0.jar
desiredservers-fabric-1.21.1-1.6.0.jar
detect-afk-1.2.2.jar
discerning-furnace-1.1.1+MC1.21-1.21.1.jar
Drip Sounds-0.5.2+1.21.8-Fabric.jar
dynamic-fps-3.9.5+minecraft-1.21.0-fabric.jar
dynamiccrosshair-9.10+1.21.1-fabric.jar
dynamiccrosshaircompat-4.4+1.21.1-fabric.jar
dynamicsurroundings-fabric-1.21.1-0.4.2.jar
EasyAnvils-v21.1.0-1.21.1-Fabric.jar
EasyMagic-v21.1.4-1.21.1-Fabric.jar
elytraslot-fabric-9.0.1+1.21.1.jar
ElytraSwimFix-1.1.0.jar
enchantment-lore-1.4.1+MC1.21-1.21.1.jar
entityculling-fabric-1.9.4-mc1.21.1.jar
entity_model_features_1.21-fabric-3.0.7.jar
entity_sound_features_1.21-fabric-0.7.1.jar
entity_texture_features_1.21-fabric-7.0.6.jar
EuphoriaPatcher-1.7.8-r5.6.1-fabric.jar
everycomp-1.21-2.11.20-fabric.jar
fabric-api-0.116.7+1.21.1.jar
fabric-language-kotlin-1.13.7+kotlin.2.2.21.jar
fabric-seasons-2.4.2-BETA+1.21.jar
fabric-seasons-terralith-2.3.7-compat-1.0.jar
fallingtrees-fabric-mc1.21-0.13.2-SNAPSHOT.jar
FarmersDelight-1.21.1-3.2.2+refabricated.jar
fasterrandom-5.1.0.jar
FastItemFrames-v21.1.6-1.21.1-Fabric.jar
fastquit-3.0.0+1.20.6.jar
ferritecore-7.0.2-hotfix-fabric.jar
fixelytrabug+1.21-1.1.2.jar
flash-2.1.1-fabric.1.21.jar
flowerymooblooms-fabric-3.0.2+mc1.21.1.jar
ForgeConfigAPIPort-v21.1.6-1.21.1-Fabric.jar
friendsandfoes-fabric-4.0.17+mc1.21.1.jar
fullturtlearmor-1.10.3-fabric-mc1.21.1.jar
geckolib-fabric-1.21.1-4.8.2.jar
getDown-1.5.0+1.21.jar
hardcorerevival-fabric-1.21.1-21.1.9.jar
head_in_the_clouds-1.1.0.jar
HeldItemTooltips-v21.1.0-1.21.1-Fabric.jar
herdspanic-1.1.1.jar
hidehands-1.21.1-4.5.jar
Highlighter-1.21-fabric-1.1.11.jar
highspeed-rail-0.9.0+1.21.1.jar
horseman-fabric-1.21.1-1.5.6.jar
ice-boat-nerf-1.1.1+MC1.21-1.21.1.jar
Iceberg-1.21.1-fabric-1.3.2.jar
ImmediatelyFast-Fabric-1.6.8+1.21.1.jar
ImmersiveThunder-1.21.1+1.2.2.jar
indium-1.0.35+mc1.21.jar
indypets-1.4.7-1.21.jar
iris-fabric-1.8.8+mc1.21.1.jar
ItemBorders-1.21-fabric-1.2.5.jar
jamlib-fabric-1.3.5+1.21.1.jar
journeymap-fabric-1.21.1-6.0.0-beta.52.jar
journeymap-webmap-fabric-1.21.4-1.0.9.jar
jukeboxcustomdiscfix-0.1.5-1.21.1.jar
keepmyscroll-1.0.0-1.21.jar
Kiwi-1.21.1-Fabric-15.8.2.jar
krypton-0.2.8.jar
lambdynamiclights-4.8.7+1.21.1.jar
language-reload-1.7.5+1.21.1.jar
lazy-language-loader-0.3.7.jar
LegendaryTooltips-1.21.1-fabric-1.5.5.jar
lightningmod-1.4.3.jar
lithium-fabric-0.15.1+mc1.21.1.jar
lithostitched-1.5.2-fabric-1.21.1.jar
lmft-1.1.1+1.21.9-fabric.jar
lootr-fabric-1.21-1.10.35.96.jar
modelfix-1.21-1.6-fabric.jar
modernfix-fabric-5.25.1+mc1.21.1.jar
modmenu-11.0.3.jar
moonlight-1.21-2.27.1-fabric.jar
mru-1.0.19+LTS+1.21.1+fabric.jar
NBTcopy-FABRIC-1.20.1-1.0.4.jar
Necronomicon-Fabric-1.6.0+1.21.jar
nicerportals-1.5.0+1.21.jar
no-beacon-particles-1.0+1.21.jar
NoChatReports-FABRIC-1.21.1-v2.9.1.jar
notenoughanimations-fabric-1.10.6-mc1.21.1.jar
open_sesame-fabric-1.21-1.0.2.jar
owo-lib-0.12.15.4+1.21.jar
packetfixer-3.3.1-1.20.5-1.21.X-merged.jar
pandalib-fabric-mc1.21-0.5.2-SNAPSHOT.jar
particular-1.1.2+1.21.jar
PassableFoliage-1.21-Fabric-9.1.2.jar
passiveshield-1.21.1-3.7.jar
Patched-7.4.1+1.21.1-fabric.jar
PickUpNotifier-v21.1.1-1.21.1-Fabric.jar
placeableblazerods-1.21.1-3.9.jar
pokeblocks-1.4.0-1.21.1.jar
PresenceFootsteps-1.11.1+1.21.jar
prickle-fabric-1.21.1-21.1.11.jar
Prism-1.21.1-fabric-1.0.11.jar
prometheus-fabric-1.21-1.1.2.jar
PuzzlesLib-v21.1.39-1.21.1-Fabric.jar
raised-fabric-1.21.1-5.0.2.jar
rctapi-fabric-1.21.1-0.14.3-beta.jar
rctmod-fabric-1.21.1-0.17.4-beta.jar
redirected-fabric-1.0.0-1.21.1.jar
reeses-sodium-options-fabric-1.8.3+mc1.21.4.jar
resourcefullib-fabric-1.21-3.0.12.jar
rrls-5.0.10+mc1.21.1-fabric.jar
rsls-1.1.11.jar
ScalableLux-0.1.0.1+fabric.d0d58ab-all.jar
screenshot-to-clipboard-fabric-1.0.10.jar
screenshot_viewer-1.3.3-fabric-mc1.21.jar
Searchables-fabric-1.21.1-1.0.2.jar
smoothscroll-2.2.1-1.21.1.jar
SnowRealMagic-1.21.1-Fabric-12.1.2.jar
sodium-extra-fabric-0.6.0+mc1.21.1.jar
sodium-fabric-0.6.13+mc1.21.1.jar
sodiumoptionsapi-fabric-1.0.10-1.21.1.jar
sound-physics-remastered-fabric-1.21.1-1.5.1.jar
sounds-2.4.21+lts+1.21.1-fabric.jar
spyglass_improvements-1.5.7+mc1.21+fabric.jar
squidnoglitch-mc1.21-v1.0.3-fabric.jar
stonezone-1.21-2.11.5-fabric.jar
takesapillage-fabric-1.0.9+mc1.21.1.jar
thorough-keybindings-3.0.2+fabric.jar
tia-fabric-1.21-1.2.1.jar
tide-fabric-1.21-1.6.4.jar
titlefixer-1.1+1.21.jar
tooltipfix-1.1.1-1.20.jar
transmog-fabric-1.6.0+1.21.1.jar
travelersbackpack-fabric-1.21.1-10.1.29.jar
trinkets-3.10.0.jar
txnilib-fabric-1.0.24-1.21.1.jar
unruled_api-fabric+1.21-1.4.jar
vehiclefix-5.1.1.jar
visuality-0.7.7+1.21.jar
VisualWorkbench-v21.1.1-1.21.1-Fabric.jar
voicechat-fabric-1.21.1-2.6.6.jar
waystones-fabric-1.21.1-21.1.24.jar
xlpackets-1.0.5-1.21.jar
yeetusexperimentus-fabric-87.0.0.jar
yet_another_config_lib_v3-3.8.1+1.21.1-fabric.jar
Relevant logs, screenshots and/or videos
java.lang.NullPointerException: Cannot invoke "com.cobblemon.mod.common.client.render.MatrixWrapper.getMatrix()" because "locator" is null
at knot/net.minecraft.class_1309.method_5745(class_1309.java:5854) ~[client-intermediary.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.ItemSwingEffect.rayTraceBlock(ItemSwingEffect.java:92) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.ItemSwingEffect.freeSwing(ItemSwingEffect.java:75) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.ItemSwingEffect.tick(ItemSwingEffect.java:48) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.effects.entity.EntityEffectInfo.tick(EntityEffectInfo.java:67) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.processing.EntityEffectHandler.process(EntityEffectHandler.java:66) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.processing.Handlers.tick(Handlers.java:136) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/org.orecruncher.dsurround.eventing.ClientState.lambda$static$6(ClientState.java:48) ~[dynamicsurroundings-fabric-1.21.1-0.4.2.jar:?]
at knot/net.minecraft.class_310.handler$cha000$dsurround$tickEnd(class_310.java:12674) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1574(class_310.java:2012) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1523(class_310.java:1246) ~[client-intermediary.jar:?]
at knot/net.minecraft.class_310.method_1514(class_310.java:882) [client-intermediary.jar:?]
at knot/net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514) [fabric-loader-0.18.1.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72) [fabric-loader-0.18.1.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.18.1.jar:?]
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[?:?]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at com.modrinth.theseus.MinecraftLaunch.relaunch(MinecraftLaunch.java:63) [theseus.jar:?]
at com.modrinth.theseus.MinecraftLaunch.main(MinecraftLaunch.java:28) [theseus.jar:?]
Additional Information
(If you can, link to the line of code that might be responsible for the problem, or any other info that might be useful)
I sent this in to the Cobblemon issue tracker too, so I'm copying it from there since I don't know which mod is causing the crash
https://gitlab.com/cable-mc/cobblemon/-/issues/1867
Summary
In Cobblemon 1.7.1 on a multiplayer server, if a player on a flying mount hovers (hold S while in the air) and mines a block, eats food, etc etc, other nearby players experience a client crash. The error reported is this:
Of course the "Dynamic Surroundings" mod is mentioned in this stacktrace too, so I'm also reporting the issue to that dev's Issues tracker and I'll link that in a comment on here. I should note I have no idea which mod causes the crash, hence why I'm submitting it for both.
Steps to reproduce
What is the current bug behavior?
A crash
What is the expected correct behavior?
...Not a crash
Cobblemon Version and Mod Loader
Fabric
1.7.1
Mods used besides Cobblemon
Relevant logs, screenshots and/or videos
Additional Information
(If you can, link to the line of code that might be responsible for the problem, or any other info that might be useful)