#fixed code
                                public ReturnValues getExecutionReturnValues(){
//        if(StringUtils.isEmpty(result)){
//            throw new RuntimeException("Result of executing the test " + testCaseName + " cannot be empty");
//        }
        return new ReturnValues(outputs, result);
    }
#vulnerable code 
                                public ReturnValues getExecutionReturnValues(){
        if(StringUtils.isEmpty(result)){
            throw new RuntimeException("Result of executing the test " + testCaseName + " cannot be empty");
        }
        if (outputs == null){
            outputs = new HashMap<>();
        }
        return new ReturnValues(outputs, result);
    } 
                            #location 6 
                            #vulnerability type THREAD_SAFETY_VIOLATION