org.bukkit.command.CommandException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • org.bukkit.command.CommandException: Unhandled exception executing command 'advert' in plugin WesAdvert v1.03 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.IllegalArgumentException: File cannot be null at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:171) at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117) at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111) at me.wesleydeman.wesadvert.Functions.Advert(Functions.java:31) at me.wesleydeman.wesadvert.WesAdvert.onCommand(WesAdvert.java:64) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 7 more
    No Bugmate found.