Bewitchment

Bewitchment

7M Downloads

ritual starting via dispenser w/ athame crash - 1.17-7

alphachicken22 opened this issue ยท 0 comments

commented

Description:
I found a crash on the 1.17-7 update and older with starting rituals using a dispenser w/ athame method. It doesn't matter if there's items, or if it's a valid ritual, or if you have enough altar power. It just crashes no matter what when trying to activate a ritual that way. I have only done this with the player in the area and in the overworld dimension. The ritual also doesn't actually start if you join the world after the crash. This also triggered a crash on a server, but only crashed the host & not the client. I am using a variety of mods, which the list is in the crash report if the issue is a mod conflict. I'm also using the "Not Enough Crashes" mod to provide more details on the crash.

Reproducing the crash (The steps I took specifically):

  1. Create an altar with or without sufficient power. (May or may not be necessary to have an altar. Untested)
  2. Place a ritual circle of refining. (I only tested it with this ritual)
  3. Place a dispenser w/ athame inside, 1 block away from the gold chalk, facing the gold chalk. (No blocks in-between the dispenser & chalk.)
  4. Activate the dispenser with a stone button. (How I activated it.)

Crash Report:
---- Minecraft Crash Report ----
// Uh... Did I do that?

Time: 9/23/21, 12:09 PM
Description: Exception while ticking

java.lang.NullPointerException: Cannot invoke "net.minecraft.class_3244.method_14369(net.minecraft.class_2596, io.netty.util.concurrent.GenericFutureListener)" because "this.field_13987" is null
at net.minecraft.server.network.ServerPlayerEntity.sendMessage(ServerPlayerEntity:1302)
at net.minecraft.server.network.ServerPlayerEntity.sendMessage(ServerPlayerEntity:1130)
at moriyashiine.bewitchment.common.block.entity.GlyphBlockEntity.onUse(GlyphBlockEntity.java:245)
at moriyashiine.bewitchment.common.block.GlyphBlock.onUse(GlyphBlock.java:74)
at moriyashiine.bewitchment.common.item.AthameItem$1.dispenseSilently(AthameItem.java:60)
at net.minecraft.block.dispenser.ItemDispenserBehavior.dispense(ItemDispenserBehavior:15)
at net.minecraft.block.DispenserBlock.dispense(DispenserBlock:90)
at net.minecraft.block.DispenserBlock.scheduledTick(DispenserBlock:113)
at net.minecraft.block.AbstractBlock$AbstractBlockState.scheduledTick(AbstractBlock:918)
at net.minecraft.server.world.ServerWorld.tickBlock(ServerWorld:644)
at net.minecraft.server.world.ServerTickScheduler.tick(ServerTickScheduler:81)
at net.minecraft.server.world.ServerWorld.tick(ServerWorld:364)
at net.minecraft.server.MinecraftServer.tickWorlds(MinecraftServer:891)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer:831)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer:96)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer:270)
at java.lang.Thread.run(Thread.java:831)

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

-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.class_3222.method_14254(class_3222.java:1302)
at net.minecraft.class_3222.method_7353(class_3222.java:1130)
at moriyashiine.bewitchment.common.block.entity.GlyphBlockEntity.onUse(GlyphBlockEntity.java:245)
at moriyashiine.bewitchment.common.block.GlyphBlock.method_9534(GlyphBlock.java:74)
at moriyashiine.bewitchment.common.item.AthameItem$1.method_10135(AthameItem.java:60)
at net.minecraft.class_2347.dispense(class_2347.java:15)
at net.minecraft.class_2315.method_10012(class_2315.java:90)

-- Patchouli Book Info --
Details:
Patchouli open book context: n/a
Stacktrace:
at net.minecraft.class_128.handler$eda000$fillPatchouliContext(class_128.java:1521)
at net.minecraft.class_128.(class_128.java:37)
at net.minecraft.class_128.method_560(class_128.java:267)
at net.minecraft.class_1949.method_8670(class_1949.java:83)
at net.minecraft.class_3218.method_18765(class_3218.java:364)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:891)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:831)
at net.minecraft.class_1132.method_3748(class_1132.java:96)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
at java.base/java.lang.Thread.run(Thread.java:831)

-- Block being ticked --
Details:
Block location: World: (62,72,148), Section: (at 14,8,4 in 3,4,9; chunk contains blocks 48,0,144 to 63,255,159), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

-- Affected level --
Details:
All players: 1 total; [class_3222['alphachicken22'/1156, l='ServerWorld minecraft:overworld New World', x=59.97, y=72.13, z=146.79]]
Chunk stats: 2025
Level dimension: minecraft:overworld
Level spawn location: World: (64,72,145), Section: (at 0,8,1 in 4,4,9; chunk contains blocks 64,0,144 to 79,255,159), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 4155 game time, 4155 day time
Level name: New World
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Level weather: Rain time: 153436 (now: false), thunder time: 69223 (now: false)
Known server brands: fabric
Level was modded: true
Level storage version: 0x04ABD - Anvil

