Closed Lemonzyy closed 8 months ago
I think I know what happened here. Can you try downgrading DynamicCrosshair to 7.4.1 and see if it works?
It still doesn't work.
I can replicate a different crash now, hm. Does it still happen without the compat mod installed?
It crashes only when the compat mod is installed
I wonder if the error message is just different. Does it also happen with DynamicCrosshairCompat 3.6?
With Dynamic Crosshair v7.4.2+1.20 and Compat v3.6+1.20.1 it still crashes.
[16:36:48] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.15.3
[16:36:48] [main/INFO]: Loading 22 mods:
- dynamiccrosshair 7.4.2+1.20
\-- yaclx 1.12+1.20.2
- dynamiccrosshaircompat 3.6+1.20.1
- fabricloader 0.15.3
\-- mixinextras 0.3.2
- java 17
- minecraft 1.20.1
- modmenu 7.2.2
|-- fabric-api-base 0.4.29+b04edc7a77
|-- fabric-key-binding-api-v1 1.0.36+fb8d95da77
|-- fabric-lifecycle-events-v1 2.2.20+b3afc78b77
|-- fabric-resource-loader-v0 0.11.7+f7923f6d77
\-- fabric-screen-api-v1 2.0.6+b3afc78b77
- yet_another_config_lib_v3 3.2.1+1.20
|-- com_twelvemonkeys_common_common-image 3.10.0-SNAPSHOT
|-- com_twelvemonkeys_common_common-io 3.10.0-SNAPSHOT
|-- com_twelvemonkeys_common_common-lang 3.10.0-SNAPSHOT
|-- com_twelvemonkeys_imageio_imageio-core 3.10.0-SNAPSHOT
|-- com_twelvemonkeys_imageio_imageio-metadata 3.10.0-SNAPSHOT
|-- com_twelvemonkeys_imageio_imageio-webp 3.10.0-SNAPSHOT
|-- org_quiltmc_parsers_gson 0.2.1
\-- org_quiltmc_parsers_json 0.2.1
[16:36:48] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/Alexis/AppData/Roaming/PrismLauncher/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[16:36:48] [main/INFO]: Compatibility level set to JAVA_17
[16:36:48] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$Internal)
[16:36:49] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.2).
[16:36:52] [Datafixer Bootstrap/INFO]: 188 Datafixer optimizations took 102 milliseconds
[16:36:53] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[16:36:53] [Render thread/INFO]: Setting user: Lemonzy
[16:36:53] [Render thread/INFO]: Deserializing Config from 'C:\Users\Alexis\AppData\Roaming\PrismLauncher\instances\test\.minecraft\config\dynamiccrosshair.json5'
[16:36:53] [Worker-Main-1/INFO]: Checking mod updates...
---- Minecraft Crash Report ----
// Why did you do that?
Time: 2023-12-29 16:36:54
Description: Initializing game
java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'dynamiccrosshair'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:388)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53)
at net.minecraft.class_310.<init>(class_310.java:458)
at net.minecraft.client.main.Main.main(Main.java:211)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:130)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/transfer/v1/storage/Storage
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50)
at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117)
at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at mod.crend.dynamiccrosshair.fabric.DynamicCrosshairFabric.onInitializeClient(DynamicCrosshairFabric.java:19)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:384)
... 9 more
Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.transfer.v1.storage.Storage
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 24 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:388)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:386)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:53)
at net.minecraft.class_310.<init>(class_310.java:458)
-- Initialization --
Details:
Modules:
ADVAPI32.dll:API avancées Windows 32:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
COMCTL32.dll:Bibliothèque de contrôles de l’expérience utilisateur:6.10 (WinBuild.160101.0800):Microsoft Corporation
CRYPT32.dll:Crypto API32:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
CRYPTBASE.dll:Base cryptographic API DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
CRYPTSP.dll:Cryptographic Service Provider API:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
DBGHELP.DLL:Windows Image Helper:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
DNSAPI.dll:DNS DLL de l’API Client:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
GDI32.dll:GDI Client DLL:10.0.22621.2792 (WinBuild.160101.0800):Microsoft Corporation
IMM32.DLL:Multi-User Windows IMM32 API Client DLL:10.0.22621.2792 (WinBuild.160101.0800):Microsoft Corporation
IPHLPAPI.DLL:API de l’application d’assistance IP:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
KERNEL32.DLL:DLL du client API BASE Windows NT:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
KERNELBASE.dll:DLL du client API BASE Windows NT:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
NSI.dll:NSI User-mode interface DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
NTASN1.dll:Microsoft ASN.1 API:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
OLEAUT32.dll:OLEAUT32.DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
Ole32.dll:Microsoft OLE pour Windows:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
PSAPI.DLL:Process Status Helper:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
Pdh.dll:DLL d’application d’assistance Windows pour les données de performance:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
RPCRT4.dll:Runtime d’appel de procédure distante:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
SHCORE.dll:SHCORE:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
SHELL32.dll:DLL commune du shell Windows:10.0.22621.2792 (WinBuild.160101.0800):Microsoft Corporation
USER32.dll:DLL client de l’API uilisateur de Windows multi-utilisateurs:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
USERENV.dll:Userenv:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
VCRUNTIME140.dll:Microsoft® C Runtime Library:14.31.31103.0:Microsoft Corporation
VERSION.dll:Version Checking and File Installation Libraries:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
WINHTTP.dll:Services HTTP Windows:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
WINMM.dll:DLL API MCI:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
WS2_32.dll:Windows Socket 2.0 32-Bit DLL:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
WSOCK32.dll:Windows Socket 32-Bit DLL:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
amsi.dll:Anti-Malware Scan Interface:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
antimalware_provider.dll:Kaspersky AntiMalwareProvider Component:30.587.0.880:AO Kaspersky Lab
apphelp.dll:Fichier DLL du client de compatibilité des applications:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
awt.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
bcrypt.dll:Bibliothèque de primitives de chiffrement Windows:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
bcryptPrimitives.dll:Windows Cryptographic Primitives Library:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
clbcatq.dll:COM+ Configuration Catalog:2001.12.10941.16384 (WinBuild.160101.0800):Microsoft Corporation
combase.dll:Microsoft COM pour Windows:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
dbgcore.DLL:Windows Core Debugging Helpers:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
dhcpcsvc.DLL:Service client DHCP:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
dhcpcsvc6.DLL:Client DHCPv6:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
fwpuclnt.dll:API en mode utilisateur FWP/IPsec:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
gdi32full.dll:GDI Client DLL:10.0.22621.2861 (WinBuild.160101.0800):Microsoft Corporation
glfw.dll:GLFW 3.4.0 DLL:3.4.0:GLFW
java.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
javaw.exe:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
jemalloc.dll
jimage.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
jli.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
jna16364281193022872794.dll:JNA native library:6.1.4:Java(TM) Native Access (JNA)
jsvml.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
jvm.dll:Java HotSpot(TM) 64-Bit server VM:17.0.9.0:Oracle Corporation
kernel.appcore.dll:AppModel API Host:10.0.22621.2715 (WinBuild.160101.0800):Microsoft Corporation
lwjgl.dll
management.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
management_ext.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
msvcp140.dll:Microsoft® C Runtime Library:14.31.31103.0:Microsoft Corporation
msvcp_win.dll:Microsoft® C Runtime Library:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
msvcrt.dll:Windows NT CRT DLL:7.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
mswsock.dll:Fournisseur de service Sockets 2.0 de Microsoft Windows:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
napinsp.dll:Fournisseur Shim d’affectation de noms de messagerie:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
ncrypt.dll:Routeur Windows NCrypt:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
net.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
nio.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
nlansp_c.dll:NLA Namespace Service Provider DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
ntdll.dll:DLL Couche NT:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
perfos.dll:DLL d’objets Performances système Windows:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
pfclient.dll:SysMain Client:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
pnrpnsp.dll:Fournisseur d’espace de noms PNRP:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
profapi.dll:User Profile Basic API:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
rasadhlp.dll:Remote Access AutoDial Helper:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
rsaenh.dll:Microsoft Enhanced Cryptographic Provider:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
sechost.dll:Host for SCM/SDDL/LSA Lookup APIs:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
shlwapi.dll:Bibliothèque d’utilitaires légers du Shell:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
sunmscapi.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
ucrtbase.dll:Microsoft® C Runtime Library:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
vcruntime140_1.dll:Microsoft® C Runtime Library:14.31.31103.0:Microsoft Corporation
verify.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
win32u.dll:Win32u:10.0.22621.2861 (WinBuild.160101.0800):Microsoft Corporation
windows.storage.dll:API de stockage Microsoft WinRT:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
winrnr.dll:LDAP RnR Provider DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
wintypes.dll:DLL de types de base Windows:10.0.22621.2428 (WinBuild.160101.0800):Microsoft Corporation
wshbth.dll:Windows Sockets Helper DLL:10.0.22621.2506 (WinBuild.160101.0800):Microsoft Corporation
wshunix.dll:AF_UNIX Winsock2 Helper DLL:10.0.22621.1 (WinBuild.160101.0800):Microsoft Corporation
zip.dll:Java(TM) Platform SE binary:17.0.9.0:Oracle Corporation
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:211)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:130)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
-- 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.9, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 353220104 bytes (336 MiB) / 536870912 bytes (512 MiB) up to 8589934592 bytes (8192 MiB)
CPUs: 32
Processor Vendor: GenuineIntel
Processor Name: 13th Gen Intel(R) Core(TM) i9-13900KF
Identifier: Intel64 Family 6 Model 183 Stepping 1
Microarchitecture: unknown
Frequency (GHz): 3.00
Number of physical packages: 1
Number of physical CPUs: 24
Number of logical CPUs: 32
Graphics card #0 name: AMD Radeon RX 7900 XTX
Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x744c
Graphics card #0 versionInfo: DriverVersion=31.0.23013.1023
Memory slot #0 capacity (MB): 16384.00
Memory slot #0 clockSpeed (GHz): 6.00
Memory slot #0 type: Unknown
Memory slot #1 capacity (MB): 16384.00
Memory slot #1 clockSpeed (GHz): 6.00
Memory slot #1 type: Unknown
Virtual memory max (MB): 43361.61
Virtual memory used (MB): 15786.27
Swap memory total (MB): 10752.00
Swap memory used (MB): 0.49
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx8192m
Launched Version: 1.20.1
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: Unknown
Window size: <not initialized>
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages: <disabled>
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
CPU: <unknown>
Oh. Apologies, that took me a while to spot because I found the different crash. You don't have fabric-api installed.
I also pushed version 3.7.1 of the compat mod (available on Modrinth, CurseForge pending approval) that fixes the crash that was in present in 3.7.
uh that's weird, it didn't worked on my modpack with Fabric API installed so there was still something wrong happening. It now launches with the patch you pushed, thank you.
Yeah, it crashed without MagicCombatWands installed because I implemented it wrongly. So the error message changed slightly (but not massively) between that and fabric-api missing. Thank you for the report!
Mod list
Log