Solved Plugin Wont Load!

Discussion in 'Plugin Help/Development/Requests' started by JigokuSaru, Apr 17, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    JigokuSaru

    Ok like i said, i put my plugin in the folder blah blah blah. Then my other plugin i made works fine and loads, but then the other plugin starts and i get this:
    Code:
    [14:22:32 ERROR]: Could not load 'plugins\Menu.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
      at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:133) ~[craftbukkit.jar:git-Bukkit-1a1bc08]
      at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:328) ~[craftbukkit.jar:git-Bukkit-1a1bc08]
      at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:251) [craftbukkit.jar:git-Bukkit-1a1bc08]
      at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.ja
    va:288) [craftbukkit.jar:git-Bukkit-1a1bc08]
      at org.bukkit.craftbukkit.v1_8_R2.CraftServer.<init>(CraftServer.java:25
    0) [craftbukkit.jar:git-Bukkit-1a1bc08]
      at net.minecraft.server.v1_8_R2.PlayerList.<init>(PlayerList.java:69) [c
    raftbukkit.jar:git-Bukkit-1a1bc08]
      at net.minecraft.server.v1_8_R2.DedicatedPlayerList.<init>(SourceFile:14
    ) [craftbukkit.jar:git-Bukkit-1a1bc08]
      at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.jav
    a:180) [craftbukkit.jar:git-Bukkit-1a1bc08]
      at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
    :501) [craftbukkit.jar:git-Bukkit-1a1bc08]
      at java.lang.Thread.run(Unknown Source) [?:1.8.0_40]
    Caused by: java.lang.ExceptionInInitializerError
      at java.lang.Class.forName0(Native Method) ~[?:1.8.0_40]
      at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_40]
      at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
    a:40) ~[craftbukkit.jar:git-Bukkit-1a1bc08]
      at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:129) ~[craftbukkit.jar:git-Bukkit-1a1bc08]
      ... 9 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 9
      at org.bukkit.craftbukkit.v1_8_R2.inventory.CraftInventoryCustom$Minecra
    ftInventory.setItem(CraftInventoryCustom.java:105) ~[craftbukkit.jar:git-Bukkit-
    1a1bc08]
      at org.bukkit.craftbukkit.v1_8_R2.inventory.CraftInventory.setItem(Craft
    Inventory.java:79) ~[craftbukkit.jar:git-Bukkit-1a1bc08]
      at menuTest.Main.<clinit>(Main.java:50) ~[?:?]
      at java.lang.Class.forName0(Native Method) ~[?:1.8.0_40]
      at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_40]
      at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.jav
    a:40) ~[craftbukkit.jar:git-Bukkit-1a1bc08]
      at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:129) ~[craftbukkit.jar:git-Bukkit-1a1bc08]
      ... 9 more
    Anyone think thay can help please do.
     
  2. Offline

    nverdier

    @JigokuSaru
     
  3. Offline

    Koobaczech

    Assuming you are doing something with inventory, it counts 0-8 so 9 is out of bounds. 0 is position 1, and 8 would be position 9. Welcome to computers!
     
  4.  
  5. Offline

    Zombie_Striker

    Code:
    Caused by: java.lang.ExceptionInInitializerError
    ...
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 9
    Mind showing us your Main.class, specifically, line 50
     
  6. Offline

    JigokuSaru

    Oh I typoed
     
  7. Offline

    Forge_User_45064837 Retired Staff

    Moved to Bukkit Alternates.
     
Thread Status:
Not open for further replies.

Share This Page