Tater-Certified / FabricAutoCrafter

A mod based off of Gnembon's AutoCrafting Mod, but better
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Server Crashes On Startup #4

Closed tomozbot closed 2 years ago

tomozbot commented 2 years ago

The server immediately crashes on startup. Only mods used are the autocrafter, carpet mod, and fabric api. See logs below:

[15:50:01] [main/ERROR]: Mixin apply for mod server_translations_api failed server_translations_api.mixin.json:ServerResourceManagerMixin -> net.minecraft.class_5350: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException @Shadow field field_25335 was not located in the target class net.minecraft.class_5350. Using refmap server-translations-api-refmap.json org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: @Shadow field field_25335 was not located in the target class net.minecraft.class_5350. Using refmap server-translations-api-refmap.json at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attachFields(MixinPreProcessorStandard.java:624) ~[sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:302) ~[sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:277) ~[sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1289) ~[sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) [sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) [sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) [sponge-mixin-0.11.2+mixin.0.8.5.jar:0.11.2+mixin.0.8.5] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:247) [fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:150) [fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:155) [fabric-loader-0.13.3.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) [?:?] at net.minecraft.class_6904.method_40431(class_6904.java:44) [server-intermediary.jar:?] at net.minecraft.server.Main.main(Main.java:155) [server-intermediary.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) [fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.13.3.jar:?] at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.13.3.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66) [fabric-loader-0.13.3.jar:?] at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:64) [fabric-1.18.2.jar:0.10.2]

Ampflower commented 2 years ago

Duplicate of arthurbambou/Server-Translations#28? I found that downgrading to https://github.com/arthurbambou/Server-Translations/releases/tag/1.4.9%2B1.18.2-rc1 has worked, perhaps try that?

tomozbot commented 2 years ago

How would I go about downgrading it though if its built into the autocrafter? Just add that mod to the directory aswell?

Ampflower commented 2 years ago

Hm, it looks like that what's already in the jar is actually for 1.18 (Server Translations API v1.4.8); you'll actually be updating it instead to 1.4.9. You could also try 1.4.10 too, but you might also run into the issue I linked, you may not.

Although, generally speaking, Fabric will favour what you manually install over what's included in the jar unless there's some level of compatibility requirement that overrides it.

tomozbot commented 2 years ago

I seem to be getting the same crash as you reported for both 1.4.9 and 1.4.10 now.

Ampflower commented 2 years ago

Could you perhaps post the full crash report? It's hard to quite say what may actually be going on without it.

tomozbot commented 2 years ago

Sure Crash Log.txt

Ampflower commented 2 years ago

Your crash is related to Polymer; have you grabbed the latest FabricAutoCrafter or Polymer for the version you're running? You can find the latest of FabricAutoCrafter here and Polymer here.

Note: Grabbing the latest FabricAutoCrafter will pull in a working Polymer; you may only need to pull in Polymer manually if something else breaks.

tomozbot commented 2 years ago

Yeah I have the latest autocrafter. Adding the latest polymer release manually doesn't change anything as fabric seems to ignore it over the one built into the autocrafter jar.

Ampflower commented 2 years ago

Could you send a list of mods, and preferably the top of Fabric's logs that says which mods got loaded, and for JIJ, from whom?

QPCrummer commented 2 years ago

@KJP12 @tomozbot The Polymer I am using is out of date. I just now updated it and will be releasing a new version later today

QPCrummer commented 2 years ago

I am using it on my server now, no issues at all. We’ll see how it works on your server

QPCrummer commented 2 years ago

This has been fixed, closing the issue