hewo

hewo

970 Downloads

Server does not launch with hewo installed

griffin4cats opened this issue ยท 8 comments

commented

Just straight up doesn't work. Server crashes on startup.

[19:04:36] [main/INFO]: Loading for game Minecraft 1.16.5
[19:04:36] [ForkJoinPool-1-worker-3/WARN]: The mod "autoconfig1u" contains invalid entries in its mod json:
- Unsupported root entry "$schema" at line 2 column 14
[19:04:36] [main/INFO]: [FabricLoader] Loading 7 mods: [email protected], [email protected], java@14, [email protected], [email protected], [email protected], [email protected]
[19:04:36] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/home/----/---------------/minecraft/fabric-server-launch.jar Service=Knot/Fabric Env=SERVER
[19:04:43] [main/INFO]: 0w0 Woading fuwwy speak... x3
[19:04:43] [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'hewo'!
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:32) ~[fabric-server-launch.jar:?]
	at net.minecraft.server.Main.main(Main.java:92) [intermediary-server.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:27) [fabric-server-launch.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
	at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:62) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:106) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:50) [fabric-server-launch.jar:?]
Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/command/v1/CommandRegistrationCallback
	at ai.arcblroth.fabric.hewo.Hewo.onInitialize(Hewo.java:28) ~[hewo-1.0.0.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
	... 17 more
Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback
	at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602) ~[?:?]
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
	at net.fabricmc.loader.launch.server.InjectingURLClassLoader.loadClass(InjectingURLClassLoader.java:56) ~[fabric-server-launch.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
	at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168) ~[fabric-server-launch.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
	at ai.arcblroth.fabric.hewo.Hewo.onInitialize(Hewo.java:28) ~[hewo-1.0.0.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
	... 17 more
commented

From the crash report, it looks like the server doesn't have Fabric API, a seperate mod that hewo requires (as do a lot of other fabric mods). Try adding Fabric API to the server and running, and see if things work.

Also, I just checked this mod's Curseforge page, and it looks like you left a comment on there on this a month ago. I am so sorry I didn't see this earlier! ๐Ÿ˜“

commented

In that test log I showed it didn't have fabric API, that was my mistake.

But the server still crashes on startup with fabric API. I first noticed this when I tried it with a load of other mods (which also need fabric API).

Here's the new log:

[16:33:22] [main/INFO]: Loading for game Minecraft 1.16.5
[16:33:22] [ForkJoinPool-1-worker-3/WARN]: The mod "autoconfig1u" contains invalid entries in its mod json:
- Unsupported root entry "$schema" at line 2 column 14
[16:33:22] [main/INFO]: [FabricLoader] Loading 51 mods: [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected]+9354966b7d, [email protected]+9354966b7d, [email protected]+9354966b7d, java@14, [email protected]+ca58154a7d, [email protected]+9354966b7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+1.16, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+dc716ea17d, [email protected]+ca58154a7d, [email protected], [email protected]+9354966b7d, [email protected]+f9b3753b7d, [email protected], [email protected]+c045166c7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+9354966b7d, [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d
[16:33:22] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/home/----/---------------/minecraft/fabric-server-launch.jar Service=Knot/Fabric Env=SERVER
[16:33:29] [main/INFO]: 0w0 Woading fuwwy speak... <{^v^}>
[16:33:29] [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'fabric-networking-v0'!
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointServer.start(EntrypointServer.java:32) ~[fabric-server-launch.jar:?]
	at net.minecraft.server.Main.main(Main.java:92) [intermediary-server.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:27) [fabric-server-launch.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
	at net.fabricmc.loader.launch.server.FabricServerLauncher.launch(FabricServerLauncher.java:62) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.server.FabricServerLauncher.setup(FabricServerLauncher.java:106) [fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:50) [fabric-server-launch.jar:?]
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:157) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:150) ~[fabric-server-launch.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
	at net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.lambda$static$1(S2CPlayChannelEvents.java:36) ~[044b2eb7-4076-44e0-8e2c-18d10f6cc8c9.jar:?]
	at net.fabricmc.fabric.impl.base.event.ArrayBackedEvent.update(ArrayBackedEvent.java:47) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.impl.base.event.ArrayBackedEvent.<init>(ArrayBackedEvent.java:38) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.impl.base.event.EventFactoryImpl.createArrayBacked(EventFactoryImpl.java:46) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.impl.base.event.EventFactoryImpl.createArrayBacked(EventFactoryImpl.java:42) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.api.event.EventFactory.createArrayBacked(EventFactory.java:57) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.<clinit>(S2CPlayChannelEvents.java:36) ~[044b2eb7-4076-44e0-8e2c-18d10f6cc8c9.jar:?]
	at net.fabricmc.fabric.impl.networking.OldNetworkingHooks.onInitialize(OldNetworkingHooks.java:27) ~[636a30eb-d982-4e76-92b5-906ff361e7a7.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
	... 17 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Argument modifier method owoifyChatMessage(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561; in hewo.mixins.json:MixinServerPlayNetworkHandler failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap hewo-refmap.json
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:408) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1291) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:569) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:208) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178) ~[fabric-server-launch.jar:?]
	at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:157) ~[fabric-server-launch.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:150) ~[fabric-server-launch.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
	at net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.lambda$static$1(S2CPlayChannelEvents.java:36) ~[044b2eb7-4076-44e0-8e2c-18d10f6cc8c9.jar:?]
	at net.fabricmc.fabric.impl.base.event.ArrayBackedEvent.update(ArrayBackedEvent.java:47) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.impl.base.event.ArrayBackedEvent.<init>(ArrayBackedEvent.java:38) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.impl.base.event.EventFactoryImpl.createArrayBacked(EventFactoryImpl.java:46) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.impl.base.event.EventFactoryImpl.createArrayBacked(EventFactoryImpl.java:42) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.api.event.EventFactory.createArrayBacked(EventFactory.java:57) ~[e608f51d-4430-46a3-8752-1e5fb12edecd.jar:?]
	at net.fabricmc.fabric.api.networking.v1.S2CPlayChannelEvents.<clinit>(S2CPlayChannelEvents.java:36) ~[044b2eb7-4076-44e0-8e2c-18d10f6cc8c9.jar:?]
	at net.fabricmc.fabric.impl.networking.OldNetworkingHooks.onInitialize(OldNetworkingHooks.java:27) ~[636a30eb-d982-4e76-92b5-906ff361e7a7.jar:?]
	at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
	... 17 more

And in fairness, I'm sorry that I didn't see your response here and update you earlier ๐Ÿ˜›

commented

Hmm it looks like hewo is failing because I have not updated the mod in some time
I'll try to get around fixing this tommorow or the day after

commented

Awesome, I'd love to play a prank on some people I run a server for by enabling this on april fools day.

commented

I don't think hewo even supports servers atm.
I'll probably submit a PR if I ever update owo.

commented

i think it does - it's only server side?
I'll look at it and make it server side only later today and then clarify on the curseforge
I've had a busy week - sorry for not getting to this earlier!

commented

Config persistance seems to be a bit weird right now, but the default config will always load correctly. I'll take a look at that more tommorow.
For now, I've released a beta at https://github.com/Arc-blroth/hewo/releases/tag/v2.0.0%2Bbeta.1 if you wanna see if it now works :)

commented

image
Lemme also test it on 1.16.5 and latest snapshot before I release this

  • Works on 1.16.4
  • Works on 1.16.5
  • Works on 20w11a - sorta, but modmenu is broken