Dragon Mounts: Legacy

Dragon Mounts: Legacy

20M Downloads

Falling from a dragon crashes server

Mindfreak66 opened this issue ยท 5 comments

commented

Playing on Minecraft 1.20.1 server (on MCProHosting) with Forge 47.1.0 and latest version of Dragon Mounts Legacy. When flying, if a player falls to their death, the server crashes. Crash log is below. Have died otheer ways with no issues, just a crash when falling off a dragon.

Logs:

---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 2023-08-25 21:01:30
Description: Ticking entity

java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.Entity.m_20182_()" because "p_20281_" is null
at net.minecraft.world.entity.Entity.m_20280_(Entity.java:1416) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at com.github.kay9.dragonmounts.dragon.ai.DragonFollowOwnerGoal.m_8045_(DragonFollowOwnerGoal.java:80) ~[dragonmounts-1.20.1-1.1.5.b3.jar%23102!/:1.20.1-1.1.5.b3] {re:classloading}
at net.minecraft.world.entity.ai.goal.WrappedGoal.m_8045_(WrappedGoal.java:27) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.ai.goal.GoalSelector.m_25373_(GoalSelector.java:85) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.Mob.m_6140_(Mob.java:760) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:2542) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.world.entity.Mob.m_8107_(Mob.java:536) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.entity.AgeableMob.m_8107_(AgeableMob.java:128) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.animal.Animal.m_8107_(Animal.java:54) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2292) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.world.entity.Mob.m_8119_(Mob.java:337) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at com.github.kay9.dragonmounts.dragon.TameableDragon.m_8119_(TameableDragon.java:332) ~[dragonmounts-1.20.1-1.1.5.b3.jar%23102!/:1.20.1-1.1.5.b3] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:693) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.Level.m_46653_(Level.java:479) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:343) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:323) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:273) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {}

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

-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.world.entity.Entity.m_20280_(Entity.java:1416) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at com.github.kay9.dragonmounts.dragon.ai.DragonFollowOwnerGoal.m_8045_(DragonFollowOwnerGoal.java:80) ~[dragonmounts-1.20.1-1.1.5.b3.jar%23102!/:1.20.1-1.1.5.b3] {re:classloading}
at net.minecraft.world.entity.ai.goal.WrappedGoal.m_8045_(WrappedGoal.java:27) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.ai.goal.GoalSelector.m_25373_(GoalSelector.java:85) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.Mob.m_6140_(Mob.java:760) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.entity.LivingEntity.m_8107_(LivingEntity.java:2542) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.world.entity.Mob.m_8107_(Mob.java:536) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.entity.AgeableMob.m_8107_(AgeableMob.java:128) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.animal.Animal.m_8107_(Animal.java:54) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2292) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.world.entity.Mob.m_8119_(Mob.java:337) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at com.github.kay9.dragonmounts.dragon.TameableDragon.m_8119_(TameableDragon.java:332) ~[dragonmounts-1.20.1-1.1.5.b3.jar%23102!/:1.20.1-1.1.5.b3] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8647_(ServerLevel.java:693) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.Level.m_46653_(Level.java:479) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:343) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:323) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
-- Entity being ticked --
Details:
Entity Type: dragonmounts:dragon (com.github.kay9.dragonmounts.dragon.TameableDragon)
Entity ID: 8
Entity Name: Aether Dragon
Entity's Exact location: -282.27, 74.11, 26.41
Entity's Block location: World: (-283,74,26), Section: (at 5,10,10 in -18,4,1; chunk contains blocks -288,-64,16 to -273,319,31), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Entity's Momentum: -0.91, -0.18, -0.10
Entity's Passengers: []
Entity's Vehicle: null
Stacktrace:
at net.minecraft.world.level.Level.m_46653_(Level.java:479) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.level.ServerLevel.m_184063_(ServerLevel.java:343) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.world.level.entity.EntityTickList.m_156910_(EntityTickList.java:54) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading}
at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:323) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:273) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {}

-- Affected level --
Details:
All players: 0 total; []
Chunk stats: 2209
Level dimension: minecraft:overworld
Level spawn location: World: (-288,68,0), Section: (at 0,4,0 in -18,4,0; chunk contains blocks -288,-64,0 to -273,319,15), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Level time: 15075417 game time, 1736360 day time
Level name: New world
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Level weather: Rain time: 71505 (now: false), thunder time: 50366 (now: false)
Known server brands: vanilla, Spigot, forge
Removed feature flags:
Level was modded: true
Level storage version: 0x04ABD - Anvil
Stacktrace:
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:893) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:273) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23105!/:?] {re:classloading,pl:accesstransformer:B}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {}

