Create Enchantment Industry

Create Enchantment Industry

13M Downloads

Crash with AccumulativeTrigger.

MarbleGateKeeper opened this issue · 1 comments

commented

Report from @discord/!Tobingbong#7519

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 10/28/22, 9:01 AM
Description: Ticking block entity

java.lang.NullPointerException: Cannot invoke "net.minecraft.server.level.ServerPlayer.m_8960_()" because "p_66235_" is null
	at net.minecraft.advancements.critereon.SimpleCriterionTrigger.m_66234_(SimpleCriterionTrigger.java:50) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading,re:mixin}
	at plus.dragons.createenchantmentindustry.foundation.data.advancement.AccumulativeTrigger.trigger(AccumulativeTrigger.java:38) ~[create_enchantment_industry-1.18.2-for-create-0.5.0.e-1.1.2.jar%2364!/:1.1.2] {re:classloading}
	at plus.dragons.createenchantmentindustry.content.contraptions.enchanting.copier.CopierBlockEntity.whenItemHeld(CopierBlockEntity.java:151) ~[create_enchantment_industry-1.18.2-for-create-0.5.0.e-1.1.2.jar%2364!/:1.1.2] {re:classloading}
	at com.simibubi.create.foundation.tileEntity.behaviour.belt.BeltProcessingBehaviour.handleHeldItem(BeltProcessingBehaviour.java:64) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at com.simibubi.create.content.contraptions.relays.belt.transport.BeltInventory.handleBeltProcessingAndCheckIfRemoved(BeltInventory.java:237) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at com.simibubi.create.content.contraptions.relays.belt.transport.BeltInventory.tick(BeltInventory.java:142) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at com.simibubi.create.content.contraptions.relays.belt.BeltTileEntity.tick(BeltTileEntity.java:129) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading,pl:runtimedistcleaner:A}
	at com.simibubi.create.foundation.tileEntity.SmartTileEntityTicker.m_155252_(SmartTileEntityTicker.java:15) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:673) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading}
	at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:766) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading}
	at net.minecraft.world.level.Level.m_46463_(Level.java:476) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sereneseasons.mixins.json:MixinLevel,pl:mixin:APP:canary.mixins.json:alloc.chunk_random.WorldMixin,pl:mixin:APP:canary.mixins.json:world.block_entity_retrieval.WorldMixin,pl:mixin:APP:canary.mixins.json:world.chunk_access.WorldMixin,pl:mixin:APP:canary.mixins.json:world.inline_block_access.WorldMixin,pl:mixin:APP:canary.mixins.json:world.inline_height.WorldMixin,pl:mixin:A}
	at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:327) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:sereneseasons:temperature_transformer,re:classloading,pl:accesstransformer:B,xf:fml:sereneseasons:temperature_transformer,pl:mixin:APP:immersive_weathering-common.mixins.json:ServerLevelMixin,pl:mixin:APP:betterdeserttemples.mixins.json:ServerLevelMixin,pl:mixin:APP:blueprint.mixins.json:ServerLevelMixin,pl:mixin:APP:supplementaries.mixins.json:ServerLevelMixin,pl:mixin:APP:canary.mixins.json:ai.nearby_entity_tracking.ServerWorldAccessor,pl:mixin:APP:canary.mixins.json:alloc.chunk_random.ServerWorldMixin,pl:mixin:APP:canary.mixins.json:chunk.entity_class_groups.ServerWorldAccessor,pl:mixin:APP:canary.mixins.json:entity.inactive_navigations.ServerWorldMixin,pl:mixin:APP:canary.mixins.json:profiler.ServerWorldMixin,pl:mixin:APP:pluto.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:APP:create.mixins.json:accessor.ServerLevelAccessor,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:902) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:326) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:blueprint.mixins.json:DedicatedServerMixin,pl:mixin:APP:chunkpregen.mixins.json:common.server.DedicatedServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:842) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:685) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin}


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

