Advanced XRay (Fabric Edition)

Advanced XRay (Fabric Edition)

1M Downloads

Crashing when entering a world

Leo-Lost opened this issue ยท 0 comments

commented

Describe the bug
Whenever I try to join a world, be it single or multiplayer, my game will crash. This started happening suddenly, without me changing anything. Just fine in the morning and in the evening something's wrong. I mean I probably fucked something up, but I can't remember changing anything. Now, whenever I join a world it crashes and I receive this crash message:

The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "pro.mikey.fabric.xray.StateSettings.isActive()" because the return value of "pro.mikey.fabric.xray.storage.SettingsStore.get()" is null

Crash report:
---- Minecraft Crash Report ----
// You're mean.

Time: 22. 09. 2023. 22:29
Description: Unexpected error

java.lang.NullPointerException: Cannot invoke "pro.mikey.fabric.xray.StateSettings.isActive()" because the return value of "pro.mikey.fabric.xray.storage.SettingsStore.get()" is null
at pro.mikey.fabric.xray.screens.forge.GuiOverlay.RenderGameOverlayEvent(GuiOverlay.java:17)
at net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback.lambda$static$0(HudRenderCallback.java:27)
at net.minecraft.class_329.handler$zhm000$render(class_329.java:2545)
at net.minecraft.class_329.method_1753(class_329.java:410)
at net.minecraft.class_757.method_3192(class_757.java:862)
at net.minecraft.class_310.method_1523(class_310.java:1143)
at net.minecraft.class_310.method_1514(class_310.java:734)
at net.minecraft.client.main.Main.main(Main.java:237)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

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

-- Head --
Thread: Render thread
Stacktrace:
at pro.mikey.fabric.xray.screens.forge.GuiOverlay.RenderGameOverlayEvent(GuiOverlay.java:17)
at net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback.lambda$static$0(HudRenderCallback.java:27)
at net.minecraft.class_329.handler$zhm000$render(class_329.java:2545)
at net.minecraft.class_329.method_1753(class_329.java:410)

-- Affected level --
Details:
All players: 1 total; [class_746['Malphas'/42780, l='ClientLevel', x=-666.20, y=64.00, z=8783.40]]
Chunk stats: 1024, 461
Level dimension: minecraft:overworld
Level spawn location: World: (-5800,70,-200), Section: (at 8,6,8 in -363,4,-13; chunk contains blocks -5808,-64,-208 to -5793,319,-193), Region: (-12,-1; contains chunks -384,-32 to -353,-1, blocks -6144,-64,-512 to -5633,319,-1)
Level time: 19570 game time, 7255131330 day time
Server brand: BungeeCord <- Paper
Server type: Non-integrated multiplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:453)
at net.minecraft.class_310.method_1587(class_310.java:2288)
at net.minecraft.class_310.method_1514(class_310.java:758)
at net.minecraft.client.main.Main.main(Main.java:237)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default, Fabric Mods

