Buggy code:
@ IgnoreJRERequirement public class UnixService extends WrapperService { private static final String [ ] RUN_LEVELS_START = new String [ ] { "2" , "3" , "5" } ; private static final String [ ] RUN_LEVELS_STOP = new String [ ] { "0" , "1" , "6" } ; private static final String RUN_SEQUENCE_START = "20" ; private static final String RUN_SEQUENCE_STOP = "80" ; private static final String RC_DIR = "//etc" ; private static final String INITD_DIR = "//etc//init.d" ; @ Override protected boolean setWorkingDirectory ( String dir ) { } @ Override public void install ( ) { String rcDir = getRunCommandDir ( ) ; String runFile = ( ( UnixService . INITD_DIR ) + "//" ) + ( config . getName ( ) ) ; if ( ! ( isPrivileged ( ) ) ) { throw new WrapperException ( Constants . RC_MUST_BE_ROOT , 0 , "Must<seq2seq4repair_space>be<seq2seq4repair_space>root<seq2seq4repair_space>to<seq2seq4repair_space>install" ) ; } System . out . println ( ( ( "Installing<seq2seq4repair_space>" + ( config . getName ( ) ) ) + "<seq2seq4repair_space>..." ) ) ; try { FileWriter writer = new FileWriter ( runFile ) ; System . out . println ( ( "name<seq2seq4repair_space>looking<seq2seq4repair_space>for<seq2seq4repair_space>==>" + ( config . getName ( ) ) ) ) ; <START_BUG> BufferedReader reader = new BufferedReader ( new InputStreamReader ( getClass ( ) . getResourceAsStream ( ( ( "//" + ( config . getName ( ) ) ) + ".initd" ) ) ) ) ; <END_BUG> String line = null ; while ( ( line = reader . readLine ( ) ) != null ) { line = line . replaceAll ( "\\$\\{wrapper.name}" , config . getName ( ) ) ; line = line . replaceAll ( "\\$\\{wrapper.displayname}" , config . getDisplayName ( ) ) ; line = line . replaceAll ( "\\$\\{wrapper.description}" , config . getDescription ( ) ) ; line = line . replaceAll ( "\\$\\{wrapper.home}" , config . getWorkingDirectory ( ) . getAbsolutePath ( ) ) ; line = line . replaceAll ( "\\$\\{wrapper.java.command}" , config . getJavaCommand ( ) ) ; line = line . replaceAll ( "\\$\\{wrapper.jarfile}" , config . getWrapperJarPath ( ) ) ; writer . write ( ( line + "\n" ) ) ; } reader . close ( ) ; writer . close ( ) ; } catch ( IOException e ) { throw new WrapperException ( Constants . RC_FAIL_INSTALL , 0 , "Failed<seq2seq4repair_space>while<seq2seq4repair_space>writing<seq2seq4repair_space>run<seq2seq4repair_space>file" , e ) ; } new File ( runFile ) . setExecutable ( true , false ) ; for ( String runLevel : UnixService . RUN_LEVELS_START ) { INSTANCE . symlink ( runFile , ( ( ( ( ( rcDir + "//rc" ) + runLevel ) + ".d//S" ) + ( UnixService . RUN_SEQUENCE_START ) ) + ( config . getName ( ) ) ) ) ; } for ( String runLevel : UnixService . RUN_LEVELS_STOP ) { INSTANCE . symlink ( runFile , ( ( ( ( ( rcDir + "//rc" ) + runLevel ) + ".d//K" ) + ( UnixService . RUN_SEQUENCE_STOP ) ) + ( config . getName ( ) ) ) ) ; } System . out . println ( "Done" ) ; } @ Override public void uninstall ( ) { } protected String getRunCommandDir ( ) { } @ Override public boolean isPrivileged ( ) { } @ Override public boolean isInstalled ( ) { } @ Override protected boolean isPidRunning ( int pid ) { } @ Override protected int getCurrentPid ( ) { } @ Override protected int getProcessPid ( Process process ) { } @ Override protected void killProcess ( int pid , boolean isTerminate ) { } }

Fix:
BufferedReader reader = new BufferedReader ( new InputStreamReader ( getClass ( ) . getResourceAsStream ( ( ( "//" + ( config . getName ( ) . toLowerCase ( ) ) ) + ".initd" ) ) ) ) ;