Buggy code:
public class Helper { public static final String FORMAT_WITH_DELIMITER = "((?<=§[0123456789AaBbCcDdEeFfKkLlMmNnOoRr])|(?=§[0123456789AaBbCcDdEeFfKkLlMmNnOoRr]))" ; public static final Pattern DOUBLE_QUOTES = Pattern . compile ( "\"(.*)\"" ) ; private static GameProfileRepository profileRepo ; private static HashMap < String , GameProfile > nameToProfileMap = new HashMap < > ( ) ; public static String formatColors ( String message ) { } public static void msg ( String message ) { } public static String formatText ( String format , Donation donation , Reward reward ) { } public static GameProfile getGameProfileFromName ( String name ) { if ( name == null ) { UUID uuid = EntityPlayer . func_146094_a ( new GameProfile ( null , ANONYMOUS ) ) ; return new GameProfile ( uuid , ANONYMOUS ) ; } if ( Helper . nameToProfileMap . containsKey ( name ) ) return Helper . nameToProfileMap . get ( name ) ; final GameProfile [ ] agameprofile = new GameProfile [ 1 ] ; ProfileLookupCallback profilelookupcallback = new ProfileLookupCallback ( ) { public void onProfileLookupSucceeded ( GameProfile p_onProfileLookupSucceeded_1_ ) { agameprofile [ 0 ] = p_onProfileLookupSucceeded_1_ ; } public void onProfileLookupFailed ( GameProfile p_onProfileLookupFailed_1_ , Exception p_onProfileLookupFailed_2_ ) { agameprofile [ 0 ] = null ; } } ; if ( ( Helper . profileRepo ) == null ) { <START_BUG> Helper . profileRepo = new com . mojang . authlib . yggdrasil . YggdrasilAuthenticationService ( net . minecraft . client . Minecraft . getMinecraft ( ) . getProxy ( ) , String . format ( "%s_%s" , NAME , UUID . randomUUID ( ) ) ) . createProfileRepository ( ) ; <END_BUG> } Helper . profileRepo . findProfilesByNames ( new String [ ] { name } , MINECRAFT , profilelookupcallback ) ; if ( ( agameprofile [ 0 ] ) == null ) { UUID uuid = EntityPlayer . func_146094_a ( new GameProfile ( null , name ) ) ; GameProfile gameprofile = new GameProfile ( uuid , name ) ; profilelookupcallback . onProfileLookupSucceeded ( gameprofile ) ; } Helper . nameToProfileMap . put ( agameprofile [ 0 ] . getName ( ) , agameprofile [ 0 ] ) ; return agameprofile [ 0 ] ; } public static JsonElement formatText ( JsonElement dataToFormat , Donation donation , Reward reward ) { } @ SuppressWarnings ( "ResultOfMethodCallIgnored" ) public static boolean isDouble ( String text ) { } public static void addWithEmptyLines ( ArrayList < String > list , String header ) { } public static String removeQuotes ( String s ) { } public static boolean rndSpawnPoint ( ArrayList < PointD > pointDs , Entity entity ) { } public static String readUrl ( URL url , String [ ] ... headers ) throws IOException { } @ SuppressWarnings ( "ResultOfMethodCallIgnored" ) public static boolean isInt ( String text ) { } public static double findMax ( Collection < Double > vals ) { } public static void sendChatToPlayer ( ICommandSender player , String message , EnumChatFormatting chatFormatting ) { } public static void sendChatToPlayer ( EntityPlayer player , String message ) { } public static int round ( double d ) { } public static void renderPoint ( PointI p , Tessellator tess , double r , double g , double b ) { } public static void renderPoint ( PointI p , Tessellator tess ) { } public static void renderPoint ( Tessellator tess , int x , int y , int z ) { } public static String makeTable ( Helper . TableData ... datas ) { } public static int getHeading ( EntityPlayer player ) { } public static boolean isPlayerOpped ( String username ) { } public static String MD5 ( String inputString ) { } public static void writeLongStringToByteBuf ( ByteBuf buf , String s ) { } public static String readLongStringToByteBuf ( ByteBuf buf ) { } public static String getTimeString ( int ms ) { } public static boolean checkTooBigForNetwork ( NBTTagCompound root ) { } public static boolean checkTooBigForNetwork ( JsonObject object ) { } public static final class TableData { public String header ; public ArrayList < String > strings ; private int width ; public TableData ( String header , ArrayList < String > data ) { } private void updateWidth ( ) { } } }

Fix:
Helper . profileRepo = MinecraftServer . getServer ( ) . func_152359_aw ( ) ;