-- System Details --
Details:
Minecraft Version: 1.19
Minecraft Version ID: 1.19
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.8, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 609519976 bytes (581 MiB) / 1308622848 bytes (1248 MiB) up to 2147483648 bytes (2048 MiB)
CPUs: 4
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Identifier: Intel64 Family 6 Model 42 Stepping 7
Microarchitecture: unknown
Frequency (GHz): 3,29
Number of physical packages: 1
Number of physical CPUs: 2
Number of logical CPUs: 4
Graphics card #0 name: AMD Radeon HD 5670
Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #0 VRAM (MB): 1024,00
Graphics card #0 deviceId: 0x68d8
Graphics card #0 versionInfo: DriverVersion=15.201.1151.1008
Memory slot #0 capacity (MB): 4096,00
Memory slot #0 clockSpeed (GHz): 1,33
Memory slot #0 type: Unknown
Memory slot #1 capacity (MB): 4096,00
Memory slot #1 clockSpeed (GHz): 1,33
Memory slot #1 type: Unknown
Virtual memory max (MB): 13433,67
Virtual memory used (MB): 11318,53
Swap memory total (MB): 5258,24
Swap memory used (MB): 889,26
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
advanced-xray-fabric: Advanced XRay (Fabric) 1.19-1.1.0-build.12
appleskin: AppleSkin 2.4.1+mc1.19
betterf3: BetterF3 1.3.2
boostedbrightness: Boosted Brightness 2.1.2
easiervillagertrading: EasierVillagerTrading 1.19-fabric0.53.3-1.5.4
gbfabrictools: GBfabrictools 1.3.4+1.19
ecs: Elytra/Chestplate Swapper 1.2.1-MC1.19
fabric: Fabric API 0.58.0+1.19
fabric-api-base: Fabric API Base 0.4.9+e62f51a3a9
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.7+9ff28f40a9
fabric-biome-api-v1: Fabric Biome API (v1) 9.0.14+b2a4a624a9
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.18+9ff28f40a9
fabric-command-api-v1: Fabric Command API (v1) 1.2.6+f71b366fa9
fabric-command-api-v2: Fabric Command API (v2) 2.1.2+0d55f585a9
fabric-commands-v0: Fabric Commands (v0) 0.2.23+df3654b3a9
fabric-containers-v0: Fabric Containers (v0) 0.1.28+df3654b3a9
fabric-content-registries-v0: Fabric Content Registries (v0) 3.2.1+07df213ea9
fabric-convention-tags-v1: Fabric Convention Tags 1.0.8+37622d24a9
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.3+bd0a0d4aa9
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.1.2+a680b9b4a9
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.28+a6d2f785a9
fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.16+9ff28f40a9
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.26+9ff28f40a9
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.26+df3654b3a9
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.19+18990361a9
fabric-item-api-v1: Fabric Item API (v1) 1.5.5+35a03c43a9
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.26+9ff28f40a9
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.18+9ff28f40a9
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.16+df3654b3a9
fabric-loot-api-v2: Fabric Loot API (v2) 1.1.1+03a4e568a9
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.4+9e7660c6a9
fabric-message-api-v1: Fabric Message API (v1) 1.0.1+513f4a59a9
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.11+33fbc738a9
fabric-models-v0: Fabric Models (v0) 0.3.15+9ff28f40a9
fabric-networking-api-v1: Fabric Networking API (v1) 1.1.0+442de8b8a9
fabric-networking-v0: Fabric Networking (v0) 0.3.15+df3654b3a9
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.0.8+9ff28f40a9
fabric-particles-v1: Fabric Particles (v1) 1.0.8+dc39553aa9
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.18+23c4cfefa9
fabric-renderer-api-v1: Fabric Renderer API (v1) 1.0.8+9ff28f40a9
fabric-renderer-indigo: Fabric Renderer - Indigo 0.6.10+5187d39fa9
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.18+df3654b3a9
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.12+9ff28f40a9
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.5+9ff28f40a9
fabric-rendering-v0: Fabric Rendering (v0) 1.1.20+df3654b3a9
fabric-rendering-v1: Fabric Rendering (v1) 1.10.14+9ff28f40a9
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.9+e62f51a3a9
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.6+5f1a85e0a9
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.24+f05effafa9
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.7+9ff28f40a9
fabric-textures-v0: Fabric Textures (v0) 1.0.18+9ff28f40a9
fabric-transfer-api-v1: Fabric Transfer API (v1) 2.0.9+e62f51a3a9
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.1+9e7660c6a9
fabric-language-kotlin: Fabric Language Kotlin 1.7.4+kotlin.1.6.21
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.6.21
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.6.21
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.6.21
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.6.21
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.1
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.1
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.3.2
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.2
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.2
fabricloader: Fabric Loader 0.14.9
forgetmechunk: Forget Me Chunk 1.0.4-1.18.X-1.19.X
freecam: Freecam 1.1.4
cloth-config: Cloth Config v6 7.0.73
cloth-basic-math: cloth-basic-math 0.6.1
inventoryprofilesnext: Inventory Profiles Next 1.8.2
java: OpenJDK 64-Bit Server VM 17
libipn: libIPN 1.0.3
litematica: Litematica 0.12.0
lithium: Lithium 0.8.1
logical_zoom: Logical Zoom 0.0.15
malilib: MaLiLib 0.13.0
minecraft: Minecraft 1.19
minihud: MiniHUD 0.23.0
modmenu: Mod Menu 4.0.4
no_fog: No Fog 1.3.1+1.16.5-1.19.2
reeses-sodium-options: Reese's Sodium Options 1.4.6+mc1.19.2-build.55
shulkerboxtooltip: Shulker Box Tooltip 3.1.1+1.19
sodium: Sodium 0.4.2+build.16
org_joml_joml: joml 1.10.4
sodium-extra: Sodium Extra 0.4.7+mc1.19.2-build.52
caffeineconfig: CaffeineConfig 1.0.0+1.17
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.1+83a8659290
worldedit: WorldEdit 7.2.11-beta-02+315c5d0
Launched Version: fabric-loader-0.14.9-1.19
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: AMD Radeon HD 5670 GL version 3.2.13399 Core Profile Forward-Compatible Context 15.201.1151.1008, ATI Technologies Inc.
Window size: 1680x1027
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: Fabric Mods
Current Language: English (US)
CPU: 4x Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz

Minecraft Enviorment

  • Minecraft Version: [eg: 1.19]
  • XRay Mod Version: [eg: 1.1.0]

Additional context
I have several performance mods as well as some client-side mods sprinkled in, but they shouldn't be the source of the problem I think. They worked together just fine for months.