Buggy code:
public static ConcurrentHashMap < String , ConcurrentHashMap < Block , GeneralMethods . BlockCacheElement > > blockProtectionCache = new ConcurrentHashMap < String , ConcurrentHashMap < Block , GeneralMethods . BlockCacheElement > > ( ) ; public static Integer [ ] nonOpaque = new Integer [ ] { 0 , 6 , 8 , 9 , 10 , 11 , 27 , 28 , 30 , 31 , 32 , 37 , 38 , 39 , 40 , 50 , 51 , 55 , 59 , 66 , 68 , 69 , 70 , 72 , 75 , 76 , 77 , 78 , 83 , 90 , 93 , 94 , 104 , 105 , 106 , 111 , 115 , 119 , 127 , 131 , 132 , 175 } ; public static Material [ ] interactable = new Material [ ] { Material . ACACIA_DOOR , Material . ACACIA_FENCE_GATE , Material . ANVIL , Material . ARMOR_STAND , Material . BEACON , Material . BED , Material . BED_BLOCK , Material . BIRCH_DOOR , Material . BIRCH_FENCE_GATE , Material . BOAT , Material . BREWING_STAND , Material . BURNING_FURNACE , Material . CAKE_BLOCK , Material . CHEST , Material . COMMAND , Material . DARK_OAK_DOOR , Material . DARK_OAK_FENCE_GATE , Material . DISPENSER , Material . DRAGON_EGG , Material . DROPPER , Material . ENCHANTMENT_TABLE , Material . ENDER_CHEST , Material . ENDER_PORTAL_FRAME , Material . FENCE_GATE , Material . FURNACE , Material . HOPPER , Material . HOPPER_MINECART , Material . COMMAND_MINECART , Material . ITEM_FRAME , Material . JUKEBOX , Material . JUNGLE_DOOR , Material . JUNGLE_FENCE_GATE , Material . LEVER , Material . MINECART , Material . NOTE_BLOCK , Material . PAINTING , Material . SPRUCE_DOOR , Material . SPRUCE_FENCE_GATE , Material . STONE_BUTTON , Material . TRAPPED_CHEST , Material . TRAP_DOOR , Material . WOOD_BUTTON , Material . WOOD_DOOR , Material . WORKBENCH } ; public static List < UUID > toggledOut = new ArrayList < UUID > ( ) ; public GeneralMethods ( ProjectKorra plugin ) { } public static boolean abilityExists ( String string ) { } public static void bindAbility ( Player player , String ability ) { } public static void bindAbility ( Player player , String ability , int slot ) { } public static boolean blockAbilities ( Player player , List < String > abilitiesToBlock , Location loc , double radius ) { } public static void breakBlock ( Block block ) { } public static boolean canBend ( String player , String ability ) { } public static boolean canBendPassive ( String player , Element element ) { } public static boolean canBind ( String player , String ability ) { } public static boolean canView ( Player player , String ability ) { } public static boolean comboExists ( String string ) { } public static void createBendingPlayer ( final UUID uuid , final String player ) { } private static void createBendingPlayerAsynchronously ( final UUID uuid , final String player ) { } public static void damageEntity ( Player player , Entity entity , double damage , String ability ) { } public static void damageEntity ( Player player , Entity entity , double damage , Element element , String ability ) { } public static void damageEntity ( Player player , Entity entity , double damage , SubElement sub , String ability ) { } public static void damageEntity ( Player player , Entity entity , double damage , Element element , SubElement sub , String ability ) { } public static void deserializeFile ( ) { } public static void displayColoredParticle ( Location loc , ParticleEffect type , String hexVal , float xOffset , float yOffset , float zOffset ) { } public static void displayColoredParticle ( Location loc , String hexVal ) { } public static void displayColoredParticle ( Location loc , String hexVal , float xOffset , float yOffset , float zOffset ) { } public static void displayParticleVector ( Location loc , ParticleEffect type , float xTrans , float yTrans , float zTrans ) { } public static void dropItems ( Block block , Collection < ItemStack > items ) { } public static String getAbility ( String string ) { } public static ChatColor getAbilityColor ( String ability ) { } public static Element getAbilityElement ( String ability ) { } public static SubElement getAbilitySubElement ( String ability ) { } public static ChatColor getAvatarColor ( ) { } public static BendingPlayer getBendingPlayer ( String player ) { <START_BUG> OfflinePlayer oPlayer = Bukkit . getPlayer ( player ) ; <END_BUG> if ( player == null ) { oPlayer = Bukkit . getOfflinePlayer ( oPlayer . getUniqueId ( ) ) ; } return BendingPlayer . getPlayers ( ) . get ( oPlayer . getUniqueId ( ) ) ; } public static List < Block > getBlocksAlongLine ( Location ploc , Location tloc , World w ) { } public static List < Block > getBlocksAroundPoint ( Location location , double radius ) { } public static String getBoundAbility ( Player player ) { } public static BlockFace getCardinalDirection ( Vector vector ) { } public static List < Location > getCircle ( Location loc , int radius , int height , boolean hollow , boolean sphere , int plusY ) { } public static ChatColor getComboColor ( String combo ) { } public static String getCurrentDate ( ) { } public static Vector getDirection ( Location location , Location destination ) { } public static double getDistanceFromLine ( Vector line , Location pointonline , Location point ) { } public static Collection < ItemStack > getDrops ( Block block , Material type , byte data , ItemStack breakitem ) { } public static List < Entity > getEntitiesAroundPoint ( Location location , double radius ) { } public static long getGlobalCooldown ( ) { } @ SuppressWarnings ( "incomplete-switch" ) public static int getIntCardinalDirection ( Vector vector ) { }

Fix:
OfflinePlayer oPlayer = Bukkit . getOfflinePlayer ( player ) ;