Buggy code:
public class CTPClient extends JFrame implements ActionListener , ComponentListener { static final String title = "CTP<seq2seq4repair_space>Client" ; static final Color bgColor = new Color ( 13031673 ) ; JScrollPane sp ; DirectoryPanel dp ; StatusPane status ; DialogPanel dialog = null ; volatile boolean sending = false ; CTPClient . InputText httpURLField = null ; CTPClient . FieldButton browseButton = null ; CTPClient . FieldButton scpButton = null ; CTPClient . FieldButton dialogButton = null ; CTPClient . FieldButton helpButton = null ; CTPClient . FieldButton startButton = null ; CTPClient . FieldButton showMemoryButton = null ; CTPClient . FieldButton showLogButton = null ; CTPClient . FieldButton instructionsButton = null ; int instructionsWidth = 425 ; AttachedFrame instructionsFrame = null ; JFileChooser chooser = null ; File dir = null ; boolean dfEnabled ; boolean dpaEnabled ; boolean showURL = true ; boolean showDialogButton = true ; boolean showBrowseButton = true ; boolean zip = false ; boolean setBurnedInAnnotation = false ; Properties config ; DAScript daScript ; File daScriptFile ; String defaultKeyType = null ; LookupTable lookupTable ; File lookupTableFile ; String dfScript ; PixelScript dpaPixelScript ; IDTable idTable = new IDTable ( ) ; int scpPort ; File scpDirectory = null ; SimpleDicomStorageSCP scp = null ; String ipAddressString = "" ; String browsePrompt = "Select<seq2seq4repair_space>a<seq2seq4repair_space>directory<seq2seq4repair_space>containing<seq2seq4repair_space>data<seq2seq4repair_space>to<seq2seq4repair_space>transmit." ; String helpURL = null ; File exportDirectory = null ; boolean renameFiles = false ; StudyList studyList = null ; String dicomURL = null ; public static void main ( String [ ] args ) { } public CTPClient ( String [ ] args ) { } public void actionPerformed ( ActionEvent event ) { } private void setWaitCursor ( boolean on ) { } private void showMemory ( ) { } private void showLog ( ) { } public void componentHidden ( ComponentEvent e ) { } public void componentMoved ( ComponentEvent e ) { } public void componentResized ( ComponentEvent e ) { } public void componentShown ( ComponentEvent e ) { } private void setInstructionsPosition ( ) { } public String getInstructions ( ) { } private boolean displayDialog ( ) { } public void transmissionComplete ( ) { } public String getHttpURL ( ) { } public String getDicomURL ( ) { } public File getExportDirectory ( ) { } public boolean getRenameFiles ( ) { } public DirectoryPanel getDirectoryPanel ( ) { } public StudyList getStudyList ( ) { } public Properties getDAScriptProps ( ) { } public Properties getDALUTProps ( ) { } public IDTable getIDTable ( ) { } public String getDFScript ( ) { } public PixelScript getDPAPixelScript ( ) { } public boolean getDFEnabled ( ) { } public boolean getDPAEnabled ( ) { } public boolean getSetBurnedInAnnotation ( ) { } public boolean getZip ( ) { } public boolean getAcceptNonImageObjects ( ) { } private Properties getConfiguration ( String [ ] args ) { } private void loadProperties ( Properties props , File file ) { } private DialogPanel getDialogPanel ( ) { } private void getDAScript ( ) { } private void getLookupTable ( ) { } private String getDFScriptObject ( ) { String filterScript = null ; if ( config . getProperty ( "dfEnabled" , "no" ) . equals ( "yes" ) ) { <START_BUG> String dfName = config . getProperty ( "dfName" , "DF.script" ) ; <END_BUG> File dfFile = getTextFile ( dfName , "//DF.script" ) ; if ( dfFile != null ) filterScript = FileUtil . getText ( dfFile ) ; else Log . getInstance ( ) . append ( "Unable<seq2seq4repair_space>to<seq2seq4repair_space>obtain<seq2seq4repair_space>the<seq2seq4repair_space>DicomFilter<seq2seq4repair_space>script\n" ) ; } return filterScript ; } private PixelScript getDPAPixelScriptObject ( ) { } private void getKeystore ( ) { } private File getTextFile ( String name , String resource ) { } private File getDirectory ( ) { } class WindowCloser extends WindowAdapter { private Component parent ; public WindowCloser ( JFrame parent ) { } public void windowClosing ( WindowEvent evt ) { } } private void centerFrame ( ) { } class TitleLabel extends JLabel { public TitleLabel ( String s ) { } } class InputText extends JTextField { public InputText ( String s ) { } } class FieldLabel extends JLabel { public FieldLabel ( String s ) { } } class FieldValue extends JLabel { public FieldValue ( String s ) { } } class FieldButton extends JButton { public FieldButton ( String s ) { } } No newline ; at end ; of file ; }

Fix:
String dfName = config . getProperty ( "dfScriptName" , "DF.script" ) ;