-- Head --
Thread: Server thread
Stacktrace:
	at net.minecraft.advancements.critereon.SimpleCriterionTrigger.m_66234_(SimpleCriterionTrigger.java:50) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading,re:mixin}
	at plus.dragons.createenchantmentindustry.foundation.data.advancement.AccumulativeTrigger.trigger(AccumulativeTrigger.java:38) ~[create_enchantment_industry-1.18.2-for-create-0.5.0.e-1.1.2.jar%2364!/:1.1.2] {re:classloading}
	at plus.dragons.createenchantmentindustry.content.contraptions.enchanting.copier.CopierBlockEntity.whenItemHeld(CopierBlockEntity.java:151) ~[create_enchantment_industry-1.18.2-for-create-0.5.0.e-1.1.2.jar%2364!/:1.1.2] {re:classloading}
	at com.simibubi.create.foundation.tileEntity.behaviour.belt.BeltProcessingBehaviour.handleHeldItem(BeltProcessingBehaviour.java:64) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at com.simibubi.create.content.contraptions.relays.belt.transport.BeltInventory.handleBeltProcessingAndCheckIfRemoved(BeltInventory.java:237) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at com.simibubi.create.content.contraptions.relays.belt.transport.BeltInventory.tick(BeltInventory.java:142) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at com.simibubi.create.content.contraptions.relays.belt.BeltTileEntity.tick(BeltTileEntity.java:129) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading,pl:runtimedistcleaner:A}
	at com.simibubi.create.foundation.tileEntity.SmartTileEntityTicker.m_155252_(SmartTileEntityTicker.java:15) ~[create-1.18.2-0.5.0.e.jar%2363!/:0.5.0.e] {re:classloading}
	at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:673) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading}
	at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:766) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading}
	at net.minecraft.world.level.Level.m_46463_(Level.java:476) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sereneseasons.mixins.json:MixinLevel,pl:mixin:APP:canary.mixins.json:alloc.chunk_random.WorldMixin,pl:mixin:APP:canary.mixins.json:world.block_entity_retrieval.WorldMixin,pl:mixin:APP:canary.mixins.json:world.chunk_access.WorldMixin,pl:mixin:APP:canary.mixins.json:world.inline_block_access.WorldMixin,pl:mixin:APP:canary.mixins.json:world.inline_height.WorldMixin,pl:mixin:A}
	at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:327) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:sereneseasons:temperature_transformer,re:classloading,pl:accesstransformer:B,xf:fml:sereneseasons:temperature_transformer,pl:mixin:APP:immersive_weathering-common.mixins.json:ServerLevelMixin,pl:mixin:APP:betterdeserttemples.mixins.json:ServerLevelMixin,pl:mixin:APP:blueprint.mixins.json:ServerLevelMixin,pl:mixin:APP:supplementaries.mixins.json:ServerLevelMixin,pl:mixin:APP:canary.mixins.json:ai.nearby_entity_tracking.ServerWorldAccessor,pl:mixin:APP:canary.mixins.json:alloc.chunk_random.ServerWorldMixin,pl:mixin:APP:canary.mixins.json:chunk.entity_class_groups.ServerWorldAccessor,pl:mixin:APP:canary.mixins.json:entity.inactive_navigations.ServerWorldMixin,pl:mixin:APP:canary.mixins.json:profiler.ServerWorldMixin,pl:mixin:APP:pluto.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:APP:create.mixins.json:accessor.ServerLevelAccessor,pl:mixin:A}
-- Block entity being ticked --
Details:
	Name: create:belt // com.simibubi.create.content.contraptions.relays.belt.BeltTileEntity
	Block: Block{create:belt}[casing=false,facing=south,part=start,slope=horizontal]
	Block location: World: (-164,-46,371), Section: (at 12,2,3 in -11,-3,23; chunk contains blocks -176,-64,368 to -161,319,383), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
	Block: Block{create:belt}[casing=false,facing=south,part=start,slope=horizontal]
	Block location: World: (-164,-46,371), Section: (at 12,2,3 in -11,-3,23; chunk contains blocks -176,-64,368 to -161,319,383), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
