Fabric 1.18 Server fails to start
TheRealHypo opened this issue ยท 2 comments
Heyho !
Today I was about to update my server to 1.18 when the launch made some problems. Filtering mods 1 by 1 led to this Mod having problems with JAVA 1.17 so it seems.
I do believe the .jar is already compiled with 1.17, but there seems to be either dependencies on other fabric things, that are loaded when this mod is included, that seem to be unable to load with the ASM MIXIN Compatibility set to JAVA 17/ASM9
Please see attached Error log and list of mods. (Pretty lightweight server)
And yes, I tested every mod and dependency individually. Removing this mod removes the problem, adding it, instantly lets it re-appear.
Could you please check what's happening here ? I'll try to make this Server Instance work locally as well, to see if I can pin point the issue with the Java version. But might not have that much time today.
My Server uses: Java 17 (Sadly only configurable through interface)
Fabric: 1.18 - 0.12.6
[20:35:21] [main/INFO]: Loading for game Minecraft 1.18
[20:35:22] [main/WARN]: Warnings were found!
- Mod 'Fabric Rendering Fluids (v1)' (fabric-rendering-fluids-v1) 0.1.18+3ac43d9514 recommends any version of fabric-textures-v0, which is disabled for this environment (client/server only)!
- You should install any version of fabric-textures-v0 for the optimal experience.
[20:35:22] [main/INFO]: Loading 69 mods:
- architectury 3.0.39
- armor-stand-editor 1.3.1+1.18-rc3
- cloth-basic-math 0.6.0 via cloth-config
- cloth-config 6.0.42
- com_fasterxml_jackson_dataformat_jackson-dataformat-yaml 2.12.2 via essential_commands
- ec-core 1.0.0a-mc1.18-rc3 via essential_commands
- essential_commands 0.17.1-mc1.18-rc3
- fabric 0.43.1+1.18
- fabric-api-base 0.4.1+b4f4f6cd14 via fabric
- fabric-api-lookup-api-v1 1.3.5+3ac43d9514 via fabric
- fabric-biome-api-v1 6.0.1+3ac43d9514 via fabric
- fabric-command-api-v1 1.1.6+3ac43d9514 via fabric
- fabric-commands-v0 0.2.5+b4f4f6cd14 via fabric
- fabric-containers-v0 0.1.18+d154e2c614 via fabric
- fabric-content-registries-v0 0.4.5+6f53a73d14 via fabric
- fabric-crash-report-info-v1 0.1.8+3ac43d9514 via fabric
- fabric-dimensions-v1 2.1.7+43d2957114 via fabric
- fabric-entity-events-v1 1.4.5+6b21378a14 via fabric
- fabric-events-interaction-v0 0.4.15+3ac43d9514 via fabric
- fabric-events-lifecycle-v0 0.2.5+b4f4f6cd14 via fabric
- fabric-game-rule-api-v1 1.0.10+3ac43d9514 via fabric
- fabric-item-api-v1 1.2.7+3ac43d9514 via fabric
- fabric-item-groups-v0 0.3.3+3ac43d9514 via fabric
- fabric-language-kotlin 1.7.0+kotlin.1.6.0
- fabric-lifecycle-events-v1 1.4.10+c15ca33514 via fabric
- fabric-loot-tables-v1 1.0.8+3ac43d9514 via fabric
- fabric-mining-level-api-v1 1.0.3+3ac43d9514 via fabric
- fabric-mining-levels-v0 0.1.7+b4f4f6cd14 via fabric
- fabric-networking-api-v1 1.0.18+3ac43d9514 via fabric
- fabric-networking-v0 0.3.5+b4f4f6cd14 via fabric
- fabric-object-builder-api-v1 1.10.13+3ac43d9514 via fabric
- fabric-object-builders-v0 0.7.7+3ac43d9514 via fabric
- fabric-particles-v1 0.2.9+526dc1ac14 via fabric
- fabric-permissions-api-v0 0.1-SNAPSHOT via essential_commands
- fabric-registry-sync-v0 0.8.5+3ac43d9514 via fabric
- fabric-rendering-data-attachment-v1 0.3.3+d154e2c614 via fabric
- fabric-rendering-fluids-v1 0.1.18+3ac43d9514 via fabric
- fabric-resource-loader-v0 0.4.11+3ac43d9514 via fabric
- fabric-screen-handler-api-v1 1.1.11+3ac43d9514 via fabric
- fabric-structure-api-v1 2.0.8+295197a714 via fabric
- fabric-tag-extensions-v0 1.2.5+3ac43d9514 via fabric
- fabric-tool-attribute-api-v1 1.3.4+7de09f5514 via fabric
- fabric-transfer-api-v1 1.5.4+b4f4f6cd14 via fabric
- fabricloader 0.12.6
- hologram-api 0.2.1+1.18-pre5 via universal-graves
- java 17
- ledger 1.2.0
- minecraft 1.18
- org_jetbrains_kotlin_kotlin-reflect 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlin_kotlin-stdlib 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.6.0 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.5.2 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.5.2 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.3.1 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.3.1 via fabric-language-kotlin
- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.3.1 via fabric-language-kotlin
- packet_tweaker 0.2.0+1.18-pre1 via server_translations_api
- placeholder-api 1.1.3+1.17.1 via universal-graves
- playerabilitylib 1.3.0 via essential_commands
- polymer 0.2.0-beta.5+1.18-rc3 via universal-graves
- polymer-legacy 0.1.9+0.2.0-beta.5+1.18-rc3 via polymer
- roughlyenoughitems 7.0.339
- server_translations_api 1.4.8+1.18-pre1 via universal-graves
- sgui 1.0.0-rc6+1.18-pre5 via universal-graves
- universal-graves 1.2.1+1.18
- wthit 4.2.0
- xaerominimap 21.22.3
- xaeroworldmap 1.18.4
[20:35:22] [main/WARN]: Mod `ec-core` (1.0.0a-mc1.18-rc3) does not respect SemVer - comparison support is limited.
[20:35:22] [main/WARN]: Mod `polymer-legacy` (0.1.9+0.2.0-beta.5+1.18-rc3) does not respect SemVer - comparison support is limited.
[20:35:22] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/home/sid_3172822/minecraft_fabric_118/fabric.jar Service=Knot/Fabric Env=SERVER
[20:35:23] [main/INFO]: Compatibility level set to JAVA_16
[20:35:23] [main/ERROR]: Uncaught exception in thread "main"
java.lang.RuntimeException: An exception occurred when launching the server!
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:68) ~[fabric.jar:?]
Caused by: java.lang.reflect.InvocationTargetException
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.jar:?]
Caused by: java.lang.RuntimeException: Error creating Mixin config polymer.mixins.json for mod polymer
at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:90) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric.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.jar:?]
Caused by: org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config polymer.mixins.json
at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:88) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric.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.jar:?]
Caused by: java.lang.IllegalArgumentException: The requested compatibility level JAVA_17 could not be set. Level is not supported by the active JRE or ASM version (Java 17.0, ASM 9.0 (ASM10_EXPERIMENTAL))
at org.spongepowered.asm.mixin.MixinEnvironment.setCompatibilityLevel(MixinEnvironment.java:1570) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinConfig.initCompatibilityLevel(MixinConfig.java:557) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinConfig.postInit(MixinConfig.java:502) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinConfig.onLoad(MixinConfig.java:430) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1293) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100) ~[fabric.jar:?]
at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.FabricMixinBootstrap.init(FabricMixinBootstrap.java:88) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:148) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71) ~[fabric.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) ~[fabric.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.jar:?]
Try reinstalling fabric loader with new installer 0.10.0 or newer! Otherwise it looks like bug in fabric