Having an issue with adding a GUI.

Discussion in 'Spigot Plugin Development' started by pondamo, Jul 10, 2015.

  1. Basically im creating a little listener plugin for votifier that I plan on using on my server. The plugin wont be release to the public as its just there to fit my needs. Anyways the plugin has two options in the config, GUI mode or Chat mode. Depending on the option will change the outcome of what happens when someone does /vote. Before I added the GUI class/feature the plugin worked perfectly with no errors at all. Once I added the GUI class my config.yml no longer loads and this is the stack trace I get in console: http://gyazo.com/9be77f43cac605384dd875ae7d892b98

    Here is line 16 of my Main class:
    Code (Text):
    public class Main extends JavaPlugin implements Listener {
    Here is line 22 of my GUI class:
    Code (Text):
        public GUI(Plugin p) {
    And heres line 22 of my Main class:
    Code (Text):
    gui = new GUI(this);
    (This is inside the onEnable)

    Those are the lines where the stack trace is pointing to. If any other code is needed just let me know. Since this is just a plugin for my server I have no issue of sharing the code :)

    Thank you for your help!
     
  2. Are you a newbie?
     
  3. No xD
     
  4. Share your code.
     
    • Agree Agree x 1
  5. Are you registering the events?
     
  6. sothatsit

    Patron

    You are doing "new Main()" in the constructor of your Gui class, you can't do that. You need to pass around an instance of your main class or make a static instance of it.
     
    • Like Like x 1
  7. Code (Text):
    package me.pondamo.retrolistener;

    import java.util.ArrayList;

    import org.bukkit.Bukkit;
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;
    import org.bukkit.event.EventHandler;
    import org.bukkit.event.Listener;
    import org.bukkit.plugin.java.JavaPlugin;

    import com.vexsoftware.votifier.model.Vote;
    import com.vexsoftware.votifier.model.VotifierEvent;

    public class Main extends JavaPlugin implements Listener {

        private GUI gui;
        ArrayList<String> offline = new ArrayList<String>();
       
        public void onEnable() {
            gui = new GUI(this);
            this.getConfig().options().copyDefaults(true);
            saveDefaultConfig();
            Bukkit.getServer().getPluginManager().registerEvents(this, this);
            Bukkit.getServer().getLogger().info("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
            Bukkit.getServer().getLogger().info("RetroListener for votifier has been enabled!");
            Bukkit.getServer().getLogger().info("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
        }
       
        @EventHandler
        public void onPlayerVote(VotifierEvent e) {
            Vote v = e.getVote();
            String service = v.getServiceName();
            String player = v.getUsername();
            String cmd = getConfig().getString("Reward").replaceAll("%player%", player);
            String str1 = getConfig().getString("BroadcastMessage")
                    .replaceAll("%service%", service)
                    .replaceAll("%player%", player)
                    .replaceAll("&", "§");
           
            Bukkit.getServer().broadcastMessage(str1);
           
            Player p = Bukkit.getServer().getPlayer(v.getUsername());
           
            if (p == null) {
                offline.add(player);
                return;
            }
            if (p != null) {
                Bukkit.getServer().dispatchCommand(Bukkit.getServer().getConsoleSender(), cmd);
            }
           
            if (offline.contains(player)) {
                Bukkit.getServer().dispatchCommand(Bukkit.getServer().getConsoleSender(), cmd);
                offline.remove(player);
                return;
            }
        }
        public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
           
            if (cmd.getName().equalsIgnoreCase("vote")) {
                Player p = (Player) sender;
                if (getConfig().getString("Mode").equalsIgnoreCase("Chat")) {
                String link1 = getConfig().getString("link1").replaceAll("&", "§");
                String link2 = getConfig().getString("link2").replaceAll("&", "§");
                String head = getConfig().getString("header").replaceAll("&", "§");
                String foot = getConfig().getString("footer").replaceAll("&", "§");
                p.sendMessage(head);
                p.sendMessage(link1);
                p.sendMessage(" ");
                p.sendMessage(link2);
                p.sendMessage(foot);
                }
                if (getConfig().getString("Mode").equalsIgnoreCase("GUI")) {
                    gui.show(p);
                }
            }
           
            return true;
        }

    }
     

    Code (Text):
    package me.pondamo.retrolistener;

    import java.util.Arrays;

    import net.md_5.bungee.api.ChatColor;

    import org.bukkit.Bukkit;
    import org.bukkit.Material;
    import org.bukkit.entity.Player;
    import org.bukkit.event.EventHandler;
    import org.bukkit.event.inventory.InventoryClickEvent;
    import org.bukkit.inventory.Inventory;
    import org.bukkit.inventory.ItemStack;
    import org.bukkit.inventory.meta.ItemMeta;
    import org.bukkit.plugin.Plugin;

    public class GUI extends Main {

        private Inventory inv;
        private ItemStack a, b, c;
       
        public GUI(Plugin p) {
            String title = getConfig().getString("Title").replaceAll("&", "§");
            inv = Bukkit.getServer().createInventory(null, 9, title);
           
            a = closed(ChatColor.GREEN + "Link 1");
            b = closed(ChatColor.GREEN + "Link 2");
            c = open();
           
            inv.setItem(1, c);
            inv.setItem(2, c);
            inv.setItem(3, c);
            inv.setItem(4, a);
            inv.setItem(5, c);
            inv.setItem(6, b);
            inv.setItem(7, c);
            inv.setItem(8, c);
            inv.setItem(9, c);
           
            Bukkit.getServer().getPluginManager().registerEvents(this, p);
           
        }
       
        private ItemStack closed(String name) {
            ItemStack i = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short) 5);
            ItemMeta im = i.getItemMeta();
            im.setDisplayName(ChatColor.GREEN + "Voting" + name);
            im.setLore(Arrays.asList(ChatColor.GRAY + "Click Here For", ChatColor.GRAY + "Voting" + name));
            i.setItemMeta(im);
            return i;
        }
        private ItemStack open() {
            ItemStack i = new ItemStack(Material.STAINED_GLASS_PANE, 1, (short) 15);
            ItemMeta im = i.getItemMeta();
            im.setDisplayName(ChatColor.DARK_GRAY + "Click The Green Panels!");
            i.setItemMeta(im);
            return i;
        }
       
        public void show(Player p) {
            p.openInventory(inv);
        }
       
        @EventHandler
        public void onInventoryClick(InventoryClickEvent e) {
            String link1 = getConfig().getString("link1").replaceAll("&", "§");
            String link2 = getConfig().getString("link2").replaceAll("&", "§");
            String head = getConfig().getString("header").replaceAll("&", "§");
            String foot = getConfig().getString("footer").replaceAll("&", "§");
            Player p = (Player) e.getWhoClicked();
            if (!e.getInventory().equals(inv)) return;
            if (e.getCurrentItem().getItemMeta().getDisplayName().contains("1")) {
                e.setCancelled(true);
                p.sendMessage(head);
                p.sendMessage(" ");
                p.sendMessage(link1);
                p.sendMessage(" ");
                p.sendMessage(foot);
                e.getWhoClicked().closeInventory();
            }
            if (e.getCurrentItem().getItemMeta().getDisplayName().contains("2")) {
                e.setCancelled(true);
                p.sendMessage(head);
                p.sendMessage(" ");
                p.sendMessage(link2);
                p.sendMessage(" ");
                p.sendMessage(foot);
                e.getWhoClicked().closeInventory();
            }
            if (e.getCurrentItem().getItemMeta().getDisplayName().contains("Click The Green Panels!")) {
                e.setCancelled(true);
                e.getWhoClicked().closeInventory();
            }
           
        }
           

    }
     
     
  8. sothatsit

    Patron

    You must have been running an old version, this code will never throw that stack trace. Try re-compile. Also check if there are multiple jars of your plugin, this can cause old versions to load and not allow the new jar to load.
     
  9. Still getting the stack trace. The error has to be something to do with the GUI because earlier I removed everything to do with the GUI and the plugin worked perfectly (Just without the GUI feature) and then once I add the GUI back I just get that stack trace and my config.yml doesnt load.
     
  10. sothatsit

    Patron

    It cannot be, the stack trace cannot refer to lines which are not the. body of methods or field initializers. It is impossible that it referenced the class line "public class Main ...".

    Are you sure the error is the same? if they are completely the same, like numbers and all, then it is a compile or loading issue. Check for any ambiguous plugin name warnings when the plugin is loaded.
     
  11. This is the stack trace: http://gyazo.com/015adbbc4127f2b1d96628480a97e6e9
    Earlier i was getting the ambiguous plugin name warning but its not there anymore.
     
  12. sothatsit

    Patron

    Could you post the server log when you start the server up? Preferably in a pastebin and not a screenshot?
     
  13. Sure thing
     
  14. sothatsit

    Patron

    Code (Text):
    [16:37:34] [Server thread/ERROR]: Ambiguous plugin name `RetroListener' for files `plugins\RetroListener.jar' and `plugins\FlyingPick.jar' in `plugins'
    You are exporting your plugin with the name FlyingPick.jar, delete it and compile as RetroListener.
     
  15. No change, same thing :/
    Code (Text):
    [17:10:10] [Server thread/INFO]: Starting minecraft server version 1.8.7
    [17:10:10] [Server thread/INFO]: Loading properties
    [17:10:10] [Server thread/INFO]: Default game type: CREATIVE
    [17:10:10] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-3ccbe77-a6a57a9 (MC: 1.8.7) (Implementing API version 1.8.7-R0.1-SNAPSHOT)
    [17:10:10] [Server thread/INFO]: Debug logging is disabled
    [17:10:10] [Server thread/INFO]: Server Ping Player Sample Count: 12
    [17:10:10] [Server thread/INFO]: Using 4 threads for Netty based IO
    [17:10:10] [Server thread/INFO]: Generating keypair
    [17:10:10] [Server thread/INFO]: Starting Minecraft server on *:25565
    [17:10:10] [Server thread/INFO]: Using default channel type
    [17:10:11] [Server thread/INFO]: Set PluginClassLoader as parallel capable
    [17:10:11] [Server thread/INFO]: [RetroListener] Loading RetroListener v1.3
    [17:10:11] [Server thread/INFO]: [OrganizedWarps] Loading OrganizedWarps v2.0
    [17:10:11] [Server thread/INFO]: [Votifier] Loading Votifier v1.9
    [17:10:11] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    [17:10:11] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
    [17:10:11] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    [17:10:11] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
    [17:10:11] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
    [17:10:11] [Server thread/INFO]: Preparing level "world"
    [17:10:11] [Server thread/INFO]: -------- World Settings For [world] --------
    [17:10:11] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [17:10:11] [Server thread/INFO]: Item Merge Radius: 2.5
    [17:10:11] [Server thread/INFO]: Item Despawn Rate: 6000
    [17:10:11] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [17:10:11] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [17:10:11] [Server thread/INFO]: Clear tick list: false
    [17:10:11] [Server thread/INFO]: Experience Merge Radius: 3.0
    [17:10:11] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [17:10:11] [Server thread/INFO]: Max Entity Collisions: 8
    [17:10:11] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [17:10:11] [Server thread/INFO]: View Distance: 10
    [17:10:11] [Server thread/INFO]: Mob Spawn Range: 4
    [17:10:11] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [17:10:11] [Server thread/INFO]: Anti X-Ray: true
    [17:10:11] [Server thread/INFO]:     Engine Mode: 1
    [17:10:11] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [17:10:11] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [17:10:11] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: Cane Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: Melon Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: NetherWart Growth Modifier: 100%
    [17:10:11] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [17:10:11] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [17:10:11] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [17:10:11] [Server thread/INFO]: Random Lighting Updates: false
    [17:10:11] [Server thread/INFO]: Structure Info Saving: true
    [17:10:11] [Server thread/INFO]: Sending up to 10 chunks per packet
    [17:10:11] [Server thread/INFO]: Max TNT Explosions: 100
    [17:10:11] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [17:10:12] [Server thread/INFO]: -------- World Settings For [world_nether] --------
    [17:10:12] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [17:10:12] [Server thread/INFO]: Item Merge Radius: 2.5
    [17:10:12] [Server thread/INFO]: Item Despawn Rate: 6000
    [17:10:12] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [17:10:12] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [17:10:12] [Server thread/INFO]: Clear tick list: false
    [17:10:12] [Server thread/INFO]: Experience Merge Radius: 3.0
    [17:10:12] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [17:10:12] [Server thread/INFO]: Max Entity Collisions: 8
    [17:10:12] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [17:10:12] [Server thread/INFO]: View Distance: 10
    [17:10:12] [Server thread/INFO]: Mob Spawn Range: 4
    [17:10:12] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [17:10:12] [Server thread/INFO]: Anti X-Ray: true
    [17:10:12] [Server thread/INFO]:     Engine Mode: 1
    [17:10:12] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [17:10:12] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [17:10:12] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Cane Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Melon Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: NetherWart Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [17:10:12] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [17:10:12] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [17:10:12] [Server thread/INFO]: Random Lighting Updates: false
    [17:10:12] [Server thread/INFO]: Structure Info Saving: true
    [17:10:12] [Server thread/INFO]: Sending up to 10 chunks per packet
    [17:10:12] [Server thread/INFO]: Max TNT Explosions: 100
    [17:10:12] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [17:10:12] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
    [17:10:12] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
    [17:10:12] [Server thread/INFO]: Item Merge Radius: 2.5
    [17:10:12] [Server thread/INFO]: Item Despawn Rate: 6000
    [17:10:12] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    [17:10:12] [Server thread/INFO]: Chunks to Grow per Tick: 650
    [17:10:12] [Server thread/INFO]: Clear tick list: false
    [17:10:12] [Server thread/INFO]: Experience Merge Radius: 3.0
    [17:10:12] [Server thread/INFO]: Arrow Despawn Rate: 1200
    [17:10:12] [Server thread/INFO]: Max Entity Collisions: 8
    [17:10:12] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    [17:10:12] [Server thread/INFO]: View Distance: 10
    [17:10:12] [Server thread/INFO]: Mob Spawn Range: 4
    [17:10:12] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
    [17:10:12] [Server thread/INFO]: Anti X-Ray: true
    [17:10:12] [Server thread/INFO]:     Engine Mode: 1
    [17:10:12] [Server thread/INFO]:     Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
    [17:10:12] [Server thread/INFO]:     Replace Blocks: [1, 5]
    [17:10:12] [Server thread/INFO]: Cactus Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Cane Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Melon Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Mushroom Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Sapling Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Wheat Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: NetherWart Growth Modifier: 100%
    [17:10:12] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    [17:10:12] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    [17:10:12] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    [17:10:12] [Server thread/INFO]: Random Lighting Updates: false
    [17:10:12] [Server thread/INFO]: Structure Info Saving: true
    [17:10:12] [Server thread/INFO]: Sending up to 10 chunks per packet
    [17:10:12] [Server thread/INFO]: Max TNT Explosions: 100
    [17:10:12] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
    [17:10:12] [Server thread/INFO]: Preparing start region for level 0 (Seed: 3326153255365562884)
    [17:10:13] [Server thread/INFO]: Preparing spawn area: 28%
    [17:10:14] [Server thread/INFO]: Preparing spawn area: 85%
    [17:10:14] [Server thread/INFO]: Preparing start region for level 1 (Seed: 3326153255365562884)
    [17:10:15] [Server thread/INFO]: Preparing spawn area: 18%
    [17:10:16] [Server thread/INFO]: Preparing spawn area: 45%
    [17:10:17] [Server thread/INFO]: Preparing spawn area: 78%
    [17:10:17] [Server thread/INFO]: Preparing start region for level 2 (Seed: 3326153255365562884)
    [17:10:18] [Server thread/INFO]: [RetroListener] Enabling RetroListener v1.3
    [17:10:18] [Server thread/ERROR]: Error occurred while enabling RetroListener v1.3 (Is it up to date?)
    java.lang.IllegalArgumentException: Plugin already initialized!
        at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:122) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:66) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at me.pondamo.retrolistener.Main.<init>(Main.java:16) ~[?:?]
        at me.pondamo.retrolistener.GUI.<init>(GUI.java:22) ~[?:?]
        at me.pondamo.retrolistener.Main.onEnable(Main.java:22) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:356) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:316) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:418) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:382) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:337) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:256) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) [spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
    Caused by: java.lang.IllegalStateException: Initial initialization
        at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:125) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:66) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at me.pondamo.retrolistener.Main.<init>(Main.java:16) ~[?:?]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_45]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_45]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_45]
        at java.lang.Class.newInstance(Unknown Source) ~[?:1.8.0_45]
        at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:76) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:291) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) ~[spigot.jar:git-Spigot-3ccbe77-a6a57a9]
        ... 2 more
     
  16. sothatsit

    Patron

    Have you re-compiled it again?
     
  17. Yes