Buggy code:
public class BfCoordWorkHelper { private String _coordWorkMgr ; private BatfishLogger _logger ; private Settings _settings ; public BfCoordWorkHelper ( String workMgr , BatfishLogger logger , Settings settings ) { } private void addFileMultiPart ( MultiPart multiPart , String key , String filename ) { } private void addTextMultiPart ( MultiPart multiPart , String key , String value ) { } public boolean delContainer ( String containerName ) { } public boolean delEnvironment ( String containerName , String testrigName , String envName ) { } public boolean delQuestion ( String containerName , String testrigName , String questionName ) { } public boolean delTestrig ( String containerName , String testrigName ) { } private ClientBuilder getClientBuilder ( ) throws Exception { } public String getObject ( String containerName , String testrigName , String objectName ) { } private WebTarget getTarget ( Client client , String resource ) { } public WorkItem getWorkItemAnswerDiffQuestion ( String questionName , String containerName , String testrigName , String envName , String diffEnvName ) { } public WorkItem getWorkItemAnswerQuestion ( String questionName , String containerName , String testrigName , String envName , String diffEnvName ) { } public WorkItem getWorkItemGenerateDataPlane ( String containerName , String testrigName , String envName ) { } public WorkItem getWorkItemGenerateDiffDataPlane ( String containerName , String testrigName , String envName , String diffEnvName ) { } public WorkItem getWorkItemGenerateFacts ( String containerName , String testrigName , String envName ) { } public WorkItem getWorkItemGetFlowTraces ( String containerName , String testrigName , String envName , String questionName ) { } public WorkItem getWorkItemParse ( String containerName , String testrigName ) { } public WorkItem getWorkItemPostFlows ( String containerName , String testrigName , String envName , String questionName ) { } public WorkStatusCode getWorkStatus ( UUID parseWorkUUID ) { } public String initContainer ( String containerPrefix ) { } public boolean isReachabile ( ) throws Exception { } public String [ ] listContainers ( ) { } public String [ ] listEnvironments ( String containerName , String testrigName ) { } public String [ ] listQuestions ( String containerName , String testrigName ) { } public Map < String , String > listTestrigs ( String containerName ) { } public JSONObject postData ( WebTarget webTarget , MultiPart multiPart ) throws Exception { } public boolean queueWork ( WorkItem wItem ) { } public boolean uploadCustomObject ( String containerName , String testrigName , String objName , String objFileName ) { } public boolean uploadEnvironment ( String containerName , String testrigName , String envName , String zipfileName ) { } public boolean uploadQuestion ( String containerName , String testrigName , String qName , String qFileName , String paramsFilename ) { try { Client client = getClientBuilder ( ) . build ( ) ; WebTarget webTarget = getTarget ( client , SVC_UPLOAD_QUESTION_RSC ) ; MultiPart multiPart = new MultiPart ( ) ; multiPart . setMediaType ( MULTIPART_FORM_DATA_TYPE ) ; addTextMultiPart ( multiPart , SVC_API_KEY , _settings . getApiKey ( ) ) ; addTextMultiPart ( multiPart , SVC_CONTAINER_NAME_KEY , containerName ) ; addTextMultiPart ( multiPart , SVC_TESTRIG_NAME_KEY , testrigName ) ; addTextMultiPart ( multiPart , SVC_QUESTION_NAME_KEY , qName ) ; addFileMultiPart ( multiPart , SVC_FILE_KEY , qFileName ) ; addFileMultiPart ( multiPart , SVC_FILE2_KEY , paramsFilename ) ; return ( postData ( webTarget , multiPart ) ) != null ; } catch ( Exception e ) { if ( e . getMessage ( ) . contains ( "FileNotFoundException" ) ) { <START_BUG> _logger . errorf ( "File<seq2seq4repair_space>not<seq2seq4repair_space>found:<seq2seq4repair_space>%s<seq2seq4repair_space>or<seq2seq4repair_space>%s\n" , qFileName , paramsFilename ) ; <END_BUG> } else { _logger . errorf ( "Exception<seq2seq4repair_space>when<seq2seq4repair_space>uploading<seq2seq4repair_space>question<seq2seq4repair_space>to<seq2seq4repair_space>%s<seq2seq4repair_space>using<seq2seq4repair_space>(%s,<seq2seq4repair_space>%s,<seq2seq4repair_space>%s):<seq2seq4repair_space>%s\n" , _coordWorkMgr , testrigName , qName , qFileName , ExceptionUtils . getStackTrace ( e ) ) ; } return false ; } } public boolean uploadTestrig ( String containerName , String testrigName , String zipfileName ) { } No newline ; at end ; of file ; }

Fix:
_logger . errorf ( "File<seq2seq4repair_space>not<seq2seq4repair_space>found:<seq2seq4repair_space>%s<seq2seq4repair_space>(question<seq2seq4repair_space>file)<seq2seq4repair_space>or<seq2seq4repair_space>%s<seq2seq4repair_space>(temporary<seq2seq4repair_space>params<seq2seq4repair_space>file)<seq2seq4repair_space>\n" , qFileName , paramsFilename ) ;