Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

1M Downloads

Gui Layout - NullPointerException

Draacoun opened this issue ยท 0 comments

commented

I've tried to create a keyframe, and suddenly my game crashed with the following error. I searched for this problem in the Issue Tracker, and I haven't found anything.

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 2023-07-10 14:28:23
Description: Gui Layout

java.lang.NullPointerException: Cannot invoke "com.replaymod.lib.org.apache.commons.lang3.tuple.Pair.getLeft()" because the return value of "com.replaymod.lib.de.johni0702.minecraft.gui.layout.CustomLayout.entry(com.replaymod.lib.de.johni0702.minecraft.gui.element.GuiElement)" is null
	at com.replaymod.lib.de.johni0702.minecraft.gui.layout.CustomLayout.pos(CustomLayout.java:84)
	at com.replaymod.lib.de.johni0702.minecraft.gui.popup.AbstractGuiPopup$4.layout(AbstractGuiPopup.java:133)
	at com.replaymod.lib.de.johni0702.minecraft.gui.layout.CustomLayout.layOut(CustomLayout.java:68)
	at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiContainer.layout(AbstractGuiContainer.java:140)
	at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiOverlay.layout(AbstractGuiOverlay.java:151)
	at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiOverlay$EventHandler.renderOverlay(AbstractGuiOverlay.java:229)
	at com.replaymod.lib.de.johni0702.minecraft.gui.versions.callbacks.RenderHudCallback.lambda$static$0(RenderHudCallback.java:15)
	at net.minecraft.class_329.handler$bbj000$replaymod$renderOverlay(class_329.java:1888)
	at net.minecraft.class_329.method_1753(class_329.java:260)
	at net.minecraft.class_757.method_3192(class_757.java:926)
	at net.minecraft.class_310.method_1523(class_310.java:1219)
	at net.minecraft.class_310.method_1514(class_310.java:802)
	at net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
	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 com.replaymod.lib.de.johni0702.minecraft.gui.layout.CustomLayout.pos(CustomLayout.java:84)
	at com.replaymod.lib.de.johni0702.minecraft.gui.popup.AbstractGuiPopup$4.layout(AbstractGuiPopup.java:133)

-- Render info details --
Details:
	Partial Tick: 0.48033333
	Mouse X: 342
	Mouse Y: 176
	Layer: 0
Stacktrace:
	at com.replaymod.lib.de.johni0702.minecraft.gui.RenderInfo.addTo(RenderInfo.java:55)
	at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiContainer.layout(AbstractGuiContainer.java:143)
	at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiOverlay.layout(AbstractGuiOverlay.java:151)
	at com.replaymod.lib.de.johni0702.minecraft.gui.container.AbstractGuiOverlay$EventHandler.renderOverlay(AbstractGuiOverlay.java:229)
	at com.replaymod.lib.de.johni0702.minecraft.gui.versions.callbacks.RenderHudCallback.lambda$static$0(RenderHudCallback.java:15)
	at net.minecraft.class_329.handler$bbj000$replaymod$renderOverlay(class_329.java:1888)
	at net.minecraft.class_329.method_1753(class_329.java:260)
	at net.minecraft.class_757.method_3192(class_757.java:926)
	at net.minecraft.class_310.method_1523(class_310.java:1219)
	at net.minecraft.class_310.method_1514(class_310.java:802)
	at net.minecraft.client.main.Main.main(Main.java:250)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:468)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

-- Gui container details --
Details:
	Container: com.replaymod.replay.gui.overlay.GuiReplayOverlay@292f71be
	Layout: com.replaymod.lib.de.johni0702.minecraft.gui.popup.AbstractGuiPopup$4@1c882367

