Nearly 400 students face an agonising wait after they were given places at a university in Northern Ireland, only to be later told the offers were made in error.
The University of Ulster's Faculty of Computing and Engineering blamed the gaffe on an IT glitch which saw all those who had applied for a place being told that they were accepted.
The plans of the 370 students have now been thrown into chaos as the university reviews the applications, though some said they had already turned down other opportunities.
Vice Chancellor Professor Richard Barnett said: " I deeply regret that this mistake has been made and apologise on behalf of the University of Ulster to all those affected.
"We are working to rectify the situation as quickly as possible, and when the immediate issue is resolved, we will be reviewing our procedures to ensure that a similar incident cannot occur in the future."
Professor Richard Millar, Dean of the faculty at the centre of the episode, said: "Due to a computer error, an email was mistakenly sent out informing 370 applicants to courses in the School of Engineering that they had secured a place at the university - when in reality no decision had been taken on their applications.
"The error only affects applicants to the School of Engineering at our Jordanstown campus: no other schools, faculties or campuses are affected.
"The university deeply regrets this happened and has apologised to those who received the erroneous email at this most stressful time.
"The university has contacted those applicants who received the email to advise them of our regrettable mistake, and we will also be making personal contact to offer our most sincere apologies."
The university said that the Ucas system was unaffected by the error, and advised applicants to monitor their status via Ucas until they receive a final decision. They can also contact the university admissions helpline on 02870 287028.
Northern Ireland Assembly members were critical of the mistake and said it would cause great stress to students and their families.
Sean Rogers, the SDLP's education spokesman, said: "This is a totally shambolic situation which has left many students and their families upset and uncertain.
"Not only have students had the places they were offered withdrawn but they have also missed a day of clearing to attempt to get into other courses."
He said the mistake could "have a domino effect on other students hoping to get other university places and could jeopardise the future career prospects of hundreds of young people".
Mr Rogers added: "This is a stressful enough time for teenagers and their families without these kinds of mess-ups."
Sinn Fein's Barry McElduff called on the University of Ulster to immediately clarify to individual students whether they have or have not been offered places at the campus.
"Not only has this caused immense disappointment amongst the students but also created uncertainty and confusion as to who is actually going to be offered a place at the university," he said.
"The University of Ulster needs to clarify to the students immediately at to which offer is genuine and make sure this will not be allowed to happen again."