java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • /playerinfo NullPointerException
    via GitHub by WouterG
    ,
    • java.lang.NullPointerException at com.spleefleague.core.player.GeneralPlayer.getInventory(GeneralPlayer.java:662) at com.spleefleague.core.cosmetics.items.HeadHatItem.onSelecting(HeadHatItem.java:35) at com.spleefleague.core.cosmetics.Collectibles.lambda$apply$1(Collectibles.java:47) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at com.spleefleague.core.cosmetics.Collectibles.apply(Collectibles.java:47) at com.spleefleague.core.player.SLPlayer.done(SLPlayer.java:287) at com.spleefleague.core.io.EntityBuilder.deserialize(EntityBuilder.java:113) at com.spleefleague.core.io.EntityBuilder.load(EntityBuilder.java:94) at com.spleefleague.core.player.PlayerManager.load(PlayerManager.java:107) at com.spleefleague.core.player.PlayerManager.loadFake(PlayerManager.java:95) at com.spleefleague.core.command.commands.playerinfo.lambda$run$0(playerinfo.java:54) at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
    No Bugmate found.