org.bukkit.event.EventException

GitHub | HollishKid | 2 weeks ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.StringIndexOutOfBoundsException

    String index out of range: -1

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(String.java:1967)[?:1.8.0_72]
    1 frame
  3. pl.betoncraft.betonquest
    Backpack.onClick
    1. pl.betoncraft.betonquest.item.QuestItem.itemToString(QuestItem.java:579)[?:?]
    2. pl.betoncraft.betonquest.database.PlayerData.addItem(PlayerData.java:449)[?:?]
    3. pl.betoncraft.betonquest.Backpack$Page.click(Backpack.java:345)[?:?]
    4. pl.betoncraft.betonquest.Backpack.onClick(Backpack.java:139)[?:?]
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor628.invoke(Unknown Source)[?:?]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_72]
    3. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_72]
    3 frames
  5. Bukkit
    SimplePluginManager.callEvent
    1. org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    2. org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    3. org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    4. org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    4 frames
  6. net.minecraft.server
    PlayerConnectionUtils$1.run
    1. net.minecraft.server.v1_9_R2.PlayerConnection.a(PlayerConnection.java:1851)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    2. net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:33)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    3. net.minecraft.server.v1_9_R2.PacketPlayInWindowClick.a(SourceFile:10)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    4. net.minecraft.server.v1_9_R2.PlayerConnectionUtils$1.run(SourceFile:13)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    4 frames
  7. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_72]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_72]
    2 frames
  8. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_9_R2.SystemUtils.a(SourceFile:45)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    2. net.minecraft.server.v1_9_R2.MinecraftServer.D(MinecraftServer.java:726)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    3. net.minecraft.server.v1_9_R2.DedicatedServer.D(DedicatedServer.java:399)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    4. net.minecraft.server.v1_9_R2.MinecraftServer.C(MinecraftServer.java:665)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    5. net.minecraft.server.v1_9_R2.MinecraftServer.run(MinecraftServer.java:564)[spigot-1.9.4.jar:git-Spigot-c6871e2-0cd0397]
    5 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_72]
    1 frame