-- System Details --
Details:
Minecraft Version: 1.20.1
Minecraft Version ID: 1.20.1
Operating System: Linux (amd64) version 5.15.0-78-generic
Java Version: 17.0.5, Amazon.com Inc.
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Amazon.com Inc.
Memory: 895091288 bytes (853 MiB) / 1568669696 bytes (1496 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 112
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Xeon(R) Gold 6348 CPU @ 2.60GHz
Identifier: Intel64 Family 6 Model 106 Stepping 6
Microarchitecture: Ice Lake (Server)
Frequency (GHz): 2.60
Number of physical packages: 2
Number of physical CPUs: 56
Number of logical CPUs: 112
Graphics card #0 name: unknown
Graphics card #0 vendor: unknown
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: unknown
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 515957.69
Virtual memory used (MB): 616940.25
Swap memory total (MB): 8192.00
Swap memory used (MB): 6.00
JVM Flags: 20 total; -Xmx2048M -XX:+UseContainerSupport -XX:MaxMetaspaceSize=512M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1
Server Running: true
Player Count: 1 / 35; [ServerPlayer['Mindfreak66'/184, l='ServerLevel[New world]', x=-274.02, y=67.00, z=9.77, removed=KILLED]]
Data Packs: vanilla, file/bukkit, file/graves v2.8.8 (MC 1.20.x).zip, file/more mob heads v2.12.1 (MC 1.20.x).zip, file/multiplayer sleep v2.6.4 (MC 1.20.x).zip, file/player head drops v1.1.4 (MC 1.20.x).zip, file/VanillaTweaks_c724570_MC1.20.x.zip, mod:forge, mod:jei, mod:dragonmounts, file/timber v2.1.6 (MC 1.20.x).zip
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
Is Modded: Definitely; Server brand changed to 'forge'
Type: Dedicated Server (map_server.txt)
ModLauncher: 10.0.9+10.0.9+main.dcd20f30
ModLauncher launch target: forgeserver
ModLauncher naming: srg
ModLauncher services:
mixin-0.8.5.jar mixin PLUGINSERVICE
eventbus-6.0.5.jar eventbus PLUGINSERVICE
fmlloader-1.20.1-47.1.3.jar slf4jfixer PLUGINSERVICE
fmlloader-1.20.1-47.1.3.jar object_holder_definalize PLUGINSERVICE
fmlloader-1.20.1-47.1.3.jar runtime_enum_extender PLUGINSERVICE
fmlloader-1.20.1-47.1.3.jar capability_token_subclass PLUGINSERVICE
accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE
fmlloader-1.20.1-47.1.3.jar runtimedistcleaner PLUGINSERVICE
modlauncher-10.0.9.jar mixin TRANSFORMATIONSERVICE
modlauncher-10.0.9.jar fml TRANSFORMATIONSERVICE
FML Language Providers:
[email protected]
lowcodefml@null
javafml@null
Mod List:
server-1.20.1-20230612.114412-srg.jar |Minecraft |minecraft |1.20.1 |DONE |Manifest: NOSIGNATURE
forge-1.20.1-47.1.3-universal.jar |Forge |forge |47.1.3 |DONE |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90
dragonmounts-1.20.1-1.1.5.b3.jar |Dragon Mounts: Legacy |dragonmounts |1.1.5.b3 |DONE |Manifest: NOSIGNATURE
jei-1.20.1-forge-15.2.0.26.jar |Just Enough Items |jei |15.2.0.26 |DONE |Manifest: NOSIGNATURE
Crash Report UUID: fc835771-d776-4067-80ff-ee7289e4409f
FML: 47.1
Forge: net.minecraftforge:47.1.3

commented

Hey @Kay9Unit did you fix it for 1.20.1 version? Because the latest beta update was on 08.07.2023 it does crash on our side on the server? would you update it on Curseforge?

Thanks a lot

commented

This should be fixed by #185

commented

Thanksfor the response. I'm fairly new to modding and github, so not sure what exactly you mean? Is there an update to download for this fix? Thanks so much.

commented

There is a fix, but it is not in a release yet. I am not the owner of DM:L, so I cannot create a release with the fix.

I imagine Kay9 is busy at the moment and I was the one who introduced this issue, so I was just making a note so when they catch up on things they know there is a fix ready for this issue.

commented

Perfect, thanks for much for the reply!