[Last 6 versions of Fabric Api] [1.17.1] Client will not start
itsdinkd opened this issue ยท 27 comments
Anything after fabric-api-0.37.2+1.17.jar will cause my client to not start. Starting the game from launcher crashes after 10 seconds as you see in the logs below it doesn't load everything.
[23:01:31] [main/INFO]: Loading for game Minecraft 1.17.1
[23:01:31] [ForkJoinPool-1-worker-9/WARN]: The mod "libcd" contains invalid entries in its mod json:
- Unsupported root entry "licence" at line 9 column 12
[23:01:32] [main/WARN]: Warnings were found! - Conflicting versions found for fabric-api-base: used 0.3.0+a02b446313, also found 0.3.0+a02b44633d, 0.3.0+a02b446318
- Conflicting versions found for fabric-networking-v0: used 0.3.2+92519afa13, also found 0.3.2+92519afa18
- Conflicting versions found for fabric-key-binding-api-v1: used 1.0.4+a02b446318, also found 1.0.4+a02b44633d
- Mod 'Clear Despawn' (cleardespawn) recommends version 1.1.7 or later of mod modupdater, which is missing!
- You must install version 1.1.7 or later of modupdater.
- Conflicting versions found for fabric-rendering-data-attachment-v1: used 0.1.5+a02b446313, also found 0.1.5+a02b446318
- Conflicting versions found for fabric-lifecycle-events-v1: used 1.4.4+a02b44633d, also found 1.4.4+a02b446318
- Conflicting versions found for fabric-rendering-fluids-v1: used 0.1.13+a02b446318, also found 0.1.13+a02b446313
- Conflicting versions found for fabric-screen-api-v1: used 1.0.4+155f865c18, also found 1.0.4+198a96213d
- Mod 'BetterF3' (betterf3) recommends version 2.0.0.* of mod 'Mod Menu' (modmenu), but a non-matching version is present: 2.0.5!
- You must install version 2.0.0.* of 'Mod Menu' (modmenu).
- Mod 'Mod Menu' (modmenu) v2.0.5 is being loaded from the user's mod directory.
[23:01:32] [main/INFO]: [FabricLoader] Loading 321 mods: - [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]+0
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+build.650
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+4.1.1
- [email protected]+0
- [email protected]
- [email protected]
- [email protected]+1.17
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1-fabric
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17
- [email protected]+a02b446313
- [email protected]+2f75c6ce18
- [email protected]+b06cb95b18
- [email protected]+a02b446318
- [email protected]+5ab9934c18
- [email protected]+92519afa18
- [email protected]+a02b446318
- [email protected]+211ddf9518
- [email protected]+be9da31018
- [email protected]+6cefd57718
- [email protected]+62e33f4118
- [email protected]+a722d8c018
- [email protected]+92519afa18
- [email protected]+6cefd57718
- [email protected]+a02b446318
- [email protected]+b7ab612118
- [email protected]+a02b446318
- [email protected]+36b77c3e18
- [email protected]+kotlin.1.5.21
- [email protected]+scala.2.13.6
- [email protected]+a02b44633d
- [email protected]+a02b446318
- [email protected]+92519afa18
- [email protected]+a02b446318
- [email protected]+2e8bd82f18
- [email protected]+a02b446318
- [email protected]+92519afa13
- [email protected]+b7ab612118
- [email protected]+a02b446318
- [email protected]+a02b446318
- [email protected]
- [email protected]+e2961fee18
- [email protected]+5f02c96918
- [email protected]+a02b446318
- [email protected]+b06cb95b18
- [email protected]+a02b446313
- [email protected]+a02b446318
- [email protected]+92519afa18
- [email protected]+b06cb95b18
- [email protected]+a00e834b18
- [email protected]+155f865c18
- [email protected]+a02b446318
- [email protected]+5ab9934c18
- [email protected]+b06cb95b18
- [email protected]+a02b446318
- [email protected]+b7ab612118
- [email protected]+96bf6a7e18
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+j1.2.0
- java@16
- [email protected]
- [email protected]+1.14.4-1.17.1
- [email protected]+1.17
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.16.3
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.1.0-3fe74aa118
- [email protected]+0.5.6
- [email protected]+1.8.1-BETA-1.17
- [email protected]+0.9.0
- [email protected]
- [email protected]+0.1.1
- [email protected]+5.0.6-beta-build.95
- [email protected]+1.17.1
- [email protected]+1.1.2
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+mc1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.14.4-1.17.1
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- pugh_lib@${version}
- pugh_tools@${version}
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+build.94
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17
- [email protected]
- [email protected]+1.17.1
- [email protected]+1.17
- [email protected]
- [email protected]
- [email protected]+IRIS2
- [email protected]
- [email protected]
- [email protected]+1.17
- [email protected]
- [email protected]
- [email protected]
- [email protected]+build.94
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]+1.17.1
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
[23:01:32] [main/WARN]: Modappleskin
(mc1.17-2.1.3) does not respect SemVer - comparison support is limited.
[23:01:32] [main/WARN]: Modpugh_lib
(${version}) does not respect SemVer - comparison support is limited.
[23:01:32] [main/WARN]: Modnyfsquivers
(Fabric-0.2.6) does not respect SemVer - comparison support is limited.
[23:01:32] [main/WARN]: Modpugh_tools
(${version}) does not respect SemVer - comparison support is limited.
[23:01:32] [main/WARN]: Modlibra
(0.3.9.2) uses more dot-separated version components than SemVer allows; support for this is currently not guaranteed.
[23:01:32] [main/WARN]: Modclumps
(fabric-1.17.1-7.0.5) does not respect SemVer - comparison support is limited.
[23:01:32] [main/WARN]: Modpresencefootsteps
(r32-1.17-rc1) does not respect SemVer - comparison support is limited.
[23:01:38] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/D:/minecraftmods/Install/libraries/net/fabricmc/sponge-mixin/0.9.4+mixin.0.8.2/sponge-mixin-0.9.4+mixin.0.8.2.jar Service=Knot/Fabric Env=CLIENT
[23:01:38] [main/INFO]: Compatibility level set to JAVA_16
[23:01:41] [main/WARN]: Reference map 'caracal-refmap.json' for caracal.mixins.json could not be read. If this is a development environment you can ignore this message
[23:01:41] [main/WARN]: [Satin] Sodium is present, custom block renders may not work
[23:01:41] [main/INFO]: Loaded configuration file for Sodium: 28 options available, 0 override(s) found
[23:01:41] [main/INFO]: Loaded configuration file for Lithium: 86 options available, 0 override(s) found
[23:01:41] [main/WARN]: Reference map 'WardBlocks-Fabric-1.17.1-refmap.json' for ward_blocks.mixins.json could not be read. If this is a development environment you can ignore this message
[23:01:41] [main/WARN]: Reference map 'craftingtweaks-fabric-refmap.json' for craftingtweaks.mixins.json could not be read. If this is a development environment you can ignore this message
[23:01:41] [main/WARN]: Reference map 'flytre-lib-compat-refmap.json' for flytre-lib-compat.mixins.json could not be read. If this is a development environment you can ignore this message
[23:01:41] [main/INFO]: [MixinConfig] Not adding music_improvements.TryCustomMusicMixin
[23:01:41] [main/INFO]: [MixinConfig] Not adding helper.CheckEnchantingPowerMixin
[23:01:41] [main/INFO]: [MixinConfig] Not adding devenv.FixDevAuthSpamMixin
[23:01:41] [main/INFO]: [MixinConfig] Not adding helper.ShowEnchantmentParticlesMixin
[23:01:42] [main/WARN]: @mixin target net/minecraft/class_2474$class_5124 is public in fabric-tag-extensions-v0.mixins.json:MixinObjectBuilder and should be specified in value
[23:01:42] [main/WARN]: Error loading class: info/tehnut/harvest/Harvest (java.lang.ClassNotFoundException: info/tehnut/harvest/Harvest)
[23:01:42] [main/WARN]: Error loading class: wraith/harvest_scythes/ScytheTool (java.lang.ClassNotFoundException: wraith/harvest_scythes/ScytheTool)
[23:01:43] [main/WARN]: @mixin target io.github.apace100.apoli.power.PreventItemUsePower is public in bewitchment.mixins.json:integration.origins.PreventItemUsePowerMixin and should be specified in value
[23:01:43] [main/WARN]: @mixin target net/minecraft/class_631$class_3681 is public in sodium.mixins.json:features.chunk_rendering.MixinClientChunkManager$MixinClientChunkMap and should be specified in value
[23:01:43] [main/WARN]: @mixin target net/minecraft/class_3898$class_3208 is public in mixins.impersonate.common.json:EntityTrackerAccessor and should be specified in value
[23:01:43] [main/WARN]: @mixin target net/minecraft/class_1921$class_4687 is public in mixins.iris.fantastic.json:MixinMultiPhaseRenderLayer and should be specified in value
[23:01:43] [main/WARN]: Error loading class: draylar/gateofbabylon/item/CustomBowItem (java.lang.ClassNotFoundException: draylar/gateofbabylon/item/CustomBowItem)
[23:01:43] [main/WARN]: @mixin target net/minecraft/class_3218$class_5526 is public in fabric-lifecycle-events-v1.mixins.json:ServerWorldEntityLoaderMixin and should be specified in value
[23:01:43] [main/WARN]: @mixin target net/minecraft/class_3353$class_3354 is public in charm.mixins.json:accessor.MineshaftCorridorAccessor and should be specified in value
[23:01:43] [main/WARN]: @mixin target net/minecraft/class_3898$class_3208 is public in fabric-networking-api-v1.mixins.json:accessor.EntityTrackerAccessor and should be specified in value
[23:01:43] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$ScheduledForRemoval (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$ScheduledForRemoval)
[23:01:44] [main/INFO]: Trying to switch memory allocators to work around memory leaks present with Jemalloc 5.0.0 through 5.2.0 on Windows
[23:01:44] [main/INFO]: Initializing StacktraceDeobfuscator
[23:01:44] [main/INFO]: Done initializing StacktraceDeobfuscator
[23:01:48] [main/WARN]: @ModifyConstant conflict. Skipping repurposed_structures.mixins.json:structures.StructurePoolMixin->@ModifyConstant::repurposedstructures_increaseWeightLimitProd(I)I with priority 1000, already redirected by betterstrongholds.mixins.json:StructurePoolMixin->@ModifyConstant::betterstrongholds_increaseWeightLimit(I)I with priority 1000
[23:01:51] [main/WARN]: Method overwrite conflict for setCount in clumps.common.json:ExperienceOrbAccess, previously written by carpet.mixins.ExperienceOrbEntityMixin. Skipping method.
This looks suspicous. 1.16 version of kubejs is unlikely to work in 1.17
There are many warnings in that log, but no actual error.
Can you post your latest crash report, this is a copy of what the launcher showed when you crashed.
You can find it in the folder called "crash-reports".
This looks suspicous. 1.16 version of kubejs is unlikely to work in 1.17
This is the 1.17 version ๐
This is the 1.17 version ๐
https://www.curseforge.com/minecraft/mc-mods/kubejs-fabric/files/3355296
Isn't that just the 1.16 version hacked to compile on 1.17? It isn't supported.
I don't think it even has a branch in their codebase? :-)
It's on shedaniel's fork. AOF4 needs it for its unification scripts, so don't be too surprised that it exists. ๐
I even host it on my "maven" for my own use (https://github.com/Technici4n/Technici4n-maven/tree/master/dev/latvian/mods/kubejs-fabric/1605.3.10-build.9999).
Anyway, this is all a bit off-topic...
Waiting to see the crash log for this issue.
If there is no crash report that suggests it is hard crash in the Java virtual machine/native code rather than a mod error.
Something like this maybe the cause:
[23:01:44] [main/INFO]: Trying to switch memory allocators to work around memory leaks
present with Jemalloc 5.0.0 through 5.2.0 on Windows
jemalloc is native c code
I am not familiar with whatever is doing this replacement and it doesn't say who is responsible in the log message?
You might also see if you can locate a core dump made by the jvm, but I don't know where it would located?
Typically it would be in the working directory of the java processs, whatever that is for minecraft running from the launcher.
But it might not be generating a core dump and just exiting with an error code.
and it doesn't say who is responsible
Does the launcher at least give you an error code when it crashed?
Error code is 0 :(
I don't know if this helps or not but I tried running the latest fabric with the same mod pack on my server and its actually giving an error with some real information
(irrelevant to above but I also just tried updating sodium to 0.3.1 on my client with latest fabric api, no luck. also tried removing sodium, no luck)
Exception in thread "main" java.lang.RuntimeException: Failed to setup Fabric server environment!
at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:58)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: An exception occurred when launching the server!
at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:116)
at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:56)
Caused by: java.lang.RuntimeException: An exception occurred when launching the server!
at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:70)
at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:114)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:68)
... 2 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:236)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28)
... 7 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
... 9 more
Caused by: java.lang.NoSuchFieldError: cachedItemVariant
at net.minecraft.class_1792.(class_1792.java:91)
at net.minecraft.class_1739.(class_1739.java:14)
at net.minecraft.class_1802.(class_1802.java:20)
at net.minecraft.class_2378.method_10234(class_2378.java:176)
at net.minecraft.class_2378.method_34031(class_2378.java:275)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:723)
at net.minecraft.class_2378.(class_2378.java:274)
at net.minecraft.class_2966.method_12851(class_2966.java:44)
at net.minecraft.server.Main.main(Main.java:92)
... 14 more
Caused by: java.lang.NoSuchFieldError: cachedItemVariant
at net.minecraft.class_1792.(class_1792.java:91)
class_1792 is net/minecraft/class_1792 net/minecraft/item/Item
This looks like a broken mixin by some mod.
- "cachedItemVariant" is not an intermediate name. If it was minecraft code it would have a name like field12345
- there is no such field anywhere in the yarn mappings. There is a field called "cachedItem" in the Block class
Can you try adding this mod to see if shows which mods are modifying the Item constructor.
https://www.curseforge.com/minecraft/mc-mods/mixintrace
Failing that and the fact that you are getting no errors or error codes, the only thing I can suggest is to try to remove mods individually until you find the mod that is causing the problem.
This is a subtle mixin conflict. I'll have a fix in a bit. In the meanwhile, you can manually add this jar to your mods
folder, that should resolve the conflict:
https://github.com/Technici4n/Technici4n-maven/raw/master/dev/technici4n/FastTransferLib/0.5.6/FastTransferLib-0.5.6.jar.
I have no clue why this is crashing though.
Okay guys, went through 160 mods, fml. Culprit is Wireless Networks latest version.
I wish I read your post before doing that @warjort lol probably would've saved me an hour and a half.
Oh wow you're amazing. The FastTransferLib will allow me to keep fabric API updated + use wireless networks?
@Technici4n so i'm going to add it today, i'm curious though, is curseforge going to accept this mod into my modpack when uploading it to the site?
I think so? If that doesn't work, the next fabric API release will contain a fix.
I think so? If that doesn't work, the next fabric API release will contain a fix.
so i manually added Fast transfer lib and the client still crashed upon trying to start game.
Ok, update to fabric API 0.40.0, remove fasttransferlib and try again. In any case, please post the full log again.