NullPointerException for InventoryCloseEvent