Invalid Locale causes crash
lesaaa opened this issue ยท 6 comments
Describe the Bug
When i launch my game, after loading screen it reloads and resource reload failed popup shows, and then i load my world, after a few seconds minecraft crashes with this crash report
---- Minecraft Crash Report ----
// Why did you do that?
Time: 2023-09-22 11:36:59
Description: Unexpected error
java.lang.NullPointerException: Cannot compile shader because 'flywheel:model' is not recognized.
at com.jozufozu.flywheel.core.compile.ProgramContext.create(ProgramContext.java:32)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancedMaterialGroup.renderAll(InstancedMaterialGroup.java:97)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancedMaterialGroup.render(InstancedMaterialGroup.java:77)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancingEngine.lambda$render$1(InstancingEngine.java:100)
at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1779)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancingEngine.render(InstancingEngine.java:100)
at com.jozufozu.flywheel.backend.instancing.InstanceWorld.renderLayer(InstanceWorld.java:123)
at com.jozufozu.flywheel.backend.instancing.InstancedRenderDispatcher.renderLayer(InstancedRenderDispatcher.java:95)
at com.jozufozu.flywheel.fabric.event.FlywheelEvents.lambda$createSimple$0(FlywheelEvents.java:22)
at net.minecraft.class_761.handler$bbj000$flywheel$renderLayer(class_761.java:9958)
at net.minecraft.class_761.method_3251(class_761.java:7519)
at net.minecraft.class_761.method_22710(class_761.java:1253)
at net.minecraft.class_757.method_3188(class_757.java:1110)
at net.minecraft.class_757.method_3192(class_757.java:880)
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.jozufozu.flywheel.core.compile.ProgramContext.create(ProgramContext.java:32)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancedMaterialGroup.renderAll(InstancedMaterialGroup.java:97)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancedMaterialGroup.render(InstancedMaterialGroup.java:77)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancingEngine.lambda$render$1(InstancingEngine.java:100)
at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1779)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at com.jozufozu.flywheel.backend.instancing.instancing.InstancingEngine.render(InstancingEngine.java:100)
at com.jozufozu.flywheel.backend.instancing.InstanceWorld.renderLayer(InstanceWorld.java:123)
at com.jozufozu.flywheel.backend.instancing.InstancedRenderDispatcher.renderLayer(InstancedRenderDispatcher.java:95)
at com.jozufozu.flywheel.fabric.event.FlywheelEvents.lambda$createSimple$0(FlywheelEvents.java:22)
at net.minecraft.class_761.handler$bbj000$flywheel$renderLayer(class_761.java:9958)
at net.minecraft.class_761.method_3251(class_761.java:7519)
at net.minecraft.class_761.method_22710(class_761.java:1253)
at net.minecraft.class_757.method_3188(class_757.java:1110)
-- Affected level --
Details:
All players: 1 total; [class_746['LesaX4'/1, l='ClientLevel', x=7.50, y=-60.00, z=-2.50]]
Chunk stats: 4096, 1429
Level dimension: minecraft:overworld
Level spawn location: World: (0,-60,0), Section: (at 0,4,0 in 0,-4,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: 94 game time, 94 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:458)
at net.minecraft.class_310.method_1587(class_310.java:2406)
at net.minecraft.class_310.method_1514(class_310.java:826)
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)
-- Last reload --
Details:
Reload number: 2
Reload reason: manual
Finished: No
Packs: vanilla, fabric, create:legacy_copper
Recovery: Yes
Recovery reason: java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "key" is null
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
at net.minecraft.class_4014.method_18365(class_4014.java:69)
at net.minecraft.class_1255.method_18859(class_1255.java:156)
at net.minecraft.class_4093.method_18859(class_4093.java:23)
at net.minecraft.class_1255.method_16075(class_1255.java:130)
at net.minecraft.class_1255.method_5383(class_1255.java:115)
at net.minecraft.class_310.method_1523(class_310.java:1175)
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)
Caused by: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "key" is null
at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java.base/sun.util.locale.provider.LocaleProviderAdapter.getAdapter(LocaleProviderAdapter.java:249)
at java.base/java.text.NumberFormat.getInstance(NumberFormat.java:960)
at java.base/java.text.NumberFormat.getInstance(NumberFormat.java:491)
at com.simibubi.create.foundation.utility.LangNumberFormat.update(LangNumberFormat.java:19)
at com.simibubi.create.foundation.ClientResourceReloadListener.method_14491(ClientResourceReloadListener.java:20)
at net.minecraft.class_4013.method_29490(class_4013.java:15)
at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
... 12 more
-- System Details --
Details:
Minecraft Version: 1.20.1
Minecraft Version ID: 1.20.1
Operating System: Windows 11 (amd64) version 10.0
Java Version: 17.0.8, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 2342923168 bytes (2234 MiB) / 3758096384 bytes (3584 MiB) up to 8589934592 bytes (8192 MiB)
CPUs: 12
Processor Vendor: GenuineIntel
Processor Name: 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
Identifier: Intel64 Family 6 Model 141 Stepping 1
Microarchitecture: unknown
Frequency (GHz): 2.69
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce RTX 3050 Laptop GPU
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x25a5
Graphics card #0 versionInfo: DriverVersion=31.0.15.3734
Graphics card #1 name: Intel(R) UHD Graphics
Graphics card #1 vendor: Intel Corporation (0x8086)
Graphics card #1 VRAM (MB): 1024.00
Graphics card #1 deviceId: 0x9a68
Graphics card #1 versionInfo: DriverVersion=31.0.101.3413
Memory slot #0 capacity (MB): 16384.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Virtual memory max (MB): 32245.85
Virtual memory used (MB): 22082.32
Swap memory total (MB): 16122.93
Swap memory used (MB): 751.52
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Fabric Mods:
create: Create 0.5.1-d-build.1161+mc1.20.1
com_electronwill_night-config_core: core 3.6.3
com_electronwill_night-config_toml: toml 3.6.3
com_google_code_findbugs_jsr305: jsr305 3.0.2
flywheel: Flywheel 0.6.9-1
forgeconfigapiport: Forge Config API Port 8.0.0
milk: Milk Lib 1.2.60
dripstone_fluid_lib: Dripstone Fluid Lib 3.0.2
porting_lib_accessors: Porting Lib Accessors 2.1.1127+1.20
porting_lib_base: Porting Lib Base 2.1.1127+1.20
porting_lib_attributes: Porting Lib Attributes 2.1.1127+1.20
porting_lib_common: Porting Lib Common 2.1.1127+1.20
porting_lib_lazy_registration: Porting Lib Lazy Register 2.1.1127+1.20
porting_lib_utility: Porting Lib Utility 2.1.1127+1.20
porting_lib_brewing: Porting Lib Brewing 2.1.1127+1.20
porting_lib_client_events: Porting Lib Client Events 2.1.1127+1.20
porting_lib_entity: Porting Lib Entity 2.1.1127+1.20
porting_lib_mixin_extensions: Porting Lib Mixin Extensions 2.1.1127+1.20
porting_lib_extensions: Porting Lib Extensions 2.1.1127+1.20
porting_lib_fake_players: Porting Lib Fake Players 2.1.1127+1.20
porting_lib_models: Porting Lib Models 2.1.1127+1.20
porting_lib_model_loader: Porting Lib Model Loader 2.1.1127+1.20
porting_lib_networking: Porting Lib Networking 2.1.1127+1.20
porting_lib_obj_loader: Porting Lib Obj Loader 2.1.1127+1.20
porting_lib_tags: Porting Lib Tags 3.0
porting_lib_tool_actions: Porting Lib Tool Actions 2.1.1127+1.20
com_github_llamalad7_mixinextras: MixinExtras 0.2.0-beta.8
porting_lib_core: Porting Lib Core 2.1.1127+1.20
porting_lib_gametest: Porting Lib GameTest 2.1.1127+1.20
porting_lib_transfer: Porting Lib Transfer 2.1.1127+1.20
reach-entity-attributes: Reach Entity Attributes 2.4.0
registrate-fabric: Registrate for Fabric 1.3.62-MC1.20.1
porting_lib_data: Porting Lib Data 2.1.1090+1.20
porting_lib_model_generators: Porting Lib Model Generators 2.1.1090+1.20
porting_lib_model_materials: Porting Lib Model Materials 2.1.1090+1.20
fabric-api: Fabric API 0.89.0+1.20.1
fabric-api-base: Fabric API Base 0.4.30+7abfd51577
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.35+4d8536c977
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+b3afc78b77
fabric-block-api-v1: Fabric Block API (v1) 1.0.10+92a0d36777
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.0+92a0d36777
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.40+b3afc78b77
fabric-client-tags-api-v1: Fabric Client Tags 1.1.1+97bb207577
fabric-command-api-v1: Fabric Command API (v1) 1.2.33+f71b366f77
fabric-command-api-v2: Fabric Command API (v2) 2.2.12+b3afc78b77
fabric-commands-v0: Fabric Commands (v0) 0.2.50+df3654b377
fabric-containers-v0: Fabric Containers (v0) 0.1.63+df3654b377
fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.9+b3afc78b77
fabric-convention-tags-v1: Fabric Convention Tags 1.5.4+a1a980da77
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.3.0+0883a8d477
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.53+8536527b77
fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.22+b3afc78b77
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.1+e91849a877
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.62+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.27+b3afc78b77
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.10+23d9108177
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.21+b3afc78b77
fabric-loot-api-v2: Fabric Loot API (v2) 1.1.39+b3afc78b77
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.43+9e7660c677
fabric-message-api-v1: Fabric Message API (v1) 5.1.7+3265161977
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.49+b3afc78b77
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 1.0.2+709a987177
fabric-models-v0: Fabric Models (v0) 0.4.1+9386d8a777
fabric-networking-api-v1: Fabric Networking API (v1) 1.3.10+eeb8eb3677
fabric-networking-v0: Fabric Networking (v0) 0.3.50+df3654b377
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.1.1+6beca84877
fabric-particles-v1: Fabric Particles (v1) 1.1.1+201a23a077
fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.20+b3afc78b77
fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.3.2+4df89eb277
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.2.0+39a511ba77
fabric-renderer-indigo: Fabric Renderer - Indigo 1.5.0+39a511ba77
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.45+df3654b377
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.36+92a0d36777
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.27+b3afc78b77
fabric-rendering-v0: Fabric Rendering (v0) 1.1.48+df3654b377
fabric-rendering-v1: Fabric Rendering (v1) 3.0.7+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.9+132c48c177
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.7+b3afc78b77
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.29+b3afc78b77
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.12+b3afc78b77
fabric-transfer-api-v1: Fabric Transfer API (v1) 3.3.1+195226a777
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.3.0+6c31357e77
fabric-language-kotlin: Fabric Language Kotlin 1.10.10+kotlin.1.9.10
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.9.10
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.9.10
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.9.10
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.9.10
org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.22.0
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.7.3
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.7.3
org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.0
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.6.0
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.6.0
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.6.0
fabricloader: Fabric Loader 0.14.22
indium: Indium 1.0.21+mc1.20.1
java: OpenJDK 64-Bit Server VM 17
lambdynlights: LambDynamicLights 2.3.2+1.20.1
pride: Pride Lib 1.2.0+1.19.4
spruceui: SpruceUI 5.0.0+1.20
lithium: Lithium 0.11.2
minecraft: Minecraft 1.20.1
modmenu: Mod Menu 7.2.2
railways: Create: Steam 'n' Rails 1.5.1+fabric-mc1.20.1
mm: Manningham Mills 2.3
sodium: Sodium 0.4.10+build.27
voicechat: Simple Voice Chat 1.20.1-2.4.24
Flywheel Backend: GL33 Instanced Arrays
Launched Version: fabric-loader-0.14.22-1.20.1
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 GL version 3.2.0 NVIDIA 537.34, NVIDIA Corporation
Window size: 1920x1080
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'; Server brand changed to 'fabric'
Type: Integrated Server (map_client.txt)
Graphics mode: fancy
Resource Packs:
Current Language: en_US
CPU: 12x 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
Server Running: true
Player Count: 1 / 8; [class_3222['LesaX4'/1, l='ServerLevel[New Worldsdefesesfe]', x=7.50, y=-60.00, z=-2.50]]
Data Packs: vanilla, fabric
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
Reproduction Steps
- Start your game
- load into world
- crash
Expected Result
it works
Screenshots and Videos
Crash Report or Log
The game crashed whilst unexpected error Error: java.lang.NullPointerException: Cannot compile shader because 'flywheel:model' is not recognized.
Operating System
Windows 11
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
fabric api
fabric language kotlin
indium
lamb dinamic lights
lithium
mod menu
sodium
steamnrails
simple voice chat
Additional Context
No response