-- System Details --
Details:
Minecraft Version: 1.17.1
Minecraft Version ID: 1.17.1
Operating System: Windows 10 (amd64) version 10.0
Java Version: 16.0.2, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 4200486400 bytes (4005 MiB) / 7298088960 bytes (6960 MiB) up to 16106127360 bytes (15360 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
Identifier: Intel64 Family 6 Model 42 Stepping 7
Microarchitecture: Sandy Bridge (Client)
Frequency (GHz): 3.39
Number of physical packages: 1
Number of physical CPUs: 4
Number of logical CPUs: 8
Graphics card #0 name: NVIDIA GeForce GTX 1650
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1f82
Graphics card #0 versionInfo: DriverVersion=30.0.14.7111
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 1.33
Memory slot #0 type: DDR3
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 1.33
Memory slot #1 type: DDR3
Memory slot #2 capacity (MB): 4096.00
Memory slot #2 clockSpeed (GHz): 1.33
Memory slot #2 type: DDR3
Memory slot #3 capacity (MB): 4096.00
Memory slot #3 clockSpeed (GHz): 1.33
Memory slot #3 type: DDR3
Virtual memory max (MB): 32212.68
Virtual memory used (MB): 18275.31
Swap memory total (MB): 15872.00
Swap memory used (MB): 111.59
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms2048m -Xmx15360m
Fabric Mods:
adorn: Adorn 2.1.3+1.17.1
advanced_runtime_resource_pack: Runtime Resource Pack 0.2.9
adventurez: AdventureZ 1.2.11
apoli: Apoli 1.0.4
aqupdgrizzly: Grizzly Bear mob 1.17-1.2.0
architectury: Architectury 2.5.27
artofalchemy: Art of Alchemy: Memoriam 1.2.0+1.17.1
authme: Auth Me 1.5.0
automatone: Automatone 0.4.1
axolotlitemfix: Axolotl Item Fix 1.1.2
bclib: BCLib 0.3.1
betterend: Better End 0.11.0-pre
bettermineshafts: YUNG's Better Mineshafts 1.17-1.0.1
betternether: Better Nether 5.1.3
betterstrongholds: YUNG's Better Strongholds 1.17-1.1.1
betterthanmending: BetterThanMending 1.3.0
betterthirdperson: Better Third Person 1.5.0
bewitchment: Bewitchment 1.17-7
bitsandchisels: BitsAndChisels 2.5.3
blockshifter: Blockshifter 1.4.0+fabric-1.17.1
blockus: Blockus 2.2.8+1.17.1
bosses_of_mass_destruction: Bosses of Mass Destruction (Beta) 1.2.3-1.17.1
caelus: Caelus API 0.0.17-1.17
calio: Calio 1.0.2
cardinal-components-base: Cardinal Components API (base) 3.1.1
cardinal-components-chunk: Cardinal Components API (chunks) 3.0.0
cardinal-components-entity: Cardinal Components API (entities) 3.1.1
cardinal-components-item: Cardinal Components API (items) 3.0.0-nightly.1.17-pre2
cardinal-components-level: Cardinal Components API (world saves) 3.0.0-nightly.1.17-pre2
cardinal-components-scoreboard: Cardinal Components API (scoreboard) 3.1.1
cardinal-components-util: Cardinal Components API (utilities) 3.0.0-nightly.1.17-pre2
cardinal-components-world: Cardinal Components API (worlds) 3.1.1
carrier: Carrier 1.8.0
charm: Charm 3.3.2
chime: Chime 1.2.0-SNAPSHOT
chipped: Chipped 1.1.1
cloth-basic-math: Cloth Basic Math 0.5.1
cloth-config2: Cloth Config v5 5.0.38
com_electronwill_night-config_core: core 3.6.2
com_electronwill_night-config_toml: toml 3.6.2
com_flowpowered_flow-math: flow-math 1.0.3
com_github_dimensionaldevelopment_poly2tri_java: poly2tri.java 0.1.1
com_moandjiezana_toml_toml4j: toml4j 0.7.2
consistency_plus: Consistency Plus 0.4.0
cosmetic-armor: Cosmetic Armor 1.1.0
crowdin-translate: CrowdinTranslate 1.3+1.17
ctm: ConnectedTexturesMod for Fabric 0.5.1+1.17
customizableelytra: Customizable Elytra 1.5.1-1.17
customportalapi: Custom Portals 0.0.1-beta33-1.17
dimdoors: DimensionalDoors 4.0.0+beta.2-26.07.2021
disable_custom_worlds_advice: Disable Custom Worlds Advice 1.3
doublejump: Double Jump Mod 1.0.1+mc1.17
eldritch_mobs: Eldritch Mobs 1.9.5
extra_enchants: Extra Enchants 0.1.4
extraalchemy: Extra Alchemy 1.6.1
extrakeybinds: ThatRobin's Extra Origins Keybinds 1.17-0.1.2
fabric: Fabric API 0.40.0+1.17
fabric-api-base: Fabric API Base 0.3.0+a02b446313
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.0+cbda931818
fabric-biome-api-v1: Fabric Biome API (v1) 3.2.0+cbda931818
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+a02b446318
fabric-command-api-v1: Fabric Command API (v1) 1.1.3+5ab9934c18
fabric-commands-v0: Fabric Commands (v0) 0.2.2+92519afa18
fabric-containers-v0: Fabric Containers (v0) 0.1.12+cbda931818
fabric-content-registries-v0: Fabric Content Registries (v0) 0.3.0+cbda931818
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.5+be9da31018
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.11+6cefd57718
fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.3+87cc6e4c18
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.10+fc40aa9d18
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+92519afa18
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+cbda931818
fabric-item-api-v1: Fabric Item API (v1) 1.2.4+a02b4463d5
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.10+b7ab612118
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+cbda931818
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+36b77c3e18
fabric-language-kotlin: Fabric Language Kotlin 1.6.4+kotlin.1.5.30
fabric-language-scala: Fabric Language Scala 1.1.0+scala.2.13.6
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.4+a02b4463d5
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.4+a02b446318
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+92519afa18
fabric-models-v0: Fabric Models (v0) 0.3.0+a02b446318
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.13+cbda931818
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.11+a02b446318
fabric-networking-v0: Fabric Networking (v0) 0.3.2+92519afad5
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.10.9+b7ab6121d5
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+a02b446318
fabric-particles-v1: Fabric Particles (v1) 0.2.4+a02b446318
fabric-permissions-api-v0: fabric-permissions-api 0.1-SNAPSHOT
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.10+e2961fee18
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.4+cbda931818
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.8+cbda931818
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.2+fc40aa9d18
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+a02b446313
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+a02b446318
fabric-rendering-v0: Fabric Rendering (v0) 1.1.3+fc40aa9d18
fabric-rendering-v1: Fabric Rendering (v1) 1.8.1+fc40aa9d18
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+a00e834b18
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.4+198a96213d
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.8+cbda931818
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.13+5ab9934c18
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.1+b06cb95b18
fabric-textures-v0: Fabric Textures (v0) 1.0.6+a02b446318
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.12+b7ab6121d5
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.3.0+fc40aa9d18
fabricloader: Fabric Loader 0.11.6
fallflyinglib: FallFlyingLib 3.0.0-beta.2
ferritecore: FerriteCore 3.0.3
fiber: fiber 0.23.0-2
fiber2cloth: Fiber To Cloth 3.1.1
flytre-lib-base: Flytre Lib - Base Module 1.2.0
flytre-lib-compat: Flytre Lib - Compat Module 1.0.0
flytre-lib-config: Flytre Lib - Config Module 1.1.0
flytre-lib-event: Flytre Lib - Event Module 1.0.1
flytre-lib-gui: Flytre Lib - GUI Module 1.0.0
flytre-lib-storage: Flytre Lib - Storage Module 2.3.1
flytre_lib: Flytre Lib 1.3.9
gateofbabylon: Gate Of Babylon 1.5.1-1.17.1
geckolib3: Geckolib 3.0.13
genesis: Genesis 0.6.1
goldenhoppers: Golden Hoppers 1.1.0
hplus: Better Hoppers (Hopper+) 3.0.1
hydrogen: Hydrogen 0.3
imm_ptl_core: Immersive Portals Core 0.20
immersive_portals: Immersive Portals 0.20
impaled: Impaled 1.0.1
impersonate: Impersonate 2.3.3
indium: Indium 1.0.0+mc1.17.1
invmove: InvMove 1.17-0.0.1-r1
itemscroller: Item Scroller 0.15.0-dev.20210707.005506
jankson: Jankson 3.0.1+j1.2.0
java: Java HotSpot(TM) 64-Bit Server VM 16
kanos_config: Kanos Config 0.1.4+1.14.4-1.17.1
kibe: Kibe 1.8.1-BETA+1.17
lambdynlights: LambDynamicLights 2.0.2+1.17
libblockattributes_core: LibBlockAttributes (Core) 0.8.17003
libblockattributes_fluids: LibBlockAttributes (Fluids) 0.8.17003
libblockattributes_items: LibBlockAttributes (Items) 0.8.17003
libcd: LibCapableData 3.0.3+1.16.3
libgui: LibGui 4.1.3+1.17.1
libninepatch: LibNinePatch 1.1.0
libzoomer: LibZoomer 0.2.1+1.17
locki: Locki 0.5.0
lovely_snails: Lovely Snails 1.0.3+1.17
maelstrom_library: Maelstrom Library 1.2.1-1.17
magna: Magna 1.5.5-1.17-pre4
malilib: MaLiLib 0.10.0-dev.24
matrix: Matrix 1.0.0
maybe-data: Maybe data 1.0.1-1.17
minecraft: Minecraft 1.17.1
minihud: MiniHUD 0.19.0-dev.20210707.150016
mm: Manningham Mills 2.3
mo_glass: Mo Glass 1.5-MC1.17.1
moborigins: Mob Origins 1.6.0
modmenu: Mod Menu 2.0.9
mostructures: Mo' Structures 1.2.1-1.17
multipart_entities: MultipartEntities 1.1.2-1.17
notenoughanimations: NotEnoughAnimations 1.3.0
notenoughcrashes: Not Enough Crashes 3.4.4+1.17
okzoomer: Ok Zoomer 5.0.0-beta.2+1.17
omega-config: OmegaConfig 1.0.8
org_aperlambda_lambdajcommon: lambdajcommon 1.8.1
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.5.30
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.5.30
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.5.30
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.5.30
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.5.1
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.5.1
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.2.2
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.2.2
org_jgrapht_jgrapht-core: jgrapht-core 1.1.0
origins: Origins 1.0.3
origins-classes: Origins: Classes 1.2.2
packages: Packages 1.2.1
pandemonium: Requiem: Pandemonium 2.0.0-alpha.11
pandemoniumapi: Requiem: Pandemonium-API 2.0.0-alpha.11
patchouli: Patchouli 1.17-54-FABRIC
pehkui: Pehkui 2.3.0+1.14.4-1.17.1
physicsmod: Physics Mod 2.4.5
pitch-dark: Pitch Dark 2.0.0
playerabilitylib: Pal 1.3.0
portalgun: Portal Gun 2.0.0
q_misc_util: A Miscellaneous Utility Library from qouteall 0.20
reach-entity-attributes: Reach Entity Attributes 2.1.1
repurposed_structures: Repurposed Structures 2.3.3+1.17.1
requiem: Requiem 2.0.0-alpha.11
requiem-core: Requiem-Core 2.0.0-alpha.11
requiemapi: Requiem-API 2.0.0-alpha.11
roughlyenoughitems: Roughly Enough Items 6.0.279-alpha
satin: Satin 1.6.4
scorch: Scorch 1.1.0
seedy-behavior: Seedy Behavior 1.0.1
shulkerutils: shulkerutils 1.0.1-1.17
sodium: Sodium 0.3.0+build.5
somnus: Somnus API 0.0.14-1.17.1
spark: spark 1.6.1
spruceui: SpruceUI 3.2.0+1.17
stacc: Stacc 1.2.3
static-content: Static Content 1.0.1-1.16.2
staticdata: Static Data 1.1.2
step-height-entity-attribute: Step Height Entity Attribute 1.0.0
terraform-biome-builder-api-v1: Terraform Biome Builder API (v1) 2.0.0
terraform-config-api-v1: Terraform Config API (v1) 2.0.0
terraform-overworld-biome-extensions-api-v1: Terraform Overworld Biome Extensions API (v1) 2.0.0
terraform-surfaces-api-v1: Terraform Surfaces API (v1) 2.0.0
terraform-tree-api-v1: Terraform Tree API (v1) 2.0.0
terraform-wood-api-v1: Terraform Wood API (v1) 2.0.2
the_aether: The Aether 1.17.1-1.5.0
things: Things 0.2.5
timeinabottle: Time in a Bottle 1.6-mc1.17-fabric
transliterationlib: TRansliterationLib 1.1.0
traverse: Traverse 4.0.0-beta.2
trinkets: Trinkets 3.0.4
truerooms: True Secret Rooms 1.1.5
untitledduckmod: Untitled Duck Mod 0.3.0
upgradedechests: Upgraded Ender Chests 1.0.2-1.17
vanilla-hammers: Vanilla Hammers 3.1.2-1.17
vanillaexcavators: Vanilla Excavators 1.1.0
villagernames: Villager Names 2.0.0
villagershats: Goosik's Villager Hats 1.2.0
voidz: VoidZ 1.0.5
wthit: wthit 3.8.1
xaerominimap: Xaero's Minimap 21.16.0
xaeroworldmap: Xaero's World Map 1.16.1
yungsapi: YUNG's API 1.17-Fabric-16
Player Count: 1 / 8; [class_3222['alphachicken22'/1156, l='ServerWorld minecraft:overworld New World', x=59.97, y=72.13, z=146.79]]
Data Packs: vanilla, dimdoors/default, dimdoors/classic, Fabric Mods
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fabric'
Suspected Mods: Bewitchment (bewitchment)