Closed fpinkela closed 1 year ago
I know this kind of bug, you probably updated the plugin but the language files weren't updated with it.
You didn't do anything wrong, the plugin just messed up when updating.
Try to delete the en.yml file in the serverfiles/plugins/Networks/lang
I am going to look closer into that later and implement a feature to update language files too.
Describe the bug On start of server disables plugin
Screenshots [17:40:41] [Server thread/INFO]: [Networks] Enabling Networks v1.1.3 [17:40:41] [Server thread/INFO]: [Networks] Launched plugin using CRAFT mode [17:40:41] [Server thread/INFO]: [Networks] Checking for updates... [17:40:41] [Server thread/INFO]: [Networks] No update found. [17:40:41] [Server thread/INFO]: [Networks] Launched using language module en [17:40:41] [Server thread/ERROR]: Error occurred while enabling Networks v1.1.3 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "String.replace(java.lang.CharSequence, java.lang.CharSequence)" because the return value of "com.quantum625.networks.data.Language.getText(String)" is null at com.quantum625.networks.commands.LanguageModule.getItemLore(LanguageModule.java:31) ~[networks-1.1.0.jar:?] at com.quantum625.networks.data.CraftingManager.(CraftingManager.java:72) ~[networks-1.1.0.jar:?]
at com.quantum625.networks.Main.onEnable(Main.java:80) ~[networks-1.1.0.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:542) ~[paper-api-1.19.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugin(CraftServer.java:565) ~[paper-1.19.2.jar:git-Paper-304]
at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugins(CraftServer.java:479) ~[paper-1.19.2.jar:git-Paper-304]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:636) ~[paper-1.19.2.jar:git-Paper-304]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:422) ~[paper-1.19.2.jar:git-Paper-304]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:306) ~[paper-1.19.2.jar:git-Paper-304]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1100) ~[paper-1.19.2.jar:git-Paper-304]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:305) ~[paper-1.19.2.jar:git-Paper-304]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[17:40:41] [Server thread/INFO]: [Networks] Disabling Networks v1.1.3
Your report should contain the following:
Thanks for looking into.