Crash and Exit at Load
Closed this issue · 3 comments
What happened?
When I try to launch my game it fails to start and exits with this error code:
The game crashed whilst initializing game
Error: java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'sculkhornid' at 'net.anvian.sculkhornid.FabricMod'!
Loader
fabric
Mod Version
SculkHornMod-fabric-1.21-2.5.jar
Minecraft Version
1.21
Relevant log output
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 2024-12-23 11:19:39
Description: Initializing game
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'sculkhornid' at 'net.anvian.sculkhornid.FabricMod'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
at knot//net.minecraft.class_310.<init>(class_310.java:477)
at knot//net.minecraft.client.main.Main.main(Main.java:239)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
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: com.electronwill.nightconfig.core.io.ParsingException: Invalid TOML data: entry "[distance_DAMAGE]" defined twice in its table.
at knot//com.electronwill.nightconfig.toml.TableParser.checkDuplicateKey(TableParser.java:118)
at knot//com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:69)
at knot//com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:61)
at knot//com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:53)
at knot//com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:130)
at knot//com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:254)
at knot//com.electronwill.nightconfig.core.file.SyncFileConfig.lambda$load$1(SyncFileConfig.java:89)
at knot//com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig.lambda$bulkCommentedUpdate$1(ConcurrentCommentedConfig.java:144)
at knot//com.electronwill.nightconfig.core.concurrent.SynchronizedConfig.bulkCommentedUpdate(SynchronizedConfig.java:189)
at knot//com.electronwill.nightconfig.core.concurrent.ConcurrentCommentedConfig.bulkCommentedUpdate(ConcurrentCommentedConfig.java:143)
at knot//com.electronwill.nightconfig.core.file.SyncFileConfig.load(SyncFileConfig.java:88)
at knot//com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:131)
at knot//net.anvian.sculkhornid.core.config.ModConfigs.loadConfig(ModConfigs.java:55)
at knot//net.anvian.sculkhornid.FabricMod.onInitialize(FabricMod.java:19)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399)
... 6 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
at knot//net.minecraft.class_310.<init>(class_310.java:477)
-- Initialization --
Details:
Modules:
ADVAPI32.dll:Advanced Windows 32 Base API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
COMCTL32.dll:User Experience Controls Library:6.10 (WinBuild.160101.0800):Microsoft Corporation
CRYPT32.dll:Crypto API32:10.0.22000.2652 (WinBuild.160101.0800):Microsoft Corporation
CRYPTBASE.dll:Base cryptographic API DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
CRYPTSP.dll:Cryptographic Service Provider API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
DBGHELP.DLL:Windows Image Helper:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
DNSAPI.dll:DNS Client API DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
GDI32.dll:GDI Client DLL:10.0.22000.2360 (WinBuild.160101.0800):Microsoft Corporation
IMM32.DLL:Multi-User Windows IMM32 API Client DLL:10.0.22000.1641 (WinBuild.160101.0800):Microsoft Corporation
IPHLPAPI.DLL:IP Helper API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
IPSEng64.dll:IPS Script Engine DLL:17.2.14.85:Broadcom
KERNEL32.DLL:Windows NT BASE API Client DLL:10.0.22000.2538 (WinBuild.160101.0800):Microsoft Corporation
KERNELBASE.dll:Windows NT BASE API Client DLL:10.0.22000.2538 (WinBuild.160101.0800):Microsoft Corporation
MSASN1.dll:ASN.1 Runtime APIs:10.0.22000.1219 (WinBuild.160101.0800):Microsoft Corporation
NSI.dll:NSI User-mode interface DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
NTASN1.dll:Microsoft ASN.1 API:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
Ole32.dll:Microsoft OLE for Windows:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
OleAut32.dll:OLEAUT32.DLL:10.0.22000.2176 (WinBuild.160101.0800):Microsoft Corporation
POWRPROF.dll:Power Profile Helper DLL:10.0.22000.2652 (WinBuild.160101.0800):Microsoft Corporation
PSAPI.DLL:Process Status Helper:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
Pdh.dll:Windows Performance Data Helper DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
RPCRT4.dll:Remote Procedure Call Runtime:10.0.22000.1761 (WinBuild.160101.0800):Microsoft Corporation
SHCORE.dll:SHCORE:10.0.22000.2652 (WinBuild.160101.0800):Microsoft Corporation
SHELL32.dll:Windows Shell Common Dll:10.0.22000.2652 (WinBuild.160101.0800):Microsoft Corporation
UMPDC.dll:User Mode Power Dependency Coordinator:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
USER32.dll:Multi-User Windows USER API Client DLL:10.0.22000.2652 (WinBuild.160101.0800):Microsoft Corporation
USERENV.dll:Userenv:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
VCRUNTIME140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation
VERSION.dll:Version Checking and File Installation Libraries:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
WINHTTP.dll:Windows HTTP Services:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
WINMM.dll:MCI API DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
WINTRUST.dll:Microsoft Trust Verification APIs:10.0.22000.2482 (WinBuild.160101.0800):Microsoft Corporation
WS2_32.dll:Windows Socket 2.0 32-Bit DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
amsi.dll:Anti-Malware Scan Interface:10.0.22000.1042 (WinBuild.160101.0800):Microsoft Corporation
bcrypt.dll:Windows Cryptographic Primitives Library:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
bcryptPrimitives.dll:Windows Cryptographic Primitives Library:10.0.22000.1455 (WinBuild.160101.0800):Microsoft Corporation
clbcatq.dll:COM+ Configuration Catalog:2001.12.10941.16384 (WinBuild.160101.0800):Microsoft Corporation
combase.dll:Microsoft COM for Windows:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
dbgcore.DLL:Windows Core Debugging Helpers:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
extnet.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
fwpuclnt.dll:FWP/IPsec User-Mode API:10.0.22000.2538 (WinBuild.160101.0800):Microsoft Corporation
gdi32full.dll:GDI Client DLL:10.0.22000.2360 (WinBuild.160101.0800):Microsoft Corporation
java.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
javaw.exe:OpenJDK Platform binary:21.0.3.0:Microsoft
jemalloc.dll
jimage.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
jli.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
jna1050068199168936111.dll:JNA native library:7.0.0:Java(TM) Native Access (JNA)
jsvml.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
jvm.dll:OpenJDK 64-Bit server VM:21.0.3.0:Microsoft
kernel.appcore.dll:AppModel API Host:10.0.22000.71 (WinBuild.160101.0800):Microsoft Corporation
lwjgl.dll
management.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
management_ext.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
msvcp140.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation
msvcp_win.dll:Microsoft® C Runtime Library:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
msvcrt.dll:Windows NT CRT DLL:7.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
mswsock.dll:Microsoft Windows Sockets 2.0 Service Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
napinsp.dll:E-mail Naming Shim Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
ncrypt.dll:Windows NCrypt Router:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
net.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
nio.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
nlansp_c.dll:NLA Namespace Service Provider DLL:10.0.22000.653 (WinBuild.160101.0800):Microsoft Corporation
ntdll.dll:NT Layer DLL:10.0.22000.1761 (WinBuild.160101.0800):Microsoft Corporation
perfos.dll:Windows System Performance Objects DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
pfclient.dll:SysMain Client:10.0.22000.653 (WinBuild.160101.0800):Microsoft Corporation
pnrpnsp.dll:PNRP Name Space Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
profapi.dll:User Profile Basic API:10.0.22000.2124 (WinBuild.160101.0800):Microsoft Corporation
rasadhlp.dll:Remote Access AutoDial Helper:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
rsaenh.dll:Microsoft Enhanced Cryptographic Provider:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
sechost.dll:Host for SCM/SDDL/LSA Lookup APIs:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
shlwapi.dll:Shell Light-weight Utility Library:10.0.22000.2652 (WinBuild.160101.0800):Microsoft Corporation
sunmscapi.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
symamsi.dll:Symantec AMSI provider:15.7.14.32:Broadcom
ucrtbase.dll:Microsoft® C Runtime Library:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
vcruntime140_1.dll:Microsoft® C Runtime Library:14.29.30139.0 built by: vcwrkspc:Microsoft Corporation
verify.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
win32u.dll:Win32u:10.0.22000.2538 (WinBuild.160101.0800):Microsoft Corporation
windows.storage.dll:Microsoft WinRT Storage API:10.0.22000.2652 (WinBuild.160101.0800):Microsoft Corporation
winrnr.dll:LDAP RnR Provider DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
wintypes.dll:Windows Base Types DLL:10.0.22000.1 (WinBuild.160101.0800):Microsoft Corporation
wshbth.dll:Windows Sockets Helper DLL:10.0.22000.653 (WinBuild.160101.0800):Microsoft Corporation
zip.dll:OpenJDK Platform binary:21.0.3.0:Microsoft
Stacktrace:
at knot//net.minecraft.client.main.Main.main(Main.java:239)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
-- System Details --
Details:
Minecraft Version: 1.21
Minecraft Version ID: 1.21
Operating System: Windows 11 (amd64) version 10.0
Java Version: 21.0.3, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 189371776 bytes (180 MiB) / 402653184 bytes (384 MiB) up to 4294967296 bytes (4096 MiB)
CPUs: 16
Processor Vendor: GenuineIntel
Processor Name: 11th Gen Intel(R) Core(TM) i9-11900KF @ 3.50GHz
Identifier: Intel64 Family 6 Model 167 Stepping 1
Microarchitecture: Rocket Lake
Frequency (GHz): 3.50
Number of physical packages: 1
Number of physical CPUs: 8
Number of logical CPUs: 16
Graphics card #0 name: NVIDIA GeForce RTX 3070
Graphics card #0 vendor: NVIDIA
Graphics card #0 VRAM (MiB): 8192.00
Graphics card #0 deviceId: VideoController1
Graphics card #0 versionInfo: 32.0.15.6614
Graphics card #1 name: NVIDIA GeForce RTX 4070 Ti SUPER
Graphics card #1 vendor: NVIDIA
Graphics card #1 VRAM (MiB): 16376.00
Graphics card #1 deviceId: VideoController2
Graphics card #1 versionInfo: 32.0.15.6614
Memory slot #0 capacity (MiB): 16384.00
Memory slot #0 clockSpeed (GHz): 3.60
Memory slot #0 type: DDR4
Memory slot #1 capacity (MiB): 16384.00
Memory slot #1 clockSpeed (GHz): 3.60
Memory slot #1 type: DDR4
Virtual memory max (MiB): 55193.61
Virtual memory used (MiB): 24833.65
Swap memory total (MiB): 22528.00
Swap memory used (MiB): 359.21
Space in storage for jna.tmpdir (MiB): available: 146408.88, total: 487258.31
Space in storage for org.lwjgl.system.SharedLibraryExtractPath (MiB): available: 146408.88, total: 487258.31
Space in storage for io.netty.native.workdir (MiB): available: 146408.88, total: 487258.31
Space in storage for java.io.tmpdir (MiB): available: 146408.88, total: 487258.31
Space in storage for workdir (MiB): available: 146408.88, total: 487258.31
JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m
Fabric Mods:
balm-fabric: Balm 21.0.20
kuma_api: KumaAPI 21.0.5-SNAPSHOT
collective: Collective 7.87
fabric-api: Fabric API 0.102.0+1.21
fabric-api-base: Fabric API Base 0.4.42+6573ed8cd1
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.68+b5597344d1
fabric-biome-api-v1: Fabric Biome API (v1) 13.0.29+5bd9f1bcd1
fabric-block-api-v1: Fabric Block API (v1) 1.0.22+0af3f5a7d1
fabric-block-view-api-v2: Fabric BlockView API (v2) 1.0.10+6573ed8cd1
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.52+0af3f5a7d1
fabric-client-tags-api-v1: Fabric Client Tags 1.1.15+6573ed8cd1
fabric-command-api-v1: Fabric Command API (v1) 1.2.49+f71b366fd1
fabric-command-api-v2: Fabric Command API (v2) 2.2.28+6ced4dd9d1
fabric-commands-v0: Fabric Commands (v0) 0.2.66+df3654b3d1
fabric-content-registries-v0: Fabric Content Registries (v0) 8.0.16+b5597344d1
fabric-convention-tags-v1: Fabric Convention Tags 2.0.19+7f945d5bd1
fabric-convention-tags-v2: Fabric Convention Tags (v2) 2.5.0+c5e2b5c6d1
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.29+0af3f5a7d1
fabric-data-attachment-api-v1: Fabric Data Attachment API (v1) 1.1.27+6a6dfa19d1
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 20.2.16+16c4ae25d1
fabric-dimensions-v1: Fabric Dimensions API (v1) 4.0.0+6fc22b99d1
fabric-entity-events-v1: Fabric Entity Events (v1) 1.6.12+6fc22b99d1
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.7.12+ba9dae06d1
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.53+6ced4dd9d1
fabric-item-api-v1: Fabric Item API (v1) 11.0.0+afdfc921d1
fabric-item-group-api-v1: Fabric Item Group API (v1) 4.1.4+78017270d1
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.47+0af3f5a7d1
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.45+df3654b3d1
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.3.12+6c1df360d1
fabric-loot-api-v2: Fabric Loot API (v2) 3.0.14+3f89f5a5d1
fabric-loot-api-v3: Fabric Loot API (v3) 1.0.2+3f89f5a5d1
fabric-message-api-v1: Fabric Message API (v1) 6.0.13+6573ed8cd1
fabric-model-loading-api-v1: Fabric Model Loading API (v1) 2.0.0+fe474d6bd1
fabric-networking-api-v1: Fabric Networking API (v1) 4.2.2+60c3209bd1
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 15.2.0+a551f7a4d1
fabric-particles-v1: Fabric Particles (v1) 4.0.2+6573ed8cd1
fabric-recipe-api-v1: Fabric Recipe API (v1) 5.0.12+65089712d1
fabric-registry-sync-v0: Fabric Registry Sync (v0) 5.1.2+60c3209bd1
fabric-renderer-api-v1: Fabric Renderer API (v1) 3.4.0+c705a49cd1
fabric-renderer-indigo: Fabric Renderer - Indigo 1.7.0+c705a49cd1
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.68+df3654b3d1
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.48+73761d2ed1
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.1.6+b5597344d1
fabric-rendering-v0: Fabric Rendering (v0) 1.1.71+df3654b3d1
fabric-rendering-v1: Fabric Rendering (v1) 5.0.5+df16efd0d1
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 4.3.0+8dc279b1d1
fabric-resource-loader-v0: Fabric Resource Loader (v0) 1.3.0+56599129d1
fabric-screen-api-v1: Fabric Screen API (v1) 2.0.24+b5597344d1
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.86+b5597344d1
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.23+6573ed8cd1
fabric-transfer-api-v1: Fabric Transfer API (v1) 5.1.16+3dccd343d1
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 6.1.0+176f9036d1
fabricloader: Fabric Loader 0.16.9
mixinextras: MixinExtras 0.4.1
forgeconfigapiport: Forge Config API Port 21.0.8
com_electronwill_night-config_core: core 3.8.0
com_electronwill_night-config_toml: toml 3.8.0
geckolib: GeckoLib 4 4.5.8
java: OpenJDK 64-Bit Server VM 21
jei: Just Enough Items 19.21.0.247
minecraft: Minecraft 1.21
owo: oωo 0.12.15+1.21
blue_endless_jankson: jankson 1.2.2
io_wispforest_endec: endec 0.1.5
io_wispforest_endec_gson: gson 0.1.3
io_wispforest_endec_jankson: jankson 0.1.3
io_wispforest_endec_netty: netty 0.1.2
pointblank: Point Blank 1.7.8
sculkhornid: SculkHornMod 2.5
villagernames: Villager Names 8.1
waystones: Waystones 21.1.5
xaerominimap: Xaero's Minimap 24.7.1
xaeroworldmap: Xaero's World Map 1.39.2
Launched Version: fabric-loader-0.16.9-1.21
Launcher name: minecraft-launcher
Backend library: LWJGL version 3.3.3-snapshot
Backend API: Unknown
Window size: <not initialized>
GFLW Platform: <error>
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: <disabled>
Is Modded: Definitely; Client brand changed to 'fabric'
Universe: 404
Type: Client (map_client.txt)
Locale: en_US
System encoding: Cp1252
File encoding: UTF-8
CPU: <unknown>
I tried to replicate it with the information you gave me but it works normally.
mc version 1.21
mod version 2.5
fabric-api 0.102.0+1.21
forge config api port 21.08-1.21
Thank you for taking a look. I am going to try to replicate in a separate profile to replicate. I will update you with result.