java.lang.RuntimeException: Failed to read accessWidener file from mod fabric-data-generation-api-v1
CodeCraftPlugin opened this issue ยท 2 comments
I have reported this issue before but was not able to send the required stuff as I was out
#2354
Uncaught exception in thread "main"
java.lang.RuntimeException: Failed to read accessWidener file from mod fabric-data-generation-api-v1
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:441)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:151)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: net.fabricmc.mapping.reader.v2.MappingParseException: Error on line " m (Ldhq$a;Lgt;)V b method_
the above is the error
the below is the latest log
[21:24:13] [main/INFO] (FabricLoader/GameProvider) Loading Minecraft 1.19 with Fabric Loader 0.14.8
[21:24:14] [main/INFO] (FabricLoader) Loading 43 mods:
- fabric 0.57.0+1.19
- fabric-api-base 0.4.9+e62f51a3a9
- fabric-api-lookup-api-v1 1.6.7+9ff28f40a9
- fabric-biome-api-v1 9.0.14+b2a4a624a9
- fabric-blockrenderlayer-v1 1.1.18+9ff28f40a9
- fabric-command-api-v2 2.1.2+0d55f585a9
- fabric-content-registries-v0 3.2.0+07df213ea9
- fabric-convention-tags-v1 1.0.8+37622d24a9
- fabric-crash-report-info-v1 0.2.3+bd0a0d4aa9
- fabric-data-generation-api-v1 5.1.1+a680b9b4a9
- fabric-dimensions-v1 2.1.28+a6d2f785a9
- fabric-entity-events-v1 1.4.16+9ff28f40a9
- fabric-events-interaction-v0 0.4.26+9ff28f40a9
- fabric-game-rule-api-v1 1.0.19+18990361a9
- fabric-gametest-api-v1 1.0.32+e62f51a3a9
- fabric-item-api-v1 1.5.4+767db26ea9
- fabric-item-groups-v0 0.3.25+9ff28f40a9
- fabric-key-binding-api-v1 1.0.18+9ff28f40a9
- fabric-lifecycle-events-v1 2.1.0+33fbc738a9
- fabric-loot-api-v2 1.1.0+03a4e568a9
- fabric-message-api-v1 1.0.1+513f4a59a9
- fabric-mining-level-api-v1 2.1.10+33fbc738a9
- fabric-models-v0 0.3.15+9ff28f40a9
- fabric-networking-api-v1 1.0.27+7fe97409a9
- fabric-object-builder-api-v1 4.0.7+9ff28f40a9
- fabric-particles-v1 1.0.8+dc39553aa9
- fabric-registry-sync-v0 0.9.17+23c4cfefa9
- fabric-renderer-api-v1 1.0.8+9ff28f40a9
- fabric-renderer-indigo 0.6.9+1f92344ea9
- fabric-rendering-data-attachment-v1 0.3.12+9ff28f40a9
- fabric-rendering-fluids-v1 3.0.5+9ff28f40a9
- fabric-rendering-v1 1.10.14+9ff28f40a9
- fabric-resource-conditions-api-v1 2.0.9+e62f51a3a9
- fabric-resource-loader-v0 0.5.5+a6d2f785a9
- fabric-screen-api-v1 1.0.24+f05effafa9
- fabric-screen-handler-api-v1 1.2.6+9ff28f40a9
- fabric-textures-v0 1.0.18+9ff28f40a9
- fabric-transfer-api-v1 2.0.9+e62f51a3a9
- fabric-transitive-access-wideners-v1 1.1.1+9e7660c6a9
- fabricloader 0.14.8
- java 17
- minecraft 1.19
- soul 1.18.1-1.0.0
[21:24:14] [main/ERROR] (FabricLoader) Uncaught exception in thread "main"
java.lang.RuntimeException: Failed to read accessWidener file from mod fabric-data-generation-api-v1
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:441) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:151) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) ~[?:?]
Caused by: net.fabricmc.mapping.reader.v2.MappingParseException: Error on line " m (Ldhq$a;Lgt;)V b method_ ; a method_28893 getType"!
at net.fabricmc.mapping.reader.v2.TinyV2Factory.visit(TinyV2Factory.java:92) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.load(TinyMappingFactory.java:71) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:103) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:84) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.initialize(MappingConfiguration.java:96) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.getMappings(MappingConfiguration.java:62) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.MappingResolverImpl.<init>(MappingResolverImpl.java:49) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.getMappingResolver(FabricLoaderImpl.java:333) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:439) ~[fabric-loader-0.14.8.jar:?]
... 4 more
Caused by: java.lang.IllegalArgumentException: Wrong number of parts for definition of a METHOD!
at net.fabricmc.mapping.reader.v2.TinyV2Factory.visit(TinyV2Factory.java:81) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.load(TinyMappingFactory.java:71) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:103) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:84) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.initialize(MappingConfiguration.java:96) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.getMappings(MappingConfiguration.java:62) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.MappingResolverImpl.<init>(MappingResolverImpl.java:49) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.getMappingResolver(FabricLoaderImpl.java:333) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:439) ~[fabric-loader-0.14.8.jar:?]
... 4 more
this is what my ide shows in the error
[21:24:14] [main/ERROR] (FabricLoader) Uncaught exception in thread "main"
java.lang.RuntimeException: Failed to read accessWidener file from mod fabric-data-generation-api-v1
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:441) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:151) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) ~[?:?]
Caused by: net.fabricmc.mapping.reader.v2.MappingParseException: Error on line " m (Ldhq$a;Lgt;)V b method_ ; a method_28893 getType"!
at net.fabricmc.mapping.reader.v2.TinyV2Factory.visit(TinyV2Factory.java:92) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.load(TinyMappingFactory.java:71) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:103) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
Caused by: net.fabricmc.mapping.reader.v2.MappingParseException: Error on line " m (Ldhq$a;Lgt;)V b method_ ; a method_28893 getType"!
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:84) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.initialize(MappingConfiguration.java:96) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.getMappings(MappingConfiguration.java:62) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.MappingResolverImpl.<init>(MappingResolverImpl.java:49) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.getMappingResolver(FabricLoaderImpl.java:333) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:439) ~[fabric-loader-0.14.8.jar:?]
... 4 more
Caused by: java.lang.IllegalArgumentException: Wrong number of parts for definition of a METHOD!
at net.fabricmc.mapping.reader.v2.TinyV2Factory.visit(TinyV2Factory.java:81) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.load(TinyMappingFactory.java:71) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
Caused by: java.lang.IllegalArgumentException: Wrong number of parts for definition of a METHOD!
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:103) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.mapping.tree.TinyMappingFactory.loadWithDetection(TinyMappingFactory.java:84) ~[tiny-mappings-parser-0.3.0+build.17.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.initialize(MappingConfiguration.java:96) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.launch.MappingConfiguration.getMappings(MappingConfiguration.java:62) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.MappingResolverImpl.<init>(MappingResolverImpl.java:49) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.getMappingResolver(FabricLoaderImpl.java:333) ~[fabric-loader-0.14.8.jar:?]
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:439) ~[fabric-loader-0.14.8.jar:?]
... 4 more
this is my gradle.properties
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.19
yarn_mappings=1.19+build.4
loader_version=0.14.8
# Mod Properties
mod_version = 1.19.1-1.0.0
maven_group = me.codecraft
archives_base_name = soul-reeper
# Dependencies
fabric_version=0.57.0+1.19
I think this is a problem with your gradle cache (the intermediary mappings file download was incomplete on a previous run?).
Try deleting YOUR_HOME_DIRECTORY/.gradle/caches/loom-cache
Assuming that fixes the problem, the issue is with fabric-loom using the file without verifying it was previously downloaded successfully (or more accurately telling fabric-loader to use it).