#vulnerable code 
                             public static void executeDDL(Object test, String[] sqls) {
		Connection connection = CONNECTION_TABLE.get(test);
		try {
			Statement statement = connection.createStatement();
			for (int i = 0; i < sqls.length; i++) {
				statement.execute(sqls[i]);
			}
			connection.commit();
			statement.close();
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	} 
                            #location 4 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                             public static void executeDDL(Object test, String[] sqls) {
		try {
			executeSql(CONNECTION_TABLE.get(test), sqls);
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}