Buggy code:
public class Variables { private static final Logger log = Logger . getLogger ( Variables . class ) ; private static boolean initialized = false ; public static String emptyName = "" ; public static String databaseURL ; public static String databaseUser ; public static String databasePassword ; public static final String configurationEnabled = "true" ; public static final int invalidIntValue = - 1 ; public static final String testProperties = "testProperties" ; public static final String loggingProperties = "utilities.logging" ; public static final String logFile = "utilities.status" ; private static Properties properties = new Properties ( ) ; private static String _errorMessage = "" ; public static boolean isConfigurationTrue ( String functionalityName ) { } public static String get ( String key ) { } public static void init ( ) { } public static void init ( String dspace_cfg_path ) { if ( Variables . initialized ) return ; try { URL url = null ; if ( null == dspace_cfg_path ) { url = Variables . class . getClassLoader ( ) . getResource ( "modules//lr.cfg" ) ; if ( url == null ) { url = Variables . class . getClassLoader ( ) . getResource ( "config//modules//lr.cfg" ) ; } } else { url = new URL ( dspace_cfg_path ) ; } if ( url == null ) { <START_BUG> Variables . log . error ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>find<seq2seq4repair_space>lr.cfg.<seq2seq4repair_space>The<seq2seq4repair_space>class<seq2seq4repair_space>loader<seq2seq4repair_space>search<seq2seq4repair_space>is<seq2seq4repair_space>from<seq2seq4repair_space>" + ( Variables . class . getClassLoader ( ) . getResource ( ".//" ) ) ) ) ; <END_BUG> System . err . println ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>find<seq2seq4repair_space>lr.cfg.<seq2seq4repair_space>The<seq2seq4repair_space>class<seq2seq4repair_space>loader<seq2seq4repair_space>search<seq2seq4repair_space>is<seq2seq4repair_space>from<seq2seq4repair_space>" + ( Variables . class . getClassLoader ( ) . getResource ( ".//" ) ) ) ) ; url = Variables . class . getClassLoader ( ) . getResource ( ( ( Variables . class . getName ( ) . replace ( '.' , '//' ) ) + ".class" ) ) ; url = new URL ( new URL ( url . getPath ( ) . split ( "utilities-" ) [ 0 ] ) , "..//..//..//..//config//modules//lr.cfg" ) ; } Variables . properties . load ( new FileReader ( url . getPath ( ) ) ) ; Variables . databaseURL = Variables . get ( "lr.utilities.db.url" ) ; Variables . databaseUser = Variables . get ( "lr.utilities.db.username" ) ; Variables . databasePassword = Variables . get ( "lr.utilities.db.password" ) ; Variables . initialized = true ; } catch ( Exception e ) { Variables . log . error ( e ) ; } } public static void setErrorMessage ( String message ) { } public static String getErrorMessage ( ) { } }

Fix:
Variables . log . debug ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>find<seq2seq4repair_space>lr.cfg.\nUsing<seq2seq4repair_space>nasty<seq2seq4repair_space>trick.\nThe<seq2seq4repair_space>class<seq2seq4repair_space>loader<seq2seq4repair_space>search<seq2seq4repair_space>was<seq2seq4repair_space>from<seq2seq4repair_space>" + ( Variables . class . getClassLoader ( ) . getResource ( ".//" ) ) ) ) ;