
Crashes on 1.12.2
Closed this issue ยท 32 comments
/viaversion dump
Output
N/A
Console Error
---- Minecraft Crash Report ----
// My bad.
Time: 4/17/25 1:59 PM
Description: Initializing game
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'viafabric' at 'com.viaversion.fabric.common.ViaFabric'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.FabricLoaderImpl$$Lambda$82/885465900.apply(Unknown Source)
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 net.minecraft.class_1600.method_2921(class_1600.java:443)
at net.minecraft.class_1600.method_5580(class_1600.java:404)
at net.minecraft.client.main.Main.main(Main.java:123)
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: java.lang.IllegalStateException: ViaFabric sub-mod didn't load correctly. Check if required dependencies are installed
at com.viaversion.fabric.common.ViaFabric.onInitialize(ViaFabric.java:29)
at net.fabricmc.loader.impl.game.minecraft.Hooks$$Lambda$79/1739986996.accept(Unknown Source)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399)
... 7 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.FabricLoaderImpl$$Lambda$82/885465900.apply(Unknown Source)
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 net.minecraft.class_1600.method_2921(class_1600.java:443)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.class_1600.method_5580(class_1600.java:404)
at net.minecraft.client.main.Main.main(Main.java:123)
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.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 69221256 bytes (66 MB) / 134217728 bytes (128 MB) up to 2147483648 bytes (2048 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: fabric-loader-0.16.14-1.12.2
LWJGL: 2.9.4
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: ~~ERROR~~ NullPointerException: null
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Resource Packs: ~~ERROR~~ NullPointerException: null
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
CPU: <unknown>
Bug Description
Minecraft 1.12.2 Crashes before launch due to ViaBackwards. I have tried several versions of ViaBackwards compatible with 1.12.2 but it still crashes!
Steps to Reproduce
- Start 1.21.2 Legacy Fabric in Minecraft Launcher with mods ViaBackwards and ViaVersion
Expected Behavior
It crashes instantly
Additional Server Info
No response
Checklist
- I have checked if this is specific to ViaFabric platform, and doesn't happen when running it on other platforms (Paper/Sponge/Velocity/Waterfall).
- I have included a ViaVersion dump.
- If applicable, I have included a paste (not a screenshot) of the error.
- I have tried the latest build(s) from https://ci.viaversion.com/ and the issue still persists.
1.12.2 isn't supported.
I thought it was as it was listed on modrinth as being a compatible version. What versions are compatible?
1.12.2 isn't supported.
I thought it was as it was listed on modrinth as being a compatible version. What versions are compatible?
>= 1.14.4
1.12.2 isn't supported.
The client is 1.12.2 and the server is 1.21.4. According to the GitHub page, a client running 1.12x can join a 1.21.4 server using ViaBackwards. The issue is that the client won't even start
This mod can be installed on 1.14.4, 1.15.2, 1.16.5, 1.17.1, 1.18.2, 1.19.4, 1.20.1, 1.20.6, 1.21.5 with Fabric Loader.
Ohh. But do you know what I can do in my situation. The chart in the GitHub page of ViaVersion does say it's possible?
I was looking at ViaVersion instead of the ViaBackwards. Sorry for that. On the ViaFabric page, it says legacy version support 1.12.2?
@toidicakhia ViaFabric supports legacy fabric 1.8/1.12
@BhasitL can you show your mods folder?
You are missing fabric api for 1.12.2 and also viaversion 5.3.2 is absent.
Hey. That's a fabric modded launcher. Regular VivaWersion won't work but instead VivaFabric. And Fabric API isn't required for 1.12.2 according to the page and I couldn't find a fabric API compatible with this version!
@FlorianMichael Does the mod seems ok? Am trying the latest ViaFabric Legacy https://ci.viaversion.com/view/Platforms/job/ViaFabric-LEGACY/
and will see if it works
@FlorianMichael Does the mod seems ok? Am trying the latest ViaFabric Legacy
https://ci.viaversion.com/view/Platforms/job/ViaFabric-LEGACY/
and will see if it works
Still same result actually
@BhasitL Delete the ViaBackwards jar
Also here is the Legacy Fabric API: https://modrinth.com/mod/legacy-fabric-api, you need to install it as well
Thanks again. The game launched but is there a way to connect to my 1.21.4 server. I tried connecting but it doesn't work
What kick message do you get? Did you enter 1.21.4 in the menu and pressed "Enable Client-Side"?
https://ci.viaversion.com/job/ViaVersion-Java8/
https://ci.viaversion.com/view/ViaBackwards/job/ViaBackwards-Java8/
You need to download Java 8 jars here instead and put them in mods folder with ViaFabric-Legacy
@HowardZHY That should not be needed as they are already inside the ViaFabric jar
What kick message do you get? Did you enter 1.21.4 in the menu and pressed "Enable Client-Side"?
Yes. I did do so. I got something like client outdated. Use 1.21.4
Can you show the ViaFabric configuration screen and did you delete the ViaBackwards jar file in the mods folder?
Can you show the ViaFabric configuration screen and did you delete the ViaBackwards jar file in the mods folder?
Yes. I did delete so that It would launch and in the logs, I did see ViaBackwards as a child mod of the ViaFabric mod which is good. I will need to launch the Minecraft to send a pic.
Is it a Fabric server? ViaVersion/ViaBackwards#642 this issue if it is but the workaround is server sided
Is it a Fabric server? ViaVersion/ViaBackwards#642 this issue if it is but the workaround is server sided
Yes. It is a Fabric Server. Thanks, I will try it and let know
Here is my ViaVersion dump https://dump.viaversion.com/8b07ea300c9e3bdb086dfc5bb8cff67a0c55369fcd3aeba8bacdefc2bdb98e2e
Closing this issue again for multiple reasons:
- End-User was missing Fabric API, (this case the legacy variant)
- The ViaBackwards bug as mentioned by howard,
- See this page for the server-sided mod,
.java
files are non-compiled code for this mod directly, - They did not update viaversion.