Floodgate-Fabric icon indicating copy to clipboard operation
Floodgate-Fabric copied to clipboard

Geyser-Fabric and Floodgate-Fabric sharing resource files

Open Draglis opened this issue 4 years ago • 12 comments

[17:22:57] [main/INFO]: Loading for game Minecraft 1.16.5
[17:22:58] [main/INFO]: [FabricLoader] Loading 64 mods: [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected], [email protected], [email protected], [email protected]+ca58154a7d, [email protected], [email protected]+9354966b7d, [email protected]+9354966b7d, [email protected]+9354966b7d, [email protected], java@8, [email protected]+ca58154a7d, [email protected]+9354966b7d, [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+1.16, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected], [email protected], [email protected]+dc716ea17d, [email protected]+ca58154a7d, [email protected], [email protected]+9354966b7d, [email protected]+351679a77d, [email protected], [email protected], [email protected]+c045166c7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [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]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected]+ca58154a7d, [email protected]+351679a77d, [email protected]+ca58154a7d, [email protected], [email protected]+ca58154a7d, [email protected], [email protected]
[17:22:58] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Serveur%20Sergium/Sergium%20PVP-Faction/fabric-server-launch.jar Service=Knot/Fabric Env=SERVER
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[17:23:08] [main/FATAL]: Failed to start the minecraft server
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'floodgate'!
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_281]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
        at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146) [fabric-server-launch.jar:?]
        at net.fabricmc.loader.launch.knot.KnotServer.main(KnotServer.java:28) [fabric-server-launch.jar:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_281]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
        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: com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) [Guice/ErrorInjectingMethod]: NullPointerException
  at FloodgatePlatform.init(FloodgatePlatform.java:80)
  while locating FabricPlatform

Learn more:
  https://github.com/google/guice/wiki/ERROR_INJECTING_METHOD

1 error

======================
Full classname legend:
======================
FabricPlatform:       "org.geysermc.floodgate.FabricPlatform"
FloodgatePlatform:    "org.geysermc.floodgate.FloodgatePlatform"
========================
End of classname legend:
========================

        at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[floodgate-fabric%20(1).jar:?]
        at org.geysermc.floodgate.FabricMod.onInitialize(FabricMod.java:25) ~[floodgate-fabric%20(1).jar:?]
        at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
        ... 17 more
Caused by: java.lang.NullPointerException
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source) ~[?:1.8.0_281]
        at sun.nio.fs.WindowsPathParser.parse(Unknown Source) ~[?:1.8.0_281]
        at sun.nio.fs.WindowsPath.parse(Unknown Source) ~[?:1.8.0_281]
        at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source) ~[?:1.8.0_281]
        at sun.nio.fs.AbstractPath.resolve(Unknown Source) ~[?:1.8.0_281]
        at org.geysermc.floodgate.config.loader.ConfigLoader.load(ConfigLoader.java:93) ~[floodgate-fabric%20(1).jar:?]
        at org.geysermc.floodgate.FloodgatePlatform.init(FloodgatePlatform.java:89) ~[floodgate-fabric%20(1).jar:?]
        at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$4298919.GUICE$TRAMPOLINE(<generated>) ~[?:?]
        at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$4298919.apply(<generated>) ~[?:?]
        at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:50) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:87) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:146) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:124) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[floodgate-fabric%20(1).jar:?]
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[floodgate-fabric%20(1).jar:?]
        at org.geysermc.floodgate.FabricMod.onInitialize(FabricMod.java:25) ~[floodgate-fabric%20(1).jar:?]
        at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ~[fabric-server-launch.jar:?]
        ... 17 more

Draglis avatar Apr 07 '21 21:04 Draglis

I keep getting that error too.

Evigami avatar Apr 09 '21 23:04 Evigami

This is a bug when Geyser-Fabric and Floodgate-Fabric are both installed. As a temporary workaround:

  • Remove the Geyser-Fabric mod
  • Remove the config/floodgate folder
  • Start up the Fabric server and let Floodgate generate
  • Stop the server
  • Reinstall Geyser-Fabric
  • You're good to go

Camotoy avatar Apr 09 '21 23:04 Camotoy

I've actually noticed that this same issue happens with terra, leading me to believe any mod generating a config file in a folder? can override floodgate's config generation

dudebehinddude avatar Apr 28 '21 13:04 dudebehinddude

Oops, not yet! Geyser-Fabric is fixed but Floodgate-Fabric is not.

Camotoy avatar Dec 03 '21 16:12 Camotoy

Similar to previous temp fix. Remove all other mods except Fabric API, then load. Then add everything back.

redbostan567 avatar Feb 25 '22 18:02 redbostan567

floodgate-fabric still does this breaking the server thing in 1.19, at least in my situation, which seems to be the same as the one above cos i get the same errors, but the fixes dont work for some reason

Peoppon avatar Jun 12 '22 10:06 Peoppon

latest.log

Thats my log file if that helps

Peoppon avatar Jun 12 '22 10:06 Peoppon

latest.log

Thats my log file if that helps

What you're experiencing is a different error, namely #52.

Shepard avatar Jun 12 '22 11:06 Shepard

Nope, this doesn't work for quilt

ZephemusX avatar Oct 11 '22 21:10 ZephemusX

Same issue, but specifically doesn't work with quilt. Tried all the fixes and none of them worked. Issue #73 describes this issue but doesn't give a fix, just giving a link to this issue which either 1) isn't fully fixed or 2) isn't actually the same issue since it just seems incompatible with Quilt, which I imagine will become more of a problem as more users are switching to Quilt. latest.log

brights0ng avatar Nov 15 '22 22:11 brights0ng

quick question, did you download geyser-fabric from the old, seperate ci or the new one? I've seen cases where the bug didn't appear with the new ci.

Also, maybe also worth a try - the experimental floodgate-fabric build on the PR I've linked here https://github.com/GeyserMC/Floodgate-Fabric/pull/69

onebeastchris avatar Nov 15 '22 22:11 onebeastchris

I found the easiest way to work around this bug is to append the content of floodgate config (need a copy of floodgate config before being overwritten) after Geyser overwrite the config file. Works for me on the latest version of Geyser-Fabric and floodgate-fabric. As long as the content of floodgate config exist in the config file, the server will boot.

MeguMario avatar Feb 08 '23 07:02 MeguMario