java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kamcio96
, 10 months ago
This exception has no message.
java.lang.NullPointerException:
at io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.toItemStack(NewItemShop.java:282)
at io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.openBuyInventory(NewItemShop.java:258)
at io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.handleCategoryInventoryClick(NewItemShop.java:234)
at io.github.bedwarsrel.BedwarsRel.Shop.NewItemShop.handleInventoryClick(NewItemShop.java:168)
at io.github.bedwarsrel.BedwarsRel.Listener.PlayerListener.onIngameInventoryClick(PlayerListener.java:463)
at io.github.bedwarsrel.BedwarsRel.Listener.PlayerListener.onInventoryClick(PlayerListener.java:377)
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor31.execute(Unknown Source)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1909)
at net.minecraft.server.v1_10_R1.PacketPlayInWindowClick.a(SourceFile:33)
at net.minecraft.server.v1_10_R1.PacketPlayInWindowClick.a(SourceFile:10)
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:808)
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404)
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:740)
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:639)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.