GeyserMC / Floodgate-Modded

Port of the hybrid mode plugin called Floodgate for Fabric and NeoForge to allow for connections from Geyser to join online mode servers.
MIT License
52 stars 18 forks source link

java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'floodgate'! #102

Closed lonelysam3 closed 1 year ago

lonelysam3 commented 1 year ago

Logs: [20:40:11] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.14.21 [20:40:11] [ForkJoinPool-1-worker-4/WARN]: Mod curvebuildingcurvebuilding-core uses the version unspecified which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'unspecified'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [20:40:11] [main/INFO]: Loading 112 mods:

1) [Guice/ErrorInjectingMethod]: RuntimeException: Failed to load the config! Try to delete the config file if this error persists at FloodgatePlatform.init(FloodgatePlatform.java:84) 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 org.geysermc.floodgate.shadow.guice.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[floodgate-fabric%20(4).jar:?]
at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[floodgate-fabric%20(4).jar:?]
at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[floodgate-fabric%20(4).jar:?]
at org.geysermc.floodgate.FabricMod.onInitialize(FabricMod.java:22) ~[floodgate-fabric%20(4).jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?]
... 7 more

Caused by: java.lang.RuntimeException: Failed to load the config! Try to delete the config file if this error persists at org.geysermc.floodgate.config.ConfigLoader.load(ConfigLoader.java:86) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FloodgatePlatform.init(FloodgatePlatform.java:93) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$5465137.GUICE$TRAMPOLINE() ~[?:?] at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$5465137.apply() ~[?:?] at org.geysermc.floodgate.shadow.guice.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:50) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.SingleMethodInjector.inject(SingleMethodInjector.java:87) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:146) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorInjector.provision(ConstructorInjector.java:124) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FabricMod.onInitialize(FabricMod.java:22) ~[floodgate-fabric%20(4).jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?] ... 7 more Caused by: java.lang.IllegalStateException: An unknown error happened while executing a post-initialize callback at org.geysermc.configutils.loader.ConfigLoader.load(ConfigLoader.java:141) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.configutils.loader.ConfigLoader.load(ConfigLoader.java:26) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.configutils.ConfigUtilities.createAndMapOrUpdateAndMap(ConfigUtilities.java:107) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.configutils.ConfigUtilities.executeOn(ConfigUtilities.java:81) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.config.ConfigLoader.load(ConfigLoader.java:84) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FloodgatePlatform.init(FloodgatePlatform.java:93) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$5465137.GUICE$TRAMPOLINE() ~[?:?] at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$5465137.apply() ~[?:?] at org.geysermc.floodgate.shadow.guice.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:50) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.SingleMethodInjector.inject(SingleMethodInjector.java:87) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:146) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorInjector.provision(ConstructorInjector.java:124) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FabricMod.onInitialize(FabricMod.java:22) ~[floodgate-fabric%20(4).jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?] ... 7 more Caused by: java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:233) ~[?:?] at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:216) ~[?:?] at java.nio.file.Path.resolve(Path.java:516) ~[?:?] at org.geysermc.floodgate.config.FloodgateConfig.postInitialize(FloodgateConfig.java:63) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.config.FloodgateConfig.postInitialize(FloodgateConfig.java:40) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.configutils.loader.ConfigLoader.load(ConfigLoader.java:130) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.configutils.loader.ConfigLoader.load(ConfigLoader.java:26) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.configutils.ConfigUtilities.createAndMapOrUpdateAndMap(ConfigUtilities.java:107) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.configutils.ConfigUtilities.executeOn(ConfigUtilities.java:81) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.config.ConfigLoader.load(ConfigLoader.java:84) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FloodgatePlatform.init(FloodgatePlatform.java:93) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$5465137.GUICE$TRAMPOLINE() ~[?:?] at org.geysermc.floodgate.FloodgatePlatform$$FastClassByGuice$$5465137.apply() ~[?:?] at org.geysermc.floodgate.shadow.guice.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:50) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.SingleMethodInjector.inject(SingleMethodInjector.java:87) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:146) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorInjector.provision(ConstructorInjector.java:124) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.shadow.guice.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[floodgate-fabric%20(4).jar:?] at org.geysermc.floodgate.FabricMod.onInitialize(FabricMod.java:22) ~[floodgate-fabric%20(4).jar:?] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.21.jar:?] ... 7 more [20:40:40] [ViaFabric-0/WARN]: You are running a development version of the plugin, please report any bugs to GitHub.

I had deleted the config,but it doesn't work. There is a possiblility that the worldeditCUI caused this issue. Because this issue happened since I added the worldeditCUI mod. Link: https://github.com/EngineHub/WorldEditCUI