org.bukkit.command.CommandException: Unhandled exception executing command 'advert' in plugin WesAdvert v1.03

bukkit.org | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.IllegalArgumentException: File cannot be null??? | Bukkit Forums

    bukkit.org | 3 months ago
    org.bukkit.command.CommandException: Unhandled exception executing command 'advert' in plugin WesAdvert v1.03

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      File cannot be null

      at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration()
    2. Bukkit
      JavaPlugin.getConfig
      1. org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:171)
      2. org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
      3. org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
      3 frames
    3. me.wesleydeman.wesadvert
      WesAdvert.onCommand
      1. me.wesleydeman.wesadvert.Functions.Advert(Functions.java:19)
      2. me.wesleydeman.wesadvert.WesAdvert.onCommand(WesAdvert.java:66)
      2 frames
    4. Bukkit
      SimpleCommandMap.dispatch
      1. org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
      2. org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
      2 frames
    5. MC CraftBukkit
      CraftServer.dispatchServerCommand
      1. org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
      2. org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:469)
      2 frames
    6. MC Server
      ThreadServerApplication.run
      1. net.minecraft.server.MinecraftServer.b(MinecraftServer.java:596)
      2. net.minecraft.server.MinecraftServer.w(MinecraftServer.java:565)
      3. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
      4. net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
      4 frames