Buggy code:
writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoGermanTest ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>German<seq2seq4repair_space>Test<seq2seq4repair_space>Value" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoExamScore ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Exam<seq2seq4repair_space>Score" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoExamComments ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Exam<seq2seq4repair_space>Comments" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoGameScore ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Game<seq2seq4repair_space>Score" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoGameComments ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Game<seq2seq4repair_space>Comments" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoInterviewScore ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Interview<seq2seq4repair_space>Score" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoInterviewComments ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Interview<seq2seq4repair_space>Comments" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoFurtherConsiderations ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Further<seq2seq4repair_space>Considerations" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoDecision ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Decision" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoContractSent ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Contract<seq2seq4repair_space>Sent" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoResponse ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>Response" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( ! ( validateEligoGDEComments2 ( row , dto ) ) ) { returnVal = false ; String message = "Invalid<seq2seq4repair_space>GDE<seq2seq4repair_space>Comments2" ; Row errorRow = errorSheet . createRow ( lastErrorRow ) ; writeToErrorExcel ( errorRow , rowNumber , message ) ; lastErrorRow += 1 ; } if ( returnVal ) { RegistrationEligoTestDetails registrationEligoTestDetails = testDetailsService . fetchByUserId ( dto . getUserid ( ) ) ; if ( ! ( GDEStringUtils . isNullOrEmpty ( dto . getInvitedACDate ( ) ) ) ) { registrationEligoTestDetails . setInvitatedACDate ( DateUtil . getDate ( dto . getInvitedACDate ( ) , DISPLAY_FORMAT ) ) ; } if ( ! ( GDEStringUtils . isNullOrEmpty ( dto . getAcDate ( ) ) ) ) { registrationEligoTestDetails . setAcDate ( DateUtil . getDate ( dto . getAcDate ( ) , DISPLAY_FORMAT ) ) ; } if ( ! ( GDEStringUtils . isNullOrEmpty ( dto . getStatus ( ) ) ) ) { registrationEligoTestDetails . setStatus ( EligoStatusEnum . valueOf ( dto . getStatus ( ) ) ) ; } <START_BUG> registrationEligoTestDetails . setGdeComments ( dto . getGameComments ( ) ) ; <END_BUG> testDetailsService . saveOrrMerge ( registrationEligoTestDetails ) ; } return lastErrorRow ; } private void writeToErrorExcel ( final Row errorRow , final Integer rowNumber , final String message ) { } private boolean validateEligoGDEComments2 ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoResponse ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoContractSent ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoDecision ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoFurtherConsiderations ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoInterviewComments ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoInterviewScore ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoGameComments ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoGameScore ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoExamComments ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoExamScore ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoGermanTest ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoGDEComments ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoStatus ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoACDate ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoInvitedToAC ( final Row row , final RegistrationEligoDto dto ) { } private boolean validateEligoUserId ( final Row row , final RegistrationEligoDto dto ) { } private boolean checkColumnNames ( final Row row ) { } private void addDataValidationsInExcel ( final HSSFSheet sheet , final int noOFDataRows ) { } }

Fix:
registrationEligoTestDetails . setGdeComments ( dto . getGdeComments ( ) ) ;