-
-
Notifications
You must be signed in to change notification settings - Fork 867
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
mcMMO disabled - Recipe must have non-AIR result #5060
Comments
I am having the same issue with the same error. I will add, that my issue appears to have started when I upgraded EconomyShopGUI to the premium version, which required a server restart to happen. |
Unable to reproduce on latest Spigot or Paper |
Reopening to allow more info |
[15:25:47] [Server thread/INFO]: [mcMMO] Enabling mcMMO v2.2.018 WorldGuard version 7.0.10 |
I am on the latest version of Spigot, 1.21. Prior to submitting the issue here I tried deleting all of my config files, reinstalled the mcMMO .jar I was on, updated to the most recent mcMMO, reverted to a backup of mcMMO during a working state and none of them worked. It started working again on its own 2 days ago without further intervention. |
Converting from spigot to the latest version of paper fixed the issue |
Unable to reproduce, if anyone encounters this issue try the latest Paper/Spigot |
As of yesterday I receive the attached error when starting my server.
mcMMO_error.txt
"[18:45:42] [Server thread/ERROR]: [mcMMO] There was an error while enabling mcMMO!
[18:45:42] [Server thread/WARN]: java.lang.IllegalArgumentException: Recipe must have non-AIR result."
I have gone through the salvage and repair YAML files and have not found any missing recipe results or other recipes missing fields.
This error is causing the plugin to automatically disable on startup.
Error log contents also pasted below.
[18:45:42] [Server thread/ERROR]: [mcMMO] There was an error while enabling mcMMO! [18:45:42] [Server thread/WARN]: java.lang.IllegalArgumentException: Recipe must have non-AIR result. [18:45:42] [Server thread/WARN]: at com.google.common.base.Preconditions.checkArgument(Preconditions.java:143) [18:45:42] [Server thread/WARN]: at org.bukkit.inventory.CraftingRecipe.<init>(CraftingRecipe.java:21) [18:45:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.inventory.CraftComplexRecipe.<init>(CraftComplexRecipe.java:17) [18:45:42] [Server thread/WARN]: at net.minecraft.world.item.crafting.IRecipeComplex.toBukkitRecipe(IRecipeComplex.java:43) [18:45:42] [Server thread/WARN]: at net.minecraft.world.item.crafting.RecipeHolder.toBukkitRecipe(RecipeHolder.java:16) [18:45:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.inventory.RecipeIterator.next(RecipeIterator.java:24) [18:45:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.inventory.RecipeIterator.next(RecipeIterator.java:10) [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.util.skills.SkillUtils.getRepairAndSalvageQuantities(SkillUtils.java:315) [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.config.skills.salvage.SalvageConfig.loadKeys(SalvageConfig.java:146) [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.config.skills.salvage.SalvageConfig.<init>(SalvageConfig.java:28) [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.config.skills.salvage.SalvageConfigManager.<init>(SalvageConfigManager.java:20) [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.mcMMO.loadConfigFiles(mcMMO.java:605) [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.mcMMO.onEnable(mcMMO.java:200) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:492) [18:45:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.CraftServer.enablePlugin(CraftServer.java:575) [18:45:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.CraftServer.enablePlugins(CraftServer.java:489) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:641) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:426) [18:45:42] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:269) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1017) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) [18:45:42] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583) [18:45:42] [Server thread/INFO]: [mcMMO] Disabling mcMMO v2.2.018 [18:45:42] [Server thread/INFO]: [mcMMO] Server shutdown has been executed, saving and cleaning up data... [18:45:42] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "com.gmail.nossr50.party.PartyManager.saveParties()" because the return value of "com.gmail.nossr50.mcMMO.getPartyManager()" is null [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.mcMMO.onDisable(mcMMO.java:372) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:269) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:367) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:513) [18:45:42] [Server thread/WARN]: at com.gmail.nossr50.mcMMO.onEnable(mcMMO.java:299) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) [18:45:42] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:492) [18:45:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.CraftServer.enablePlugin(CraftServer.java:575) [18:45:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_21_R1.CraftServer.enablePlugins(CraftServer.java:489) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:641) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:426) [18:45:42] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:269) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1017) [18:45:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) [18:45:42] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:1583) [18:45:42] [Server thread/ERROR]: Error occurred while disabling mcMMO v2.2.018 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "com.gmail.nossr50.database.DatabaseManager.onDisable()" because "com.gmail.nossr50.mcMMO.databaseManager" is null at com.gmail.nossr50.mcMMO.onDisable(mcMMO.java:402) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:269) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:367) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:513) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?] at com.gmail.nossr50.mcMMO.onEnable(mcMMO.java:299) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:267) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:492) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_21_R1.CraftServer.enablePlugin(CraftServer.java:575) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4285-Spigot-fb8fb72-00fc9fb] at org.bukkit.craftbukkit.v1_21_R1.CraftServer.enablePlugins(CraftServer.java:489) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4285-Spigot-fb8fb72-00fc9fb] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:641) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4285-Spigot-fb8fb72-00fc9fb] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:426) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4285-Spigot-fb8fb72-00fc9fb] at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:269) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4285-Spigot-fb8fb72-00fc9fb] at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1017) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4285-Spigot-fb8fb72-00fc9fb] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4285-Spigot-fb8fb72-00fc9fb] at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
The text was updated successfully, but these errors were encountered: