question: public static void validateInputParameters ( ImfUtilityInputParameters inputParameters ) throws ArgumentValidationException { File impDirectory = inputParameters . getImpDirectoryFile ( ) ; if ( impDirectory == null ) { throw new ArgumentValidationException ( "IMP directory must be specified either as a command line argument or in config.xml" ) ; } if ( ! impDirectory . isDirectory ( ) ) { throw new ArgumentValidationException ( String . format ( "IMP directory '%s' must be an existing folder" , impDirectory . getAbsolutePath ( ) ) ) ; } File cplFile = inputParameters . getCplFile ( ) ; if ( cplFile == null ) { throw new ArgumentValidationException ( "CPL file must be specified either as a command line argument or in config.xml" ) ; } if ( ! cplFile . isFile ( ) ) { throw new ArgumentValidationException ( String . format ( "CPL file '%s' must be an existing file" , cplFile . getAbsolutePath ( ) ) ) ; } File workingDir = inputParameters . getWorkingDirFile ( ) ; if ( workingDir == null ) { throw new ArgumentValidationException ( "Working directory must be specified either as a command line argument or in config.xml" ) ; } }
target:  Checks whether all input parameters needed for conversion are specified (such as CPL, IMP) are specified. These parameters can be set either via command line arguments or in config.xml. So, the method must be called after config.xml is processed.