Break spell crashes game when used in spell turret
KnochenMotte opened this issue ยท 0 comments
Whenever I use the break spell on any spell turret and fired the turret, the world would instantly crash without the block being broken.
I replicated this crash only using ars nouveau and its necessary compatibilites.
I played on neoforge version 21.0.167 and used version 5.0.8 of ars nouveau.
The crash only happens when I used the break spell on a turret, most other spells seemed to work.
This is the crash report:
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 2024-08-19 13:10:07
Description: Exception ticking world
java.lang.NullPointerException: Profile name must not be null
at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?] {}
at MC-BOOTSTRAP/[email protected]/com.mojang.authlib.GameProfile.(GameProfile.java:31) ~[authlib-6.0.54.jar%23139!/:?] {}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.util.BlockUtil.breakExtraBlock(BlockUtil.java:326) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.spell.effect.EffectBreak.onResolveBlock(EffectBreak.java:83) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.AbstractEffect.onResolve(AbstractEffect.java:55) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.resume(SpellResolver.java:194) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.resolveAllEffects(SpellResolver.java:163) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.onResolveEffect(SpellResolver.java:155) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.spell.method.MethodTouch.onCastOnBlock(MethodTouch.java:52) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.onCastOnBlock(SpellResolver.java:115) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.block.BasicSpellTurret$2.onCast(BasicSpellTurret.java:102) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.block.tile.BasicSpellTurretTile.shootSpell(BasicSpellTurretTile.java:73) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.block.BasicSpellTurret.tick(BasicSpellTurret.java:68) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.tick(BlockBehaviour.java:730) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:mixin,re:classloading,pl:mixin:APP:ars_nouveau.mixins.json:redstone.RedstoneLevelMixin from mod ars_nouveau,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickBlock(ServerLevel.java:762) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.ticks.LevelTicks.runCollectedTicks(LevelTicks.java:215) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.ticks.LevelTicks.tick(LevelTicks.java:98) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:367) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1037) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:917) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:110) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:runtimedistcleaner:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:707) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Thread: Server thread
Stacktrace:
at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?] {}
at MC-BOOTSTRAP/[email protected]/com.mojang.authlib.GameProfile.(GameProfile.java:31) ~[authlib-6.0.54.jar%23139!/:?] {}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.util.BlockUtil.breakExtraBlock(BlockUtil.java:326) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.spell.effect.EffectBreak.onResolveBlock(EffectBreak.java:83) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.AbstractEffect.onResolve(AbstractEffect.java:55) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.resume(SpellResolver.java:194) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.resolveAllEffects(SpellResolver.java:163) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.onResolveEffect(SpellResolver.java:155) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.spell.method.MethodTouch.onCastOnBlock(MethodTouch.java:52) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.api.spell.SpellResolver.onCastOnBlock(SpellResolver.java:115) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.block.BasicSpellTurret$2.onCast(BasicSpellTurret.java:102) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.block.tile.BasicSpellTurretTile.shootSpell(BasicSpellTurretTile.java:73) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/com.hollingsworth.arsnouveau.common.block.BasicSpellTurret.tick(BasicSpellTurret.java:68) ~[ars_nouveau-1.21.0-5.0.8-all.jar%23186!/:5.0.8] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.tick(BlockBehaviour.java:730) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:mixin,re:classloading,pl:mixin:APP:ars_nouveau.mixins.json:redstone.RedstoneLevelMixin from mod ars_nouveau,pl:mixin:A}
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickBlock(ServerLevel.java:762) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.world.ticks.LevelTicks.runCollectedTicks(LevelTicks.java:215) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading}
at TRANSFORMER/[email protected]/net.minecraft.world.ticks.LevelTicks.tick(LevelTicks.java:98) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading}
-- Affected level --
Details:
All players: 1 total; [ServerPlayer['KnochenMotte'/31, l='ServerLevel[New World]', x=-6.86, y=-60.00, z=7.13]]
Chunk stats: 2601
Level dimension: minecraft:overworld
Level spawn location: World: (0,-60,0), Section: (at 0,4,0 in 0,-4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 2503 game time, 2503 day time
Level name: New World
Level game mode: Game mode: creative (ID 1). Hardcore: false. Commands: true
Level weather: Rain time: 131659 (now: false), thunder time: 146229 (now: false)
Known server brands: neoforge
Removed feature flags:
Level was modded: true
Level storage version: 0x04ABD - Anvil
Loaded entity count: 90
Stacktrace:
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.fillReportDetails(ServerLevel.java:1718) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1040) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:917) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:110) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:runtimedistcleaner:A}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:707) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267) ~[client-1.21-20240613.152323-srg.jar%23184!/:?] {re:classloading,pl:accesstransformer:B}
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] {}