-- Affected level --
Details:
	All players: 3 total; [CameraEntity['Draacoun'/-1789435, l='ClientLevel', x=374.61, y=77.64, z=-0.04], class_745['Draacoun'/4693, l='ClientLevel', x=377.71, y=79.25, z=-5.75], class_745['NicolasGPrata'/143, l='ClientLevel', x=373.19, y=79.00, z=-5.29]]
	Chunk stats: 1024, 249
	Level dimension: minecraft:overworld
	Level spawn location: World: (0,80,0), Section: (at 0,0,0 in 0,5,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: 1751867 game time, 631586 day time
	Server brand: vanilla
	Server type: Non-integrated multiplayer server

-- Last reload --
Details:
	Reload number: 1
	Reload reason: initial
	Finished: Yes
	Packs: vanilla, fabric, replaymod_lang

-- System Details --
Details:
	Minecraft Version: 1.20.1
	Minecraft Version ID: 1.20.1
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.3, Microsoft
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
	Memory: 760266920 bytes (725 MiB) / 1375731712 bytes (1312 MiB) up to 2147483648 bytes (2048 MiB)
	CPUs: 4
	Processor Vendor: GenuineIntel
	Processor Name: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz
	Identifier: Intel64 Family 6 Model 58 Stepping 9
	Microarchitecture: Ivy Bridge (Client)
	Frequency (GHz): 3.29
	Number of physical packages: 1
	Number of physical CPUs: 2
	Number of logical CPUs: 4
	Graphics card #0 name: NVIDIA GeForce GTX 750 Ti
	Graphics card #0 vendor: NVIDIA (0x10de)
	Graphics card #0 VRAM (MB): 1024.00
	Graphics card #0 deviceId: 0x1380
	Graphics card #0 versionInfo: DriverVersion=31.0.15.3640
	Memory slot #0 capacity (MB): 8192.00
	Memory slot #0 clockSpeed (GHz): 1.60
	Memory slot #0 type: DDR3
	Virtual memory max (MB): 14828.27
	Virtual memory used (MB): 10213.27
	Swap memory total (MB): 6674.77
	Swap memory used (MB): 752.63
	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: 
		fabric-api: Fabric API 0.84.0+1.20.1
			fabric-api-base: Fabric API Base 0.4.29+b04edc7a77
			fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.34+4d8536c977
			fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+b3afc78b77
			fabric-block-api-v1: Fabric Block API (v1) 1.0.9+e022e5d177
			fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.39+b3afc78b77
			fabric-client-tags-api-v1: Fabric Client Tags 1.0.20+b3afc78b77
			fabric-command-api-v1: Fabric Command API (v1) 1.2.32+f71b366f77
			fabric-command-api-v2: Fabric Command API (v2) 2.2.11+b3afc78b77
			fabric-commands-v0: Fabric Commands (v0) 0.2.49+df3654b377
			fabric-containers-v0: Fabric Containers (v0) 0.1.61+df3654b377
			fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.7+b3afc78b77
			fabric-convention-tags-v1: Fabric Convention Tags 1.5.3+b3afc78b77
			fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.18+aeb40ebe77
			fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.1.11+b3afc78b77
			fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.51+b3afc78b77
			fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.21+b3afc78b77
			fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.0+b3afc78b77
			fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.61+df3654b377
			fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.38+b04edc7a77
			fabric-item-api-v1: Fabric Item API (v1) 2.1.26+b3afc78b77
			fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.7+b3afc78b77
			fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.36+fb8d95da77
			fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.34+df3654b377
			fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.20+b3afc78b77
			fabric-loot-api-v2: Fabric Loot API (v2) 1.1.37+b3afc78b77
			fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.41+9e7660c677
			fabric-message-api-v1: Fabric Message API (v1) 5.1.6+b3afc78b77
			fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.47+b3afc78b77
			fabric-models-v0: Fabric Models (v0) 0.3.35+b3afc78b77
			fabric-networking-api-v1: Fabric Networking API (v1) 1.3.8+b3afc78b77
			fabric-networking-v0: Fabric Networking (v0) 0.3.48+df3654b377
			fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.0.6+b3afc78b77
			fabric-particles-v1: Fabric Particles (v1) 1.0.28+b3afc78b77
			fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.18+b3afc78b77
			fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.2.6+b3afc78b77
			fabric-renderer-api-v1: Fabric Renderer API (v1) 3.1.0+c154966e77
			fabric-renderer-indigo: Fabric Renderer - Indigo 1.4.0+c154966e77
			fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.44+df3654b377
			fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.33+b3afc78b77
			fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.26+b3afc78b77
			fabric-rendering-v0: Fabric Rendering (v0) 1.1.47+df3654b377
			fabric-rendering-v1: Fabric Rendering (v1) 3.0.6+b3afc78b77
			fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.5+ea08f9d877
			fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.7+f7923f6d77
			fabric-screen-api-v1: Fabric Screen API (v1) 2.0.6+b3afc78b77
			fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.27+b3afc78b77
			fabric-sound-api-v1: Fabric Sound API (v1) 1.0.12+b3afc78b77
			fabric-transfer-api-v1: Fabric Transfer API (v1) 3.2.2+b3afc78b77
			fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.2.0+b3afc78b77
		fabricloader: Fabric Loader 0.14.21
		java: OpenJDK 64-Bit Server VM 17
		lithium: Lithium 0.11.2
		minecraft: Minecraft 1.20.1
		replaymod: Replay Mod 1.20.1-2.6.13
		sodium: Sodium 0.4.10+build.27
		sspb: Sodium Shadowy Path Blocks 3.1.0
	Launched Version: fabric-loader-0.14.21-1.20.1
	Backend library: LWJGL version 3.3.1 SNAPSHOT
	Backend API: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2 GL version 3.2.0 NVIDIA 536.40, NVIDIA Corporation
	Window size: 1366x705
	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: fabulous
	Resource Packs: vanilla, fabric
	Current Language: en_us
	CPU: 4x Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz