Canvas Renderer

Canvas Renderer

202k Downloads

Random Crash, Unknown Cause

torzod opened this issue ยท 0 comments

commented

Sometimes when playing Minecraft my game will crash for no apparent reason (no unusual behavior or situations noted), but this crash seems to be related to rendering, which isn't very helpful as this entire mod is about rendering.

Crash Report
// There are four lights!

Time: 2/6/22, 12:40 AM
Description: Unexpected error

java.lang.NullPointerException: Cannot invoke "grondag.canvas.render.terrain.cluster.VertexCluster$RegionAllocation.cluster()" because the return value of "grondag.canvas.render.terrain.cluster.ClusteredDrawableStorage.allocation()" is null
	at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.22)
	at grondag.canvas.render.terrain.drawlist.RealmDrawList.build(RealmDrawList.java:63)
	at grondag.canvas.render.terrain.drawlist.RealmDrawList.<init>(RealmDrawList.java:45)
	at grondag.canvas.render.terrain.drawlist.RealmDrawList.build(RealmDrawList.java:91)
	at grondag.canvas.render.terrain.base.DrawableRegionList.build(DrawableRegionList.java:86)
	at grondag.canvas.render.world.WorldRenderState.rebuidDrawListsIfNeeded(WorldRenderState.java:199)
	at grondag.canvas.render.world.CanvasWorldRenderer.renderWorld(CanvasWorldRenderer.java:362)
	at grondag.canvas.render.world.CanvasWorldRenderer.render(CanvasWorldRenderer.java:863)
	at net.minecraft.client.render.GameRenderer.renderWorld(GameRenderer:1031)
	at net.minecraft.client.render.GameRenderer.render(GameRenderer:811)
	at net.minecraft.client.MinecraftClient.render(MinecraftClient:1117)
	at net.minecraft.client.MinecraftClient.run(MinecraftClient:733)
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.handleClientCrash(InGameCatcher.java:37)
	at net.minecraft.client.MinecraftClient.modify$coj000$atTheEndOfSecondCatchBeforePrintingCrashReport(MinecraftClient:10546)
	at net.minecraft.client.MinecraftClient.run(MinecraftClient:760)
	at net.minecraft.client.main.Main.main(Main:238)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:568)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:608)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
	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 grondag.canvas.render.terrain.drawlist.RealmDrawList.build(RealmDrawList.java:63)
	at grondag.canvas.render.terrain.drawlist.RealmDrawList.<init>(RealmDrawList.java:45)
	at grondag.canvas.render.terrain.drawlist.RealmDrawList.build(RealmDrawList.java:91)
	at grondag.canvas.render.terrain.base.DrawableRegionList.build(DrawableRegionList.java:86)
	at grondag.canvas.render.world.WorldRenderState.rebuidDrawListsIfNeeded(WorldRenderState.java:199)
	at grondag.canvas.render.world.CanvasWorldRenderer.renderWorld(CanvasWorldRenderer.java:362)
	at grondag.canvas.render.world.CanvasWorldRenderer.method_22710(CanvasWorldRenderer.java:863)
	at net.minecraft.class_757.method_3188(class_757.java:1031)

-- Affected level --
Details:
	All players: 1 total; [class_746['torzod'/121154, l='ClientLevel', x=-268.70, y=111.00, z=95.98]]
	Chunk stats: 1369, 843
	Level dimension: minecraft:overworld
	Level spawn location: World: (-78,111,262), Section: (at 2,15,6 in -5,6,16; chunk contains blocks -80,-64,256 to -65,319,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,-64,0 to -1,319,511)
	Level time: 107108 game time, 110652178 day time
	Server brand: Paper
	Server type: Non-integrated multiplayer server
Stacktrace:
	at net.minecraft.class_638.method_8538(class_638.java:408)
	at net.minecraft.class_310.method_1587(class_310.java:2402)
	at net.minecraft.class_310.method_1514(class_310.java:757)
	at fudge.notenoughcrashes.mixinhandlers.InGameCatcher.handleClientCrash(InGameCatcher.java:37)
	at net.minecraft.class_310.modify$coj000$atTheEndOfSecondCatchBeforePrintingCrashReport(class_310.java:10546)
	at net.minecraft.class_310.method_1514(class_310.java:760)
	at net.minecraft.client.main.Main.main(Main.java:238)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:608)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
	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, LumiLights-v0.40-pre1, LumiPBRExt-v0.22, torzodpack

-- System Details --
Details:
	Minecraft Version: 1.18.1
	Minecraft Version ID: 1.18.1
	Operating System: Linux (amd64) version 5.16.5-arch1-1
	Java Version: 17.0.1, Microsoft
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
	Memory: 11065174784 bytes (10552 MiB) / 12884901888 bytes (12288 MiB) up to 12884901888 bytes (12288 MiB)
	CPUs: 12
	Processor Vendor: AuthenticAMD
	Processor Name: AMD Ryzen 5 1600 Six-Core Processor
	Identifier: AuthenticAMD Family 23 Model 1 Stepping 1
	Microarchitecture: Zen
	Frequency (GHz): -0.00
	Number of physical packages: 1
	Number of physical CPUs: 6
	Number of logical CPUs: 12
	Graphics card #0 name: TU106 [GeForce GTX 1650]
	Graphics card #0 vendor: NVIDIA Corporation (0x10de)
	Graphics card #0 VRAM (MB): 288.00
	Graphics card #0 deviceId: 0x1f0a
	Graphics card #0 versionInfo: unknown
	Virtual memory max (MB): 13996.73
	Virtual memory used (MB): 9530.87
	Swap memory total (MB): 6000.00
	Swap memory used (MB): 1825.04
	JVM Flags: 9 total; -Xss1M -Xmx12G -Xms12G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Fabric Mods: 
		advancementinfo: AdvancementInfo 1.17.1-fabric0.36.1-1.3
		animatica: Animatica 0.3+1.18
		appleskin: AppleSkin mc1.18-2.2.0
		blue_endless_jankson: jankson 1.2.1
		c2me: Concurrent Chunk Management Engine 0.2.0+alpha.6.1
		canvas: Canvas Renderer 1.0.2281
		cem: Custom Entity Models 0.7.0
		chime: Chime 1.2.0
		clientsidenoteblocks: ClientSideNoteblocks 2.1
		cloth-basic-math: cloth-basic-math 0.6.0
		cloth-config: Cloth Config v6 6.1.48
		colormatic: Colormatic 3.0.0+mc.1.18
		colorstone: Colorstone 1.0.0
		com_electronwill_night-config_core: core 3.6.5
		com_electronwill_night-config_yaml: yaml 3.6.5
		com_fasterxml_jackson_core_jackson-annotations: jackson-annotations 2.13.0
		com_fasterxml_jackson_core_jackson-core: jackson-core 2.13.0
		com_fasterxml_jackson_core_jackson-databind: jackson-databind 2.13.0
		com_fasterxml_jackson_dataformat_jackson-dataformat-yaml: jackson-dataformat-yaml 2.13.0
		com_github_meteordevelopment_starscript: starscript 0.1.5
		com_github_reviversmc_modget-lib: modget-lib 3.0.0
		com_github_reviversmc_modget-manifest-api_compat: compat 0.2.1
		com_github_reviversmc_modget-manifest-api_spec3: spec3 0.2.1
		com_github_reviversmc_modget-manifest-api_spec4: spec4 0.2.1
		com_velocitypowered_velocity-native: velocity-native 1.1.0-SNAPSHOT
		completeconfig: CompleteConfig 1.3.3
		continuity: Continuity 1.0.3+1.18
		cosmetica: Cosmetica 0.3.2
		crowmap: Crowmap 1.0.1
		cullleaves: Cull Leaves 2.3.2
		custom_hud: CustomHud 1.2.3+1.18
		disable_custom_worlds_advice: Disable Custom Worlds Advice 1.4
		ears: Ears 1.4.4
		elativitymc_c2me-fabric_ver_1_18_libs_: libs 0.2.0+alpha.6.1
		fabric: Fabric API 0.45.2+1.18
		fabric-api-base: Fabric API Base 0.4.1+b4f4f6cdc8
		fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.5.0+17be577f65
		fabric-biome-api-v1: Fabric Biome API (v1) 6.0.1+ded849a965
		fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.9+3ac43d9565
		fabric-command-api-v1: Fabric Command API (v1) 1.1.6+3ac43d9565
		fabric-commands-v0: Fabric Commands (v0) 0.2.5+b4f4f6cd65
		fabric-containers-v0: Fabric Containers (v0) 0.1.18+d154e2c665
		fabric-content-registries-v0: Fabric Content Registries (v0) 0.4.5+6f53a73d65
		fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.8+3ac43d9565
		fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.9+a1d9bbf565
		fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.5+6b21378a65
		fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.16+bfa23f1765
		fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.6+b4f4f6cd65
		fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.10+3ac43d9565
		fabric-item-api-v1: Fabric Item API (v1) 1.3.0+691a79b565
		fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.3+3ac43d9565
		fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.8+c8aba2f3c8
		fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.6+b4f4f6cd65
		fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.4.10+c15ca335c8
		fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.8+3ac43d9565
		fabric-mining-level-api-v1: Fabric Mining Level API (v1) 1.0.3+3ac43d9565
		fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.8+b4f4f6cd65
		fabric-models-v0: Fabric Models (v0) 0.3.3+3ac43d9565
		fabric-networking-api-v1: Fabric Networking API (v1) 1.0.18+3ac43d9565
		fabric-networking-v0: Fabric Networking (v0) 0.3.5+b4f4f6cd65
		fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.11.1+3b82842e65
		fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.9+3ac43d9565
		fabric-particles-v1: Fabric Particles (v1) 0.2.9+526dc1ac65
		fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.0+befed49e65
		fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.9+3ac43d9565
		fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.12+3ac43d9565
		fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.7+b4f4f6cd65
		fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.4+7242e9d765
		fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.18+3ac43d9565
		fabric-rendering-v0: Fabric Rendering (v0) 1.1.9+b4f4f6cd65
		fabric-rendering-v1: Fabric Rendering (v1) 1.10.3+6b21378a65
		fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.11+3ac43d95c8
		fabric-screen-api-v1: Fabric Screen API (v1) 1.0.7+3ac43d9565
		fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.11+3ac43d9565
		fabric-structure-api-v1: Fabric Structure API (v1) 2.0.8+295197a765
		fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.2.5+3ac43d9565
		fabric-textures-v0: Fabric Textures (v0) 1.0.9+3ac43d9565
		fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.3.5+fb3b57b465
		fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.6+b4f4f6cd65
		fabrication: Fabrication 2.3.0_01
		fabricloader: Fabric Loader 0.12.12
		fabricskyboxes: FabricSkyBoxes 0.5.4
		feature_nbt_deadlock_be_gone: Feature NBT Deadlock Be Gone - Fabric 1.0.1+1.18.1
		fireoverlaycontroller: Fire Overlay Controller 1.0+1.17
		frex: FREX 6.0.236
		goosik-config: goosik-config 0.2.0
		io_vram_bitkit: bitkit 1.0.1
		io_vram_bitraster: bitraster 1.5.53
		io_vram_special-circumstances: special-circumstances 1.10.7
		itemscroller: Item Scroller 0.15.0
		java: OpenJDK 64-Bit Server VM 17
		json-model-extensions: JSON Model Extensions 1.22.243
		krypton: Krypton 0.1.6
		ksyxis: Ksyxis 1.1
		lambdabettergrass: LambdaBetterGrass 1.2.2+1.17
		lazydfu: LazyDFU 0.1.2
		libjf: LibJF 2.3.0
		libjf-base: LibJF Base 2.3.0
		libjf-config-v0: LibJF Config 2.3.0
		libjf-data-manipulation-v0: LibJF Data Manipulation 2.3.0
		libjf-data-v0: LibJF Data 2.3.0
		libjf-unsafe-v0: LibJF Unsafe 2.3.0
		libjf-web-v0: LibJF Web 2.3.0
		litematica: Litematica 0.9.1
		lithium: Lithium 0.7.7
		malilib: MaLiLib 0.10.0-dev.26
		mcwifipnp: LAN World Plug-n-Play 1.5.3
		midnightlib: MidnightLib 0.3.1
		minecraft: Minecraft 1.18.1
		minihud: MiniHUD 0.19.0-dev.20211204.230657
		miningcooldownfix: Mining Cooldown Fix 1.18.1-1.0.0
		modget: Modget 0.4.3+1.17
		modget-core: Modget Core 0.4.3
		modmenu: Mod Menu 3.0.1
		no-telemetry: No Telemetry 1.1.0
		nochatlag: NoChatLag 1.1.0
		notenoughcrashes: Not Enough Crashes 4.1.4+1.18.1
		org_anarres_jcpp: jcpp 1.4.14
		org_apache_commons_commons-text: commons-text 1.9
		org_yaml_snakeyaml: snakeyaml 1.29
		packet_tweaker: Packet Tweaker 0.2.0+1.18-pre1
		pride: Pride Lib 1.1.0+1.17
		puzzle: Puzzle 1.1.0
		puzzle-base: Puzzle Base 1.1.0
		puzzle-emissives: Puzzle Emissive Textures 1.1.0
		puzzle-gui: Puzzle GUI 1.1.0
		puzzle-models: Puzzle Models 1.1.0
		puzzle-splashscreen: Puzzle Splash Screen 1.1.0
		raised: Raised 1.18.1-1.0.1
		respackopts: Resource Pack Options 2.9.0
		screenshotclipboard: Screenshot to Clipboard 1.0.7
		server_translations: Server Translations 1.4.8+1.18-pre1
		server_translations_api: Server Translations API 1.4.8+1.18-pre1
		smwyg: Show Me What You Got 1.0.0
		soundphysics: Sound Physics 0.5.5
		spruceui: SpruceUI 3.3.2+1.17
		starlight: Starlight 1.0.0+fabric.d0a3220
		statssearch: StatsSearch 1.16.5-fabric0.30.0-1.0.1
		tellme: TellMe 0.9.0
		tiefix: TieFix 1.8.0
		titlefixer: Title Fixer 1.0+1.17
		tnttime: TNT Time 1.0.0
		tweakeroo: Tweakeroo 0.11.0
		visuality: Visuality 0.4.0
	Launched Version: fabric-loader-0.12.12-1.18.1
	Backend library: LWJGL version 3.2.2 build 10
	Backend API: NVIDIA GeForce GTX 1650/PCIe/SSE2 GL version 3.2.0 NVIDIA 510.47.03, NVIDIA Corporation
	Window size: 1600x900
	GL Caps: Using framebuffer using OpenGL 3.2
	GL debug messages: id=1280, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_ENUM error generated. Polygon modes for <face> are disabled in the current profile.' x 2
	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fabric'
	Type: Client (map_client.txt)
	Graphics mode: fabulous
	Resource Packs: vanilla, Fabric Mods, file/LumiLights-v0.40-pre1 (incompatible), file/LumiPBRExt-v0.22 (incompatible), file/torzodpack
	Current Language: English (US)
	CPU: 12x AMD Ryzen 5 1600 Six-Core Processor
	Client Crashes Since Restart: 2
	Integrated Server Crashes Since Restart: 0
	Suspected Mods: Minecraft (minecraft), Fabric Loader (fabricloader), Canvas Renderer (canvas), Not Enough Crashes (notenoughcrashes)```

</details>