java.lang.NullPointerException

GitHub | kamcio96 | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exceptions

    GitHub | 3 months ago | kamcio96
    java.lang.NullPointerException
  2. 0

    Bug with new items.

    GitHub | 5 months ago | TheIntelloBox
    java.lang.RuntimeException: Unable to override the old entity RegistryMaterials
  3. 0

    Plugin Issue

    GitHub | 4 months ago | McBBot
    org.bukkit.command.CommandException: Unhandled exception executing command 'bw' in plugin BedwarsRel v1.3.4
  4. 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.NullPointerException

      No message provided

      at io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.toItemStack()
    2. io.github.bedwarsrel
      PlayerListener.onInventoryClick
      1. io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.toItemStack(NewItemShop.java:282)[Server thread/WARN]
      2. io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.openBuyInventory(NewItemShop.java:258)[Server thread/WARN]
      3. io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.handleCategoryInventoryClick(NewItemShop.java:234)[Server thread/WARN]
      4. io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.handleInventoryClick(NewItemShop.java:168)[Server thread/WARN]
      5. io.github.bedwarsrel.BedwarsRel.Listener.PlayerListener.onIngameInventoryClick(PlayerListener.java:463)[Server thread/WARN]
      6. io.github.bedwarsrel.BedwarsRel.Listener.PlayerListener.onInventoryClick(PlayerListener.java:377)[Server thread/WARN]
      6 frames
    3. com.destroystokyo.paper
      GeneratedEventExecutor31.execute
      1. com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)[Server thread/WARN]
      1 frame
    4. Bukkit
      EventExecutor$1.execute
      1. org.bukkit.plugin.EventExecutor$1.execute(EventExecutor.java:44)[Server thread/WARN]
      1 frame
    5. co.aikar.timings
      TimedEventExecutor.execute
      1. co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)[Server thread/WARN]
      1 frame
    6. Bukkit
      SimplePluginManager.callEvent
      1. org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)[Server thread/WARN]
      2. org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)[Server thread/WARN]
      3. org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)[Server thread/WARN]
      3 frames
    7. net.minecraft.server
      PlayerConnectionUtils$1.run
      1. net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1909)[Server thread/WARN]
      2. net.minecraft.server.v1_10_R1.PacketPlayInWindowClick.a(SourceFile:33)[Server thread/WARN]
      3. net.minecraft.server.v1_10_R1.PacketPlayInWindowClick.a(SourceFile:10)[Server thread/WARN]
      4. net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)[Server thread/WARN]
      4 frames
    8. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[Server thread/WARN]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[Server thread/WARN]
      2 frames
    9. net.minecraft.server
      MinecraftServer.run
      1. net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)[Server thread/WARN]
      2. net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:808)[Server thread/WARN]
      3. net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404)[Server thread/WARN]
      4. net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:740)[Server thread/WARN]
      5. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:639)[Server thread/WARN]
      5 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame