Caused by: java.lang.NullPointerException at blitzmc.core.mainRanks.GrantMenu.onInventoryClick(GrantMenu.java:93) ~[?:?] code example Example: nullpointerexception java int x; x = 10;