Closed Chaostarts closed 4 months ago
上面应该还有日志
[11:43:14] [Server thread/INFO]: [com.google.inject.Guice] An exception was caught and reported. Message: java.sql.SQLException: path to 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer\data.db': 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer' does not exist
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: path to 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer\data.db': 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer' does not exist
at fakeplayer-0.3.6.jar/com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.zaxxer.hikari.pool.HikariPool.
1) An exception was caught and reported. Message: Failed to initialize pool: path to 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer\data.db': 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer' does not exist at [unknown source]
1 error
at fakeplayer-0.3.6.jar/com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:589) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:163) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.google.inject.Guice.createInjector(Guice.java:87) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.google.inject.Guice.createInjector(Guice.java:69) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.google.inject.Guice.createInjector(Guice.java:59) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/io.github.hello09x.fakeplayer.core.Main.onLoad(Main.java:43) ~[fakeplayer-0.3.6.jar:?]
at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:59) ~[leaves-1.21.jar:1.21-37-ec274f5]
at io.papermc.paper.plugin.storage.ServerPluginProviderStorage.processProvided(ServerPluginProviderStorage.java:18) ~[leaves-1.21.jar:1.21-37-ec274f5]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[leaves-1.21.jar:1.21-37-ec274f5]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[leaves-1.21.jar:1.21-37-ec274f5]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:550) ~[leaves-1.21.jar:1.21-37-ec274f5]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:296) ~[leaves-1.21.jar:1.21-37-ec274f5]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1213) ~[leaves-1.21.jar:1.21-37-ec274f5]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[leaves-1.21.jar:1.21-37-ec274f5]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: path to 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer\data.db': 'E:\ServerCore[5]生存游戏-1.21生存服\plugins\fakeplayer' does not exist
at fakeplayer-0.3.6.jar/com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:584) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:571) ~[fakeplayer-0.3.6.jar:?]
at fakeplayer-0.3.6.jar/com.zaxxer.hikari.pool.HikariPool.
手动在 plugins 目录下创建一个 fakeplayer 文件夹
Describe the bug / 描述你的 bug 情况 [11:43:27 INFO]: [fakeplayer] Enabling fakeplayer v0.3.6 [11:43:27 ERROR]: Error occurred while enabling fakeplayer v0.3.6 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "com.google.inject.Injector.injectMembers(Object)" because "this.injector" is null at fakeplayer-0.3.6.jar/io.github.hello09x.fakeplayer.core.Main.onEnable(Main.java:60) ~[fakeplayer-0.3.6.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[leaves-1.21.jar:1.21-37-ec274f5] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[leaves-1.21.jar:1.21-37-ec274f5] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:644) ~[leaves-1.21.jar:1.21-37-ec274f5] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:593) ~[leaves-1.21.jar:1.21-37-ec274f5] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:751) ~[leaves-1.21.jar:1.21-37-ec274f5] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:510) ~[leaves-1.21.jar:1.21-37-ec274f5] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:333) ~[leaves-1.21.jar:1.21-37-ec274f5] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1213) ~[leaves-1.21.jar:1.21-37-ec274f5] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) ~[leaves-1.21.jar:1.21-37-ec274f5] at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] [11:43:27 INFO]: [fakeplayer] Disabling fakeplayer v0.3.6 [11:43:27 WARN]: [fakeplayer] java.lang.NullPointerException: Cannot invoke "com.google.inject.Injector.getInstance(java.lang.Class)" because "this.injector" is nul l at fakeplayer-0.3.6.jar//io.github.hello09x.fakeplayer.core.Main.lambda$onDisable$2(Main.java:114) at fakeplayer-0.3.6.jar//io.github.hello09x.devtools.core.utils.Exceptions.suppress(Exceptions.java:15) at fakeplayer-0.3.6.jar//io.github.hello09x.fakeplayer.core.Main.onDisable(Main.java:114) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:114) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:550) at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:206) at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:644) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:593) at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:751) at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:510) at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:333) at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1213) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) at java.base/java.lang.Thread.run(Thread.java:1583)
[11:43:27 WARN]: [fakeplayer] java.lang.NullPointerException: Cannot invoke "com.google.inject.Injector.getInstance(java.lang.Class)" because "this.injector" is nul l at fakeplayer-0.3.6.jar//io.github.hello09x.fakeplayer.core.Main.lambda$onDisable$3(Main.java:115) at fakeplayer-0.3.6.jar//io.github.hello09x.devtools.core.utils.Exceptions.suppress(Exceptions.java:15) at fakeplayer-0.3.6.jar//io.github.hello09x.fakeplayer.core.Main.onDisable(Main.java:115) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:114) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:550) at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:206) at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:644) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:593) at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:751) at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:510) at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:333) at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1213) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325) at java.base/java.lang.Thread.run(Thread.java:1583)
Server information / 服务器信息