Stacktrace:
	at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m_142224_(LevelChunk.java:673) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading}
	at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m_142224_(LevelChunk.java:766) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:classloading}
	at net.minecraft.world.level.Level.m_46463_(Level.java:476) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:sereneseasons.mixins.json:MixinLevel,pl:mixin:APP:canary.mixins.json:alloc.chunk_random.WorldMixin,pl:mixin:APP:canary.mixins.json:world.block_entity_retrieval.WorldMixin,pl:mixin:APP:canary.mixins.json:world.chunk_access.WorldMixin,pl:mixin:APP:canary.mixins.json:world.inline_block_access.WorldMixin,pl:mixin:APP:canary.mixins.json:world.inline_height.WorldMixin,pl:mixin:A}
	at net.minecraft.server.level.ServerLevel.m_8793_(ServerLevel.java:327) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:sereneseasons:temperature_transformer,re:classloading,pl:accesstransformer:B,xf:fml:sereneseasons:temperature_transformer,pl:mixin:APP:immersive_weathering-common.mixins.json:ServerLevelMixin,pl:mixin:APP:betterdeserttemples.mixins.json:ServerLevelMixin,pl:mixin:APP:blueprint.mixins.json:ServerLevelMixin,pl:mixin:APP:supplementaries.mixins.json:ServerLevelMixin,pl:mixin:APP:canary.mixins.json:ai.nearby_entity_tracking.ServerWorldAccessor,pl:mixin:APP:canary.mixins.json:alloc.chunk_random.ServerWorldMixin,pl:mixin:APP:canary.mixins.json:chunk.entity_class_groups.ServerWorldAccessor,pl:mixin:APP:canary.mixins.json:entity.inactive_navigations.ServerWorldMixin,pl:mixin:APP:canary.mixins.json:profiler.ServerWorldMixin,pl:mixin:APP:pluto.mixins.json:server.fastchunkentityaccess.ServerWorldMixin,pl:mixin:APP:assets/sound_physics_remastered/sound_physics_remastered.mixins.json:ServerWorldMixin,pl:mixin:APP:create.mixins.json:accessor.ServerLevelAccessor,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:902) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:326) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:blueprint.mixins.json:DedicatedServerMixin,pl:mixin:APP:chunkpregen.mixins.json:common.server.DedicatedServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:842) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:685) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin}


-- Affected level --
Details:
	All players: 1 total; [ServerPlayer['Tobingbong'/10, l='ServerLevel[New World]', x=-181.52, y=-44.00, z=365.74]]
	Chunk stats: 2101
	Level dimension: minecraft:overworld
	Level spawn location: World: (-195,67,57), Section: (at 13,3,9 in -13,4,3; chunk contains blocks -208,-64,48 to -193,319,63), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
	Level time: 10764720 game time, 9107516 day time
	Level name: New World
	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
	Level weather: Rain time: 14592 (now: false), thunder time: 19475 (now: false)
	Known server brands: forge
	Level was modded: true
	Level storage version: 0x04ABD - Anvil
Stacktrace:
	at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:902) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:326) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:blueprint.mixins.json:DedicatedServerMixin,pl:mixin:APP:chunkpregen.mixins.json:common.server.DedicatedServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:842) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:685) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[server-1.18.2-20220404.173914-srg.jar%23126!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:fastload.mixins.json:MinecraftServerMixin,pl:mixin:APP:tetrapak.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:APP:chunkpregen.mixins.json:common.server.MinecraftServerMixin,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) [?:?] {re:mixin}


-- System Details --
Details:
	Minecraft Version: 1.18.2
	Minecraft Version ID: 1.18.2
	Operating System: Linux (amd64) version 5.10.0-8-amd64
	Java Version: 17.0.2, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
	Memory: 1798346848 bytes (1715 MiB) / 8388608000 bytes (8000 MiB) up to 8388608000 bytes (8000 MiB)
	CPUs: 2
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 9 3950X 16-Core Processor
	Identifier: AuthenticAMD Family 23 Model 113 Stepping 0
	Microarchitecture: Zen 2
... (还剩130 行)
commented
MC 1.19.2: net/minecraft/server/level/ServerPlayer.getAdvancements
Name: M => m_8960_ => getAdvancements
Side: BOTH
Descriptor: net.minecraft.server.PlayerAdvancements getAdvancements()
AT: public net.minecraft.server.level.ServerPlayer m_8960_()Lnet/minecraft/server/PlayerAdvancements; # getAdvancements