Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geyser-Fabric and Floodgate-Fabric sharing resource files #7

Closed
Draglis opened this issue Apr 7, 2021 · 12 comments · Fixed by #124
Closed

Geyser-Fabric and Floodgate-Fabric sharing resource files #7

Draglis opened this issue Apr 7, 2021 · 12 comments · Fixed by #124
Labels
bug Something isn't working

Comments

@Draglis
Copy link

Draglis commented Apr 7, 2021

[17:22:57] [main/INFO]: Loading for game Minecraft 1.16.5
[17:22:58] [main/INFO]: [FabricLoader] Loading 64 mods: fabric-renderer-api-v1@0.4.1+ca58154a7d, fabric-keybindings-v0@0.2.1+ca58154a7d, fabricloader@0.11.3, io_leangen_geantyref_geantyref@1.3.11, net_kyori_adventure-text-serializer-gson@4.7.0, fabric-structure-api-v1@1.1.4+ca58154a7d, cloud_commandframework_cloud-core@1.5.0-SNAPSHOT, fabric-containers-v0@0.1.11+9354966b7d, fabric-dimensions-v1@2.0.6+9354966b7d, fabric-object-builder-api-v1@1.9.4+9354966b7d, fabric-permissions-api-v0@0.1-SNAPSHOT, java@8, fabric-game-rule-api-v1@1.0.6+ca58154a7d, fabric-api-base@0.2.1+9354966b7d, fabric-rendering-data-attachment-v1@0.1.5+ca58154a7d, net_kyori_adventure-text-feature-pagination@4.0.0-SNAPSHOT, fabric-textures-v0@1.0.6+ca58154a7d, adventure-platform-fabric@4.0.0-SNAPSHOT, fabric-rendering-fluids-v1@0.1.13+ca58154a7d, cloud-v1@1.5.0-SNAPSHOT, fabric-blockrenderlayer-v1@1.1.5+ca58154a7d, fabric-lifecycle-events-v1@1.2.1+ca58154a7d, fabric-renderer-registries-v1@2.2.1+ca58154a7d, fabric-loot-tables-v1@1.0.2+ca58154a7d, fabric@0.32.5+1.16, fabric-particles-v1@0.2.4+ca58154a7d, fabric-networking-v0@0.3.2+ca58154a7d, net_kyori_adventure-api@4.7.0, net_kyori_examination-api@1.1.0, fabric-api-lookup-api-v1@1.0.0+dc716ea17d, fabric-networking-blockentity-v0@0.2.8+ca58154a7d, minecraft@1.16.5, fabric-screen-handler-api-v1@1.1.5+9354966b7d, fabric-command-api-v1@1.1.1+351679a77d, net_kyori_adventure-platform-api@4.0.0-SNAPSHOT, net_kyori_adventure-text-serializer-plain@4.7.0, fabric-screen-api-v1@1.0.0+c045166c7d, fabric-tool-attribute-api-v1@1.2.6+ca58154a7d, fabric-renderer-indigo@0.4.4+ca58154a7d, fabric-crash-report-info-v1@0.1.3+ca58154a7d, fabric-events-interaction-v0@0.4.2+ca58154a7d, fabric-item-api-v1@1.2.1+ca58154a7d, net_kyori_examination-string@1.1.0, fabric-entity-events-v1@1.0.3+ca58154a7d, fabric-rendering-v0@1.1.2+ca58154a7d, fabric-key-binding-api-v1@1.0.4+9354966b7d, fabric-rendering-v1@1.5.1+ca58154a7d, fabric-resource-loader-v0@0.4.2+ca58154a7d, cloud_commandframework_cloud-services@1.5.0-SNAPSHOT, fabric-content-registries-v0@0.2.1+ca58154a7d, fabric-tag-extensions-v0@1.1.1+ca58154a7d, fabric-biome-api-v1@3.1.1+ca58154a7d, fabric-commands-v0@0.2.2+ca58154a7d, fabric-registry-sync-v0@0.7.4+ca58154a7d, fabric-mining-levels-v0@0.1.3+ca58154a7d, net_kyori_adventure-key@4.7.0, fabric-networking-api-v1@1.0.1+ca58154a7d, fabric-events-lifecycle-v0@0.2.1+ca58154a7d, fabric-item-groups-v0@0.2.5+351679a77d, fabric-models-v0@0.2.1+ca58154a7d, geyser-fabric@1.3.0-SNAPSHOT, fabric-object-builders-v0@0.7.2+ca58154a7d, cloud_commandframework_cloud-brigadier@1.5.0-SNAPSHOT, floodgate@2.0-SNAPSHOT
[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
@Evigami
Copy link

Evigami commented Apr 9, 2021

I keep getting that error too.

@Camotoy
Copy link
Member

Camotoy commented Apr 9, 2021

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 Camotoy changed the title I get a floodgate error Geyser-Fabric and Floodgate-Fabric sharing resource files Apr 27, 2021
@DUDEbehindDUDE
Copy link

DUDEbehindDUDE commented Apr 28, 2021

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

@Camotoy
Copy link
Member

Camotoy commented Dec 3, 2021

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

@Camotoy Camotoy reopened this Dec 3, 2021
@redbostan567
Copy link

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

@Peoppon
Copy link

Peoppon commented Jun 12, 2022

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
Copy link

Peoppon commented Jun 12, 2022

latest.log

Thats my log file if that helps

@Shepard
Copy link

Shepard commented Jun 12, 2022

latest.log

Thats my log file if that helps

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

@ZephemusX
Copy link

Nope, this doesn't work for quilt

@sdcolson1
Copy link

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

@onebeastchris
Copy link
Member

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 #69

@MeguMario
Copy link

MeguMario commented